Syntax for JCLLIB & JOBLIB???
JCLLIB: The PDS, where all the JCL (procedures) are present.
JOBLIB: The PDS, which contains the load modules of the programs.
In a JCL, if we are including any procedures, the system should know where it needs to be searched. That's why we are mentioning JCLLIB.. here is the syntax..
//DDNAME JCLLIB ORDER=(Emer.proclib,prod.proclib)
Where, DDNAME can be anything within 8 chars, JCLLIB & ORDER are the keywords and there is no DISP is needed.
When a program is try to run the system will execute the macro to load the executable code(load module of the program) from the load library to main memory. So we should mention where it should find the same. here is the syntax.....
//JOBLIB DD DSN=emer.loadlib,DISP=SHR
// DD DSN=prod.loadlib,DISP=SHR
// DD DSN=test.loadlib,DISP=SHR
Where, other than the library name, all others are keyworkds.
Please include if I missed anything..
| Is This Answer Correct ? | 14 Yes | 1 No |
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
How can you display the SPOOL information ?
can we use COPY statement in w-s section? how?
how to remove leading spaces and zeroes in a cobol variable.is there any easy way to do it
Can we change the password using ALTER? anyone tried and changed?
if we have a 10 steps how to override the 4th step in jcl?
What is the difference between Perform para and perform asaection in cobol?
When is a scope terminator mandatory?
i have the following varibles in the working storage 05 ws-A PIC X(30) VALUE 'ABCDEFGHIJKLMNOPQRESTUVWXYZ ' 05 WS-B REDEFINES WS-A 10 WS-B1 PIC X(10). 10 WS-B2 PIC 9(10). 10 WS-B3 PIC X(10). If I Display B1, B2 and B3 respectively, what is the value displayed in B2
What are the functions like c or c++ in cobol?
why mainframe we use not like java as frontend oracle as backend. or not word excel.In there also huge ammount data stored.
What is the significance of the PROGRAM-ID paragraph? If this name doesnt match with the name of the COBOL program, does it make a difference? Is the name specified in the PROGRAM-ID paragraph used as a name for the load module or any such thing?