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 |
I have sequential file recl 1000 i want to add another 15 bytes to it. The record length should not change..How?
how many times PARA-A is performed : PERFORM PARA-A VARYING TIMES-COUNTER FROM 1 BY 1 UNTIL TIMES-COUNTER >0 PARA-A MOVE P TO Q MOVE H TO TIMES COUNTER a.10 b.1 c.11 d.0
What is an explicit scope terminator?
What is IMPACT analysis?
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
how can we fetch 3 records in cobol pgm any coding pls ?
when iam reading a flat file which has 100 records through cobol program when iam reading 50th records it gets abends .. so when i run the program again it should read from 50th record .where it got abened ? how it is possible
Consider the following COBOL entries: 05 X PIC 99 VALUE 10. SUBTRACT 20 FROM X. The resultant value of X wil be
Have you code any new programs in COBOL ? What is the functionality of the programs?
I have dataset DS1 which has records say 1 2 3 4 5 ... ... etc And also I have second dataset DS2 whcih has records 1 3 4 5 6 8 .. ... Both the files are sorted and now I want to compare these files and write it into the third files if the records are matching.
i Want All cobol ERROR codes?
Scenario: I have 3 Input Files.Read the first i/p file and depending on certain business logic, I want to read wither i/p file-2 or i/p file-3.Now, depending on certain business logic applied to the record read from either file-2 or file-3, I decide to write them to either output file-2 or output file-2. Question: How many job steps are necessary to implement a solution for the above.