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
Can I send output of job to my remote device careerride123?
What is the function of a dd statement?
in ways data can be passed to a COBOL program from JCL?
Must tape dataset definitions include vol=ser specifications?
What do you understand by the terms: joblib and steplib?
what is use of dsn parameter in dd statement?
what is use of dcb parameter in dd statement?
what happens in conversion stage in job processing?
How is a type of file defined in the jcl that executes the cobol program?
what JCL Procedures?
IIN APITUDE THEY GAVE ONLY 10 QUESTIONS.. THEY ARE SIMPLE ONE FROM NUMBER SERIES,BOATS,TIME & DISTANCE,PROFIT &LOSS,FIND OUT THE NUMBER ? 9 25 4 36 81 64 49 AND surveillance SPELLINGS E.T.C
What is the job entry system used in your project? based on what criteria the sequence of jobs are picked if priority is not mentioned in the job card?
how would you create a temporary dataset? And where will you use them?
How do you create a temporary dataset?
if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?