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 |
why we are using picture clause in the cobol programs?
What are the functions like c or c++ in cobol?
how many bytes does s9(7)COMP-3 field occupies?
How to recover a deleted source physical file from library?
What R 2 of the common forms of the EVALUATE STATEMENT ?
if a=b how the flow will complete??? perform test through test-exit. perform activa through activa-exit. test. if a=b then next sentence else move a to c. test-exit. exit. activa. -- -- activa-exit. exit.
Discuss about changing dataset name in proc.
what happens if we dont close cursor in db2-cobol pgm?
what is dynamic array in cobol? what is the difference b/w array and table in cobol?
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
PERFORM ACCUMULATE-TOTALS VARYING A FROM 1 BY 2 UNTIL A >2 AFTER B FROM1 BY 1 UNTIL B>2 AFTER C FROM 2 BY -1 UNTIL C<2 How many times the paragraph ACCUMULATE-TOTALS would be exicuted?
diffrence between renames and redifnes with examples