Yes, Moto - it's 12. Cobol has a "length of" operator you can use to find the length of any field - see below. For group items, the Editor tooltips also include the length of the item - though unfortunately not for elementary items like pic s9(12). working-storage section. 01 a pic s9(12). procedure division. display length a
↧