Answer Posted / kalpana
Using the sort card we can split the file.
//SYSIN DD *
SORT FIELDS=COPY,SKIPREC=56910,STOPAFT=25
/*
SKIPREC means how many records we need to skip and STOPAFT
means how many records we need to put in the
file.
| Is This Answer Correct ? | 5 Yes | 10 No |
Post New Answer View All Answers
State the uses of syspring, sysin, sort fields, sum fields and dummy.
What statement can be used to send data to another mvs jes3 node?
what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?
I need exexution process for JCL programs
how can the same proc be re-used and called by many jobs?
how to do automated restart when a job abends?
Explain how can return codes be tested before execution of a job step?
What is the format of comment statement?
What do you understand by jcl?
How to submit a jcl from cics?
what is use of dcb parameter in dd statement?
why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.
Is it possible to code instream data in a PROC?
WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99 VALUE 123.45. PROCEDURE DIVISION. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. compiler : IGYGR1080-S A "VALUE" clause literal was not compatible with the data category o subject data item. The "VALUE" clause was discarded. WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99. PROCEDURE DIVISION. MOVE 123.45 TO W-B. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. 2375
How can unused space allocation be returned to the system when a dataset is closed?