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
if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?
Max generations in GDG??
what is the compile process of cobol program expalin with code
Can a temporary dataset be converted to permanent dataset and vice-versa in the middle of a job ?
How do you create a temporary dataset? Where will you use them?
oza017.myorg.emp has 100 records ,oza018.myorg.staff has 200 records but 50 are the common records in both files copy all the common records into oza017.myorg.xyz dataset
what JCL Procedures?
what if any ,is the syntax error in the following piece of code 01 B PIC A(7) 02 C PIC 9(4) ........ IF(B NUMERIC) ADD 10 TO C a.the condition in the if statement is wrong b.noting is wrong c.because C is initialised.ADD 10 TO C is wrong d.both B and C shoud have same size.
shall we concordinate two different length dataset in to a new date set.
how can we override data definitions in jcl. can any one give detailed example
How to delete generations of gdg without deleting gdg base?
Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?