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
Explain how can a stopped job be started again?
Explain the purpose of dd dummy statement?
What is the purpose of dd?
what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?
Explain how can a jobs execution priority be modified?
Explain how can the attributes of one sms dataset be copied to another dataset?
Can we use DISP=SHR in output file in JCL
How to alter the parameters for the existing gdg?
Can anybody tell what is tool used to generate the list of PROCS used in JCL to generate a PROCTREE
I need exexution process for JCL programs
For what purpose steplib and joblib are used ?
When space is allocated for an output dataset, what units can be used?
How dummy is used in jcl?
what is SOC4 error?
What is use of restart and how to use it?