WORKING-STORAGE SECTION.
01 GROSS-PAY.
05 BASIC-PAY PIC 9(5).
05 ALLOWENCES PIC 9(3).
PROCEDURE DIVISION.
MOVE 1000 TO BASIC-PAY.
MOVE 250 TO ALLOWENCES.
DISPLAY GROSS-PAY.
STOP RUN.
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
No Answer is Posted For this Question
Be the First to Post Answer
i have records from 1 t0 100 . i need to open records from 10 to 18 and change the values in tht ? how can i do tht ?
Explain how can the attributes of one sms dataset be copied to another dataset?
Suppose we have 5 steps in a job.No step should be executed After submitting every step in a job
In SPACE,what is directory,RLSE
What is a MODEL Paramater in GDG ?
If a field is declared as a comp-3 field and if we want to sort a dataset based on this field, then how will the sort card be??? e.g- if we want to sort by a field which is defined as a PIC X(5) then we will mention - sort fields=(1,5,ch,a). Likewise if a field is defined as PIC S9(10)COMP-3 then in this case how will the sort field be defined (because in this case a sign is also involved)???
How can we see data in TEMPARARY DATA SET in JCL ?
Explain how can a stopped job be started again?
what is meant by jobtrac?
What is COND=ONLY ?
What is the purpose of dd dummy statement?
What is the differentiation between TRK,cyl, and Bytes... how they can be connected??