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?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?

5467


How arrays can be defined in COBOL?

714


here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?

7005


Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

907


What is the LINKAGE SECTION used in COBOL?

981






What is difference between static and dynamic call in cobol?

876


What is amode(24)?

742


How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)

2817


What is the difference between comp and comp-3?

763


Discuss about changing dataset name in proc.

819


write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc

845


A table has two indexes defined. Which one will be used by the SEARCH?

844


Difference between cobol and cobol-ii?

795


i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?

954


how to access the file from prodution from changeman tool and to submit a file to production

6844