When an alphanumeric field is moved to a numeric or numeric-edited field, the item is moved as if it were in an unsigned numeric integer mode.CORRESPONDING can be used to transfer data between items of the same names belonging to different group-items by specifying the names of group-items to which they belong.Samples for understanding MOVE statement (MOVE A TO B) GIVING is used in the following cases: 1.
JCL can send maximum 100 characters to a program thru PARM.
COBOL is a high-level programming language first developed by the CODASYL Committee (Conference on Data Systems Languages) in 1960. Level# $ $ Picture clause $ Value clause $ Usage Clause $ Sync clause.
This book is written based on IBM COBOL for OS/390 V2R2.
The word COBOL is an acronym that stands for COmmon Business Oriented Language. They are ZERO/ZEROS/ZEROES, QUOTE/QUOTES, SPACE/SPACES, ALL, HIGH-VALUE/HIGH-VALUES, LOW-VALUE/LOW-VALUES. It can take a value from the set of integers between 01-49 or from one of the special level-numbers 66 77 88 Variable name can have 1-30 characters with at least one alphabet in it.
Since then, responsibility for developing new COBOL standards has been assumed by the American National Standards Institute (ANSI). Literal is a constant and it can be numeric or non-numeric. Numeric literal can hold 18 digits and non-numeric literal can hold 160 characters in it. Literal stored in a named memory location is called as variable or identifier. Figurative Constant is a COBOL reserved word representing frequently used constants. It specifies the hierarchy of data within a record.