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 / 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 |
Post New Answer View All Answers
how do you reference the ksds vsam file formats from cobol programs
what are decleratives in cobol?
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
What is the default value(s) for an initialize and what keyword allows for an override of the default?
What guidelines should be followed to write a structured cobol prgm?
Write the code implementing the perform … varying.
I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
What is the difference between Call and a Link?
In COBOL, what is the different between index and subscript?
Write the code to count the sum of n natural numbers.
Why occurs cannot be used in 01 level in COBOL?
What are the different types of condition in cobol and write their forms.