What is the significance of the PROGRAM-ID paragraph? If
this name doesnt match with the name of the COBOL program,
does it make a difference? Is the name specified in the
PROGRAM-ID paragraph used as a name for the load module or
any such thing?
Answers were Sorted based on User's Feedback
Answer / pbbg
Load module will be created based on the member name which
you have used for creating code.Whether you give program id
name as member name or different, but load will be created
on the member name.
| Is This Answer Correct ? | 38 Yes | 4 No |
Answer / vinay (capgemini)
Program-id is always for our refrence and it does not have
any resembelence with the execution.
| Is This Answer Correct ? | 14 Yes | 5 No |
Answer / sushi
To add to it..
The audit will not be successful at the time you freeze the
package.You need to keep the Program ID same as the
component checked out in your package.
| Is This Answer Correct ? | 1 Yes | 7 No |
Answer / santy
PROGRAM-ID name is given in PROGRAM-ID prargraph. you can
give program id name as member name or different, but
mostly we put same as member name, because whenever you
submit the program then load module will be crated on the
member name. and if the load module name is not match with
program id name then program will abend.
| Is This Answer Correct ? | 4 Yes | 30 No |
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
What is the use of EVALUATE statement?
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
what is dynamic array in cobol? what is the difference b/w array and table in cobol?
When the working storage variables get allocated? a.At Compile time b.At starting of the run time c.At end of the run time. d.None of these
hi, can you ppl tell me, how to check whether the rewrite we gave for the ksds file is successful or not in the program.? i gave rewrite, the rewrite code is executing and maxcc=0 but updation doenot happen in the file?
can we declare occurs in 01 level?
what is sync clause?
How do you fetch current date in normal cobol pgm and in cobol-db2 pgm?
I hav vari declaration like..... 77 a pic s9(9).99. 77 b pic s9(9).99 comp. 77 c pic s9(9).99 comp-3. if i use MOVE 123456789.99 to a,b,c what happen every one working fine ?
what is the default print format? in cobol
What is rmode(any) ?