what will happen if i give program name and member name as
different? program runs successful or w'll abend?
Answers were Sorted based on User's Feedback
Answer / vijay
The program will be compiled successfully and the load will
be created with the member name only. So, no issues with
program name and member name being different.
| Is This Answer Correct ? | 8 Yes | 2 No |
Answer / prachi
During compilation the program will give an error
| Is This Answer Correct ? | 7 Yes | 3 No |
Answer / 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 |
Answer / sudhir
Compile will be succesful. but while linking the program-name will be used to scan the Object library. it will not be found and linking will not complete successfully.
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / raj
If its been dynamically called by some other program then
the member name and the program name should be same .
else if its standalone program then it will work
| Is This Answer Correct ? | 1 Yes | 0 No |
Please let me know at which Scenarios we will go for STATIC call or DYNAMIC
How to find whether a Flat file is empty or not without Reading a file in COBOL Program. (not using JCL)
I have a PS file and I would like to manually insert the binary values (like a COMP format) into the file. How can i do that? the way do in COMP-3 format.. suppose i want to insert -12345 in to file in comp-3 format. simply we can open a file in edit mode and do HEX-ON and insert the value . SEE BELOW-- 135 24D in 3 bytes - this will be COMP-3 presenatation of -12345.
how we rectify soc4 and soc7 error in project(need real time answer)? please reply
Using string statement.Is coding three destination string from one source string possible in one code?or three codes for every destination string of one source string.?thank you
wht is structured cobol pgm and non structred cobol pgm ?
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
What care has to be taken to force program to execute above 16 Meg line?
What are ISOLATION LEVELS? Where do we need to specify them in compiling JCL (Exactly which statement and what is syntax for it)?
When and how can we use index & subscript ?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
Define in-line perform?