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 |
What are the divisions in a cobol program? Which one is the mandatory division among them?
Study the DATA DIVISION entries and the three PROCEDURE DIVISION entries given below: 01 END-OF-FILE-SWITCH PIC XXX. 88 NO-MORE-RECS VALUE "YES". 88 MORE-RECS VALUE "NO". (i) READ SAMPLE-FILE AT END MOVE "YES" TO NO-MORE-RECS. (ii) IF NO-MORE-RECS = "YES" GO TO LAST-PARA. (iii) IF NO-MORE-RECS GO TO LAST-PARA. Which are wrong? (a) (i) and (ii) (b) (ii) and (iii) (c) (i) and (iii) (d) all
If we use GO BACK instead of STOP RUN in cobol?
How you can read the file from bottom?
How can you submit a job from COBOL programs?
How many bytes do a s9 (7) comp-3 field occupy?
TO abend the data sholud open in which mode? 1.new 2.old 3.mod 4.shr
What rules are followed by the search verb.
wirte a pgm in using files in which we hav 10 ,20,30 40...100 records in inputfile and i want them to be send to outputfile in reverse order. PLZ HELP ME OUT .........THIS IS A RECENT QUESTION IN IGATE..
I have a seq file with different fields one field is address with pic x(50) as input in a cobol program. In address there is 'PUNE' at any different positions in the address field ( form 1 t0 50) . My requirement is select the fields with address 'PUNE' by using cobol. Please suggest
What will happen if you code GO BACK instead of STOP RUN in a stand-alone COBOL program i.e. a program which is not calling any other program ?
What is 77 level used for ?