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.
Answers were Sorted based on User's Feedback
Answer / alokedeb@gmail.com
I agree with Haritha's answer, but the exception is say if
you want to dummy out the 3rd file. If you use "DD Dummy"
then the subsequent 4th and 5th file will not be processed.
So in the override you will have to manually remove the 3rd
file and push the 4th & 5th file above.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / 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 |
Answer / haritha
You can override the uncataloged file with a dummy file in
the jcl and run the jcl with the existing 4 files.
| Is This Answer Correct ? | 2 Yes | 2 No |
How to find out the number of records in a file using JCL
How do You skip a Step In JCL?
How do you check the syntax of a JCL without running it?
what is the restart?hopw it is invoked?
If the COND parameter is specified in both the JOB and EXEC statements, which one will take precedence? If JOB takes priority and if all the conditions evaluate to false, then will the conditions on the EXEC step be evaluated next?
is step name is compulsory in jcl ?
if we are specifing joblib as well as steplib in job then at the time of execution how the process will complete
How can you execute a COBOL program via SYSIN in JCL?
what is XSUM in some fields= none, xsum ??
What does the one advantange of using IEBUPDTE?????
If a jcl has just 1 step and the input file to this does not exist, then what will happen if we submit this job?
I have a File that has duplicate records. I need only those records that occur more than thrice.