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 |
is there any possibilities for sumbitting more than one job in single jcl? if yes...based on which thing they will execute..(priority,class,time,written order..?)
i want to see the jobs in skeleton queue in diff region. (eg. 7 regions are running means , i want to see all the jobs in 7 regions which are in skel queue using 1 command)
Explain the function of job statement in jcl?
How to pass the temp dataset form one JOB step to another?
What is the function of the dd mgmtclas keyword in sms datasets?
how you can direct the data to spool using SYSOUT option?
describe the job statement, its meaning,syntax and significant keywords?
What are the valid DSORG values ?
I am getting the file from Unix to Mainframes for every 15 minutes. The mainframe job get abended with bad records coming from unix. I recovered that by deleting the bad data. I need permenant solution how to fix the issue? The record is getting characters in in first 9 positions which it should not. Please provide me the solution how to skip the records if it finds the charcters in the first 9 positions. K
Using DELETE what type of file can you delete? a)SEQUENTIAL FILE B)INDEXED FILE C) D) Some options were there..i cant remember
what are the ways of passing data to a cobol program from jcl?
what's the significance of freespace(0 0) and freespace(100 100)