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 |
When can the USING phrase be included in the call statement ?
01 x pic s9(8) comp. How will the following value be internally allocated '18787'
What is the difference between next sentence and continue in cobol programing language?
What is difference between com and com3? Eg. s9(4) so what is the memory it will occupy com and com3.
how will you define vsam file in select clause?
What is the Purpose of POINTER Phrase in STRING command
consider two data items 77 W-A PIC 9(3)V99 VALUE 23.75 77 W-B PIC ZZ9V99 VLAUE 123.45 after the statement MOVE W-A TO W-B what will be W-B's value? a.123.75 b.b23.75 (where b indicates space) c.023.75 d.invalid move
Will the variable POS in the following code have a value of 2 or not? 01 POS PIC S9(4) COMP VALUE 2. 01 FIRST-NAME PIC X(10) VALUE 'ABC'. 01 LAST-NAME PIC X(10) VALUE 'XYZ'. 01 NAME PIC X(20) VALUE SPACES. STRING FIRST-NAME DELIMITED BY SPACES ' ' DELIMITED BY SIZE LAST-NAME DELIMITED BY SPACES INTO NAME WITH POINTER POS
can we use COPY statement in w-s section? how?
how do u list the abended jobs?
Why occurs cannot be used in 01 level in COBOL?
Re: 01 NAME1 PIC X(13) VALUE "COBOL PROGRAMMING". 01 NAME2 PIC X(13). now I want to display the value of NAME1 in reverse order i.e value should be displayed as "GNIMMARGORP LOBOC" HOW can I do that ??? please let me know if any one knows it.