you have one jcl .in sort step 5 files are there.if out of 5
files if one file is uncataloged or not there then how will
you correct your jcl so that problem does not come. you
should not create this file externally.how will u overcome
it.
Answer Posted / venkat
you can override the uncataloged file with a dummy file or we can use two job steps in the jcl statement..one to create the 5th file using IEFBR14 utility and IEBGENER to copy records from a file to 5th file..........then sorting can be done.
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
how to do automated restart when a job abends?
how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?
What statement can be used to send data to another mvs jes3 node?
How to execute 2nd and 4th steps among 5 steps in jcl proc?
What is the significance of addrspc parameter in exec statement?
what is a jcl?
Mention the types of job control statements?
What are the parameter we cannot use in procedure?
What is concatenating?
how to compare two datasets without using superce because output is limited to 133 bytes
Name what parameter directs the output of the job log dataset?
Explain the job statement in jcl?
1) SORT FIELDS=(20,4,CH,D,10,3,CH,D) OUTREC FIELDS=(7:20,4,C' FUTURE ',20,2,10,3,1Z,1,9,13,7, 24,57,TRAN=LTOU,6X'FF') This example illustrates how a fixed-length input data set can be sorted and reformatted for output. The SORTIN LRECL is 80 bytes. The reformatted output records are fixed length with a record size of 103 bytes. SOLRF (the IBM-supplied default) is in effect, so unless the SORTOUT LRECL is specified or available, it will automatically be set to the reformatted record length of 103. in the above example i have some doubts that a) sort fields=(20,4,CH,D,10,3,CH,D) -what exactly it does and this fields related to output record fields or input record fields b)outrec used to refprmat the records after sorting that means could please reply me as soon as possible Thanks. Venkat
What are steplib and joblib? What for they are used?
what are JCLLIB and STEPLIB in JCL?