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?
Answers were Sorted based on User's Feedback
Answer / shridhar
Disp parameter matters here.
old ,shr -- dataset not found.
new,catlg -- no error
mod -- dataset not found.
mod ,catlg --- no error.
| Is This Answer Correct ? | 6 Yes | 0 No |
A statement about PROCs is " In PROCs, Symbolic Parameters can be assigned on PROC and EXEC", BUT On which EXEC, (i) On the JCL's EXEC which is calling to PROC1. (Inside JCL, EXEC PROC1) (ii) or On the PROC's EXEC where it calls the PGM1. (Inside PROC, EXEC PGM=PGM1)
when can a job time-out occur? How to overcome that?
In a JCL if previous steps return code is greater than 0 or 4 then the next step will not execute. But the job will be successfull with the maximum return code. How can we reset this maximum return code to '0' regardless of return codes of any steps?
//S10 EXEC PGM=ICETOOL //TOOLMSG DD SYSOUT=* //DFSMSG DD SYSOUT=* //CON DD DSN=VAR.INPUT1,DISP=SHR // DD DSN=VAR.INPUT2,DISP=SHR //OUT DD DSN=VAR.OUTPUT,DISP=(NEW,CATLG,DELETE), // SPACE=(CYL,(5,5)),UNIT=SYSDA //TOOLIN DD * * Splice the needed data from the two VB files together SPLICE FROM(CON) TO(OUT) ON(5,5,CH) WITHALL - WITH(12,5) WITH(22,20) VLENMAX /*
how can u understand ps and pds from their names ?
how can the same proc be re-used and called by many jobs?
Explain about LMMLIST�list a library's members
what is the default region size if I dont specify region parametre in my job card ( I know that if I specify region=0k or 0M, then the job will occupy all he available resources at the time of job execution), but I want to know the defult value for "region" paramatre.
What statement marks the end of an in-stream or catalogued procedure?
We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?
What are the parameter we cannot use in procedure?
When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?