Answer Posted / suersh ramaiyan
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 |
Post New Answer View All Answers
How do you reference the following file formats from cobol programs?
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
What is inspect in cobol ?
I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.
Whats the difference between search & search ALL?
What are declaratives and what are their uses in cobol?
What is the default value(s) for an initialize and what keyword allows for an override of the default?
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
how can i see junk values in dclgen or in hostvariable of comp ?
Can you please let me know the centre name of INS certification in Kolkata.
how do you reference the fixed unblock file formats from cobol programs
Difference between cobol and cobol-ii?
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
How many bytes S(8) comp field occupy and its maximum value?
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad