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 |
What are the rules of the move verb?
how will u retreive value from a table.write it with syntex. 01 ws-table 05 ws-table1 occurs 10 times. 05 ws-table2 occurs 10 times. the above is 2 dimensional array..how will u retrieve 1st element of an array
what is redefines? where it can be effectively use for the purpose of memory utilization? give an example?
is it possible to pass an SQL query inside a jcl which is inside a cobol program?
What is a subscript ?
file status 00 is checked after opening the file or reading the file
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
how can we find total no of records in a file ....is there any utility......?
Why occurs can not be used in 01 level ?
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
DATAONLY, MAPONLY functionality?
give the examples of strings in cobol