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 |
example for sub strings ? and refernce modifications whit output pls
0 Answers College School Exams Tests, IBM,
Can we call a CICS program from a batch program or viceversa?If so, how?
what are the utilities for load and unload the DB2 tables
how to check whether the open command of a sequential file is successful? or not?
01 A pic 9(100) find record length of it
Size of a column has been changed in DB2 table (Suppose it was of 5 characters and later changed to 4 characters) and forgot to change the DCLGEN in COBOL program, what will happen during the execution of code? If the program Abends then what will be the error? If it doesn't abend then hpw the error can be catched?
how we rectify soc7 and soc4 errors in project?
What do you feel makes a good program?
Hi All, Can anyone tell me how we can MOVE value of a X(19) variable to a S9(17) COMP-3 variable? Answer with an Example will be of great help.
what is S04E error in jcl?
11 Answers IBM, L&T,
How you can characterize tables in cobol?
Write a program to enter and display the names of students in a class using the occurs clause.