what will happen if i give program name and member name as
different? program runs successful or w'll abend?
Answer Posted / tata
(a)//COMPILE.SYSIN DD DSN=OZA093.SUNIL.COBO1(DATE),DISP=SHR
(b)//LKED.SYSLMOD DD
DSN=OZA093.SUNIL.LOADLIB(DATE),DISP=SHR
here (a) is for compilation.and (b) is for
execution.i.e.loadmodule of our program. after compilation
of our program.the compiler will generate an object code to
our program. this only going to be executed..what ever u
give at
LOADLIB(DATE)..this name (for my program loadmodule name is
date) should be specified at
//step exec pgm=loadmodulename.(here date).
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?
What is perform what is varying?
What is the difference between Global and External Variables?
what is the use of outrecord?
Can we change the password using ALTER? anyone tried and changed?
how do you define single dimensional array and multidimensional array in your cobol?
how do you reference the ksds vsam file formats from cobol programs
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
What is length is cobol?
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.
Are you comfortable in cobol or jcl?
How to remove 2 duplicate records and copy only one using job control language?
What is an in line perform? When would you use it? Anything else you wish to say about it.
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
how do you reference the fixed unblock file formats from cobol programs