Which of the following paragraphs is compulsory in every
COBOL program?
(a) SPECIAL-NAMES
(b) PROGRAM-ID
(c) FILE-CONTROL
(d) OBJECT-COMPUTER
Answers were Sorted based on User's Feedback
Answer / anil prajapati
In Every cobol program identification division with program-
id is mandatory and others divisions are optional
| Is This Answer Correct ? | 9 Yes | 2 No |
Answer / anbarasu
Program ID is mandatory and other are optional.
| Is This Answer Correct ? | 3 Yes | 0 No |
how to refer the data field?
How to resolve the soc4 & soc7 other than following answers. Soc4 can resolved using mispleed dd name and dd name is not matching with file and soc7 check the sysdump and copy the offest address then correct it in the program.
10 Answers ADP, Amdocs, Cap Gemini, Keane India Ltd, Super Value, TCS,
How do you get the data to code the BMS macro?
I have a variable account-number declared as comp-3, s9(10) comp-3 in a file. How do i find a particular account number say 123456 in that file?
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?
Can you REWRITE a record in an ESDS file? Can you DELETE a record from it?
6 Answers ABC, IBM, Mphasis, Wipro,
what will happen if pass values more than 100 using PARM parameter?
How to find How Many Lines in Sysin DD * Parameter Thru Cobol Coding? If any one knows the Answer Please Reply .....Thanks From Shree
why we are using set in searchall?
If i initialize the 01 level variable in array, will it initialize all the array elements (occurs)?
how to fetch the record before the last record in a cobol file( its a huge file and if the key field is not known)
How to know whether the module is dynamical or statistical?