How I sort the records in a file and copy the first 10
records to another file
Answer Posted / kk
hi,
Using dfsort
//step10 exec pgm=sort
//sirtin dd dsn=userid.qulifier.psname,disp=shr
//sortout dd dsn=userid.qulifier.psname,disp=shr
sort fields=(starting position,length,cha,asc/dsc)
stopaft=10
now u get result sortout ps.
| Is This Answer Correct ? | 23 Yes | 0 No |
Post New Answer View All Answers
which utility is used to sort a file in jcl?
What do you understand by the term job time – out and how can you overcome that?
how can the same proc be re-used and called by many jobs?
what is SOC4 error?
a dd statement has 2 types of parameters. Name them?
which utility is used a dummy utility?
What do you understand by jcl?
List the different jcl statements that are not permitted in the procedures?
hello friends ,i have exam in Hsbc,pls any on send me placement papers and technical questions on mainframes,thank u
In sms datasets, what is the function of the dd avgrec keyword?
What is timing concept in mainframe?
What is concatenating?
How do you access an uncatalogued dataset in a jcl?
What is multithreading in jcl?
What is the function of the steplib dd statement?