PIC
stands for Picture Clause → defines the type & size of a variable.
Example:
01 NAME PIC A(10). *> 10 characters (Alphabetic)
01 AGE PIC 9(3). *> 3-digit number
01 SALARY PIC 9(5)V99. *> 5 digits + 2 decimal places
PIC
stands for Picture Clause → defines the type & size of a variable.Example:
01 NAME PIC A(10). *> 10 characters (Alphabetic)
01 AGE PIC 9(3). *> 3-digit number
01 SALARY PIC 9(5)V99. *> 5 digits + 2 decimal places
Leave a Reply