Answer Posted / himanshu
Using SORT utility we can split the file. Sort card will be
as:
//SYSIN DD *
SORT FIELDS=COPY
OUTFILE FNAMES=(SORTOUT1,SORTOUT2,SORTOUT3),SPLIT
/*
If there are 10 records in input and these have to be split
across three files SORTOUT1, SORTOUT2 and SORTOUT3
respectively. After running the Job using this sort card,
record1 would be stored in SORTOUT1, record2 in SORTOUT2,
record3 in SORTOUT3, record4 in SORTOUT1 and so on.
| Is This Answer Correct ? | 18 Yes | 0 No |
Post New Answer View All Answers
Is acct parameter mandatory?
which utility is used to sort a file in jcl?
a dd statement has 2 types of parameters. Name them?
List the different jcl statements that are not permitted in the procedures?
Is condition checking possible in jcl? If yes, how?
How to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?
I need exexution process for JCL programs
Is there any command to check wether the ps file is in sorted order?
What is condition checking in jcl? Is this possible?
How can a fb file convert to vb file using sort program?
When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?
Explain about ISPF/TSO Commands
What statement can be used to send data to another mvs jes3 node?
Is their any set of rules for dd? Explain.
What are the jcl procedures?