1.How to check for the errors using TYPRUN=SCAN?What will
be the output if we give TYPRUN=SCAN?

Answer Posted / mohamed khan

eg., I have a two steps in a Job -
Step 1 runs a program and Step 2 creates an outout file.
Now assume the output file(xxx.xxx)is already present.
If I give TYPRUN=SCAN, this will result in error , file
xxx.xxx already cataloged.

By doing this I save my time since I am alerted about the
file being cataloged before the program in step 1 was run.
(Though I will get the same error when i submit the job as
well)

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the purpose of dd * statement in jcl?

721


How to submit jcl through a cobol program?

777


Explain in DD statement what is the use of DCB parameter?

745


what is the JCL statement consists of?

791


a set statement is used to define commonly used symbolic across job steps or procedures. It initializes the previous values in the symbolic names. It has to be defined before the first use of the symbolic names in the jcl. State whether true or false?

706






Explain how can a stopped job be started again?

742


What is concatenating?

717


What parameter directs the output of the job log dataset?

864


what is the use of JCL?

762


When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?

1027


I want to JCL sort for Non-COMP and COMP-3 fields SORT FIELDS=(1,5,A,6,11,A,12,11,A,19,1,A,20,1,A),FORMAT=BI,EQUALS Length of comp bytes is 11 bytes which start at 6byte and 12 byte considering 11 bytes in comp-3 is 6 bytes. Can anyone tell if the above sort work SORT FIELDS=(1,5,A,6,6,A,12,6,A,19,1,A,20,1,A),FORMAT=BI,EQUALS does not works OK

1592


which parameter is use to declare the name of dataset in dd statement?

849


Name what parameter directs the output of the job log dataset?

637


In sms datasets, what is the function of the dd mgmtclas keyword?

976


Is their any limit for data sets?

786