Consider the following COBOL entries
05 X PIC 99 VALUE 10.
ADD 40 X TO X.
COMPUTE X = 3 * X - 40.
The result in X is
Answer Posted / ram g
compiler wont support 05 level direct coding ..assuming
that its a 01 level .. ans is 40.
Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
Difference between cobol and cobol-ii?
Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?
Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks
Why did you choose to work with ibm mainframe cobol programming?
How are the next sentence and continue different from each other?
What is the Purpose of Pointer in the string?
What is the LINKAGE SECTION used in COBOL?
Differentiate between structured cobol programming and object-oriented cobol programming.
What is the use of intialize verb?
In COBOL programming, what is PERFORM? What is VARYING?
how to refer the data field?
What are the different open modes available in cobol?
Explain about different table spaces.
What are the pertinent COBOL commands?
What is the problem of ordered sequential files access?