Can a job have only steplib and no joblib ?
Answers were Sorted based on User's Feedback
Answer / saroja kolli
Yes. We can have only steplib without a joblib.
But in such case, if the Job contains several steps then in
everystep of the job STEPLIB should be mentioned.
STEPLIB refers to the step in which it is mentioned and the
JOBLIB refers to all the steps in the job.
When STEPLIB and the JOBLIB both are mentioned then STEPLIb
overrides JOBLIB.
| Is This Answer Correct ? | 13 Yes | 0 No |
Answer / manikandan.d
yes job have oly steplib but its effective oly for
perticular step...steplib placed immediate after the exec
step statement
ex:
//step1 exec pgm=pgm1
//steplib dd dsn =ksab.manid.loadlib,disp=shr
let me know if any new answer
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / kalaimani
exactly previous answers are correct. and also if no
steplib is providied for one particular jobstep, then it
wil take from joblib. it is not mandatory to give steplib.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / deepak thamarasseri
Yes,we can code Steplib and Joblib in the same code.If we
are coding both,STEPLIB overrides the JOBLIB statement.
| Is This Answer Correct ? | 1 Yes | 0 No |
For how long a job can be executed continuously in a mainframe ?
What is the difference between BLKSIZE and LRECL?
Explain about LMGET�read a logical record from a data set
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?
I have one GDG. Everyday One new version is being created.Now I want to split this created version in different files each having 1000 records. Here Problem is I don't know How many records will be there in new version of GDG? that's why I don't know How many Out files we need to use . Interesting??????????????
I have 10 steps, I want to run STEP1 TO STEP4 then I should not run STEP5 and STEP6. Aganin I want to execute from STEP7 to STEP10. ONLY using CONDITION CODES how can we execute this process? 1. Where we can set cond codes for STEP5 and STEP6? 2. How can we execute remaining steps from STEP7 to STEP10?
wht r different types of sort fields in jcl ?
How can i execute 5th step without executing first 4 steps?
Hi, all suppose i have 5 steps (S1,S2,S3,S4,S5) what will happen if cond is true or false (which of the other steps get executed)? 1) //s3 exec pgm=abc,cond=(0,le) 2) //s3 exec pgm=abc,cond=(0,le,step2) 3) In the jobcord RESTART=step3,cond=(0,le) 4) can i code COND=TRUE in jobcard, if yes what will happen?
how can u identify the db2 from jcl ?
In JCl which of this activities get executed if act002 abnormally terminates //job001 job ......... //act001 exec pgm=cobo01 //act002 exec pgm=cob02, cond=(01,le) //actoo3 exec pgm=cob03, cond=only //actoo4 exec pgm=con04
There is a procedure in A.B.PROCS(PROC1) (member name is PROC1) //PROCA... There is a call to a procedure PROCA from a JOB. //STEP01 EXEC PROCA ... Here "PROCA" in JOB refers to the actual PROC name or the member name of the PDS where this PROCA is stored.