WORKING-STORAGE SECTION.
1 GROUP-ITEM.
05 AMOUNT-1 PIC 99V9 USAGE COMP VALUE 50.
05 AMOUNT-2 PIC 9(4)V99 USAGE COMP.
PROCEDURE DIVISION.
MOVE ZERO TO GROUP-ITEM.
ADD 50 TO AMOUNT-1.
DISPLAY AMOUNT-1.
STOP RUN.
In sms datasets, what is the function of the dd avgrec keyword?
Can a PS file be read in reverse order?If so,how
if we compile the cobol+ db2 program now ofter 5 years we need to compile again?
i have 1000 records in input file and i want to sort it and the first 200 records to be placed in output file. how to do that??
Must tape dataset definitions include vol=ser specifications?
How to pass values in jcl to cobol?
Explain about LMPUT-
how can we merge two input files from two different jobs into one output file ? Please ans any one ASAP?
What is COND=EVEN ?
what are the options in file-aid to edit vsam dataset and to compare data sets.
What is SORT ? How do we eliminate duplicate records ? How do I select some records using SORT ?
What is timing concept in mainframe?