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 / nishant singhal
SORT FIELDS=COPY
SKIPREC=06
STOPAFT=1
Is This Answer Correct ? | 8 Yes | 13 No |
Post New Answer View All Answers
How jcl work to handle various input output file operations?
How can a stopped job be started again?
a set statement is used to define commonly used symbolic across job steps or procedures. It initializes the previous values in the symbolic names. It has to be defined before the first use of the symbolic names in the jcl. State whether true or false?
What are the utility programs in jcl?
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
What are the jcl procedures?
What is the function of //cntl statement?
What is the difference between run mode and addressing mode?
how would you create a temporary dataset? And where will you use them?
Define concatenating?
I have a job called careerride and some steps in it as step1,step2. But I want to execute step2 before step1 ? How do I do that?
For what purpose steplib and joblib are used ?
Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?
why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.
what is use of dcb parameter in dd statement?