01 GROSS-PAY
05 BASIC-PAY PIC 9(5)
05 ALLOWENCES PIC 9(3)
if BASIC-PAY has a value 1000 and ALLOWENCES has a value
of 250,what will be
displayed by the statement
DISPLAY GROSS-PAY
a.1250
b.01000250
c.01250
d.1.250
Post New Answer View All Answers
I have a COBOL program that ACCEPTs some input data. How do you code the JCL statement for this?
Give the syntax of job specifying jcl statement.
Explain the hierarchy levels in jcl?
Are there any set of rules for the names of the steps used in a job? What are they?
Mention the types of job control statements?
what sort card you will use to copy the data from one dataset to another dataset?
How do you overcome this limitation ?
When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?
how you can access an uncataloged dataset in a JCL?
How to execute 2nd and 4th steps among 5 steps in jcl proc?
how do you access an uncataloged dataset in a jcl?
What is the purpose of dd * statement in jcl?
What is the function of the steplib dd statement?
Explain the function of the dd dcb keyword?
WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99 VALUE 123.45. PROCEDURE DIVISION. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. compiler : IGYGR1080-S A "VALUE" clause literal was not compatible with the data category o subject data item. The "VALUE" clause was discarded. WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99. PROCEDURE DIVISION. MOVE 123.45 TO W-B. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. 2375