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


Please Help Members By Posting Answers For Below Questions

Difference between cobol and cobol-ii?

704


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)?

624


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

2331


Why did you choose to work with ibm mainframe cobol programming?

627


How are the next sentence and continue different from each other?

760






What is the Purpose of Pointer in the string?

641


What is the LINKAGE SECTION used in COBOL?

885


Differentiate between structured cobol programming and object-oriented cobol programming.

663


What is the use of intialize verb?

742


In COBOL programming, what is PERFORM? What is VARYING?

668


how to refer the data field?

1802


What are the different open modes available in cobol?

713


Explain about different table spaces.

644


What are the pertinent COBOL commands?

2621


What is the problem of ordered sequential files access?

694