How I sort the records in a file and copy the first 10
records to another file
Answer Posted / srinivasa yadav
//sysin dd *
sort fields=(starting postion,length,data-type,order)
skip rec=0
stop rec=10
/*
and also we can use file-aid tool. in file-aid
there is an option 3.3
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Can anybody tell what is tool used to generate the list of PROCS used in JCL to generate a PROCTREE
What is jcl in mainframe?
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?
when can a job time-out occur? How to overcome that?
What is the format of comment statement?
When space is allocated for an output dataset, what units can be used?
what is use of disp parameter in dd statement?
how to do automated restart when a job abends?
List the different jcl statements that are not permitted in the procedures?
What is the function of the dd avgrec keyword in sms datasets?
Explain how can a stopped job be started again?
can any one plzzzzzz tell the jcl code for creating ps using idcams
How can a fb file convert to vb file using sort program?
I need exexution process for JCL programs
Describe the various parameters utilized in the creation of a gdg?