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
Write a cobol program making use of the redefine clause.
What are the rules of the move verb?
What is the default value(s) for an initialize and what keyword allows for an override of the default?
What is the Purpose of POINTER Phrase in STRING command in COBOL?
How do you define a variable of comp-1 and comp-2?
Name the divisions, which are available in a cobol program?
In COBOL programming, what is PERFORM? What is VARYING?
input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.
How do you differentiate between cobol and cobol-ii?
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.
What is the difference between perform … with test after and perform … with test before?
What the difference is between continue and next sentence?
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?
Can we change the password using ALTER? anyone tried and changed?
What is static and dynamic call in cobol?