Suppose i have a file with 10 recs and i want to skip only the
7 th record and copy the rest into another file. How do i do
it using SORT?
Answer Posted / ananth
srot fields = copy
stopaft=6
next we have to give another step by using disp=(mod,delete,delete)
skiprec=7
stopaft=4
then 7th record gone remainging records into output file.
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
i want to store 20 digits . how will u do it in cobol ?
Explain how can an in-stream dataset be terminated?
What parameter directs the output of the job log dataset?
What statement can be used to send data to another mvs jes3 node?
Explain the function of a dd statement?
What do you know about jcl?
What is the purpose of the dd keylen parameter?
What are some jcl statements that are not allowed in procedures?
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 does the jcl specify the job to os?
Define concatenating?
For what purpose steplib and joblib are used ?
what is the JCL statement consists of?
what is the resolution for sb37 error
hello friends ,i have exam in Hsbc,pls any on send me placement papers and technical questions on mainframes,thank u