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 |
In an EVALUTE statement is the order of the WHEN clauses significant?
Can printer files (having 133 characters) be of variable length?
what are the control characters used in reports
What rules are followed by the search verb.
01 xxx pic 9(4). 01 yyy pic 9(6). move 123456 into yyy. move yyy to xxx. display yyy. what would be the value of yyy
what is the difference between Plan & package
File status must be checked both while opening and reading the file or only while reading the file?
Please let me know at which Scenarios we will go for STATIC call or DYNAMIC
how many bytes does a s9(12)COMP-4 field occupy?? a.2 b.4 c.8 d.1 ans with reason please
I got user abend U4038 while compiling my runjcl.. can anyone help me?
If we put three reads in COBOL in the same para one after the other, to read a PS file,will it read the same record thrice or it will read three records sequentially? For example : Input File 01 02 03 Para 900 Read infile Display Infile rec Read infile Display infile rec Read infile Display infile rec. What will be the output?
What is tne need to use sub programs in Cobol?