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 |
Read a flat file and write last but one (I have n records in a file I have to write n-1th) record in another flat file. Could you please provide me the code in COBOL?
how many bytes does s9(15) occupy in comp1 comp2 and comp3 ?
copy 100 records without using ibm utilities
SSRange is used to do a range check on which of the Following. SUBSCRIPT,INDEX,REFERENCE MODIFICATION,Run-time option.
Why occurs can not be used in 01 level ?
How do we get current date from system with century?
can I copy book which contain db2 statment in procedure divion?
i friends greetings to the day...!!! I face a quation like"while runnig the programe every day i have to access the previous day updates only...!! Ex:- Let last day 100 customers took bank account i have to select those customers only.."
How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length
TO abend the data sholud open in which mode? 1.new 2.old 3.mod 4.shr
how can we code index in an array of cobol pgm?
I have a COBOL main program which is calling sub program, the number of calling parameters used in main program are 4 whereas in sub program it's 5. Sub program is passing 5 parameters back to main program Will there be any compilation error? Or main program parameters displays junk values?