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 |
In one of intervie, my interviwer asked, I have a file which contains 4 records I would like to split the 4 different outputs for each record how to do?
14 Answers Cap Gemini, Cognizant, JPMorgan Chase, TCS, Xansa,
My JCL have five steps & I created new versions of GDG in first step through fourth step & fifth step I was refered Step one GDG version. My JCL got abend at 4th step and how I can restart my JCL Please let me know the answers. //STEP1 EXEC GDG1(+1) DISP=(NEW) //STEP2 EXEC GDG1(+2) DISP=(NEW) //STEP3 EXEC GDG1(+3) DISP=(NEW) //STEP4 EXEC GDG1(+4) DISP=(NEW) //STEP5 EXEC GDG1(+1) DISP=(OLD)
11 Answers HCL, IBM, L&T, TCS,
hi guys what r the diff types of procs in jcl? bye ramya
4 Answers ACS, Keane India Ltd,
I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.
How jcl is used for testing batch programs?
Can we change the LIMIT of GDG?
what happens in execution stage in job processing?
What is GDG?
Explain how can the attributes of one sms dataset be copied to another dataset?
What statement marks the beginning of a job step; assigns a name to the step; identifies the program or catalogued or in-stream procedure to be executed in the step?
Explain about LMPUT-
WORKING-STORAGE SECTION. 1 GROUP-ITEM. 05 AMOUNT-1 PIC 99V9 USAGE COMP VALUE 50. 05 AMOUNT-2 PIC 9(4)V99 USAGE COMP. PROCEDURE DIVISION. MOVE ZERO TO GROUP-ITEM. ADD 50 TO AMOUNT-1. DISPLAY AMOUNT-1. STOP RUN.