How I sort the records in a file and copy the first 10
records to another file
Answer Posted / girish kumar
just write like this
sysin dd *
sort fields=copy
stop after=10
/*
//
i tryed it's working
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
what happens in conversion stage in job processing?
How does jcl act on a cobol code?
Name a few IBM utility programs, and explain its function.
Explain dfsort utility?
Is acct parameter mandatory?
Explain in DD statement what is the use of DCB parameter?
List in order the hierarchical levels of jcl?
Is it possible to left uncode disp?
Can I share my data with other jobs? How?
Where & How Do You Code Identifier In Jcl?
When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?
What parameter directs the output of the job log dataset?
How can the disposition of sysout datasets be set for an entire jobstream?
What is the significance of addrspc parameter in the exec statement?
How jcl work to handle various input output file operations?