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



you have one jcl .in sort step 5 files are there.if out of 5 files if one file is uncataloged or n..

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

you have one jcl .in sort step 5 files are there.if out of 5 files if one file is uncataloged or n..

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

you have one jcl .in sort step 5 files are there.if out of 5 files if one file is uncataloged or n..

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

Post New Answer

More JCL Interview Questions

How do you submit JCL via a Cobol program?

2 Answers   Cap Gemini,


wht r s722,s822,s122 and s222 abends pls reply fast

1 Answers   Wipro,


Differentiate between the joblib and the steplib statements?

0 Answers  


How to override a dsn that is contained in a proc called by another proc? I need to do the override in the calling jcl?

0 Answers  


What are steplib and joblib? What for they are used?

0 Answers  






which utility is used to run a cobol-db2 program?

0 Answers   IBM,


Ques: How can we code COND parameter in a JCL so that only even steps (or only odd steps) get execute??

3 Answers   HSBC,


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.

3 Answers  


What are the rules employed while naming the steps in a job?

0 Answers  


Can we call instream to catalog and catalog to instream?

0 Answers  


what is the restart?hopw it is invoked?

1 Answers  


What is difference between Return Code, user completion code, Abend code and reason Code?

2 Answers   IBM, Satyam, Wipro,


Categories