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 release a JOB (from the input queue) held by TYPRUN = HOLD ? and how to see the installation default time after which a JOB will be automatically released ? How to see the list of currently HELD JOBS ?
i need some shortcuts and tso commands can any on ehelp me in these ?
Can you execute a PROC from another PROC?
In JCL..for TIME Parameter was specified both JOB & STEP..which one is overrides
THERE IS ONE STEP AS BELOW: //STEPJS060 EXEC PGM=XYX, COND=((200,EQ,JS010),(0,NE,JS020.C),EVEN) COULD ANY ONE EXPLAIN HOW COND PARAMETER WORKS HERE? I AM CONFUSED BECOZ OF "EVEN".
Is their any limit for data sets?
How is a GDG base created?
what is static and dynamic call with examples?
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?
what is “Cond= even” and “Cond=only”?
Please go thru the below points and let me know how to code this. 1. Sort the input dataset for the condition : Starting position is 37,length of the field is 13 based on character and in the ascending order , starting from position 25 length of 12 ,character and in the ascending order. Use a temporary dataset to hold the sorted file. 2. Use the temporary file created in the above step as the input for the next step. The next step is to execute a program and produce an output file. Use the temporary file created in the above as work file 1 and the output of the file to be created in this step work file 2.Also, pass a parameter to the program that is to be executed in this step. The parameter should have the current date in YYYYMMDD format. For the sake of convenience, you can use the below Job Name : Sample1 Input DSN : PCABDT11.CABD.TEST.INPUT Temporary DSN : Sort1 Output DSN : PCABDT11.CABD.TEST.OUTPUT Program Name : SAMPLE Thanks in Advance for your response.
What is RESTART? How is it invoked?