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

Post New Answer

More JCL Interview Questions

what is the default region size if I dont specify region parametre in my job card ( I know that if I specify region=0k or 0M, then the job will occupy all he available resources at the time of job execution), but I want to know the defult value for "region" paramatre.

5 Answers   BirlaSoft, Infosys,


in step1 of a jcl,disp=(mod,delete,delete) step02 exec pgm=ccc,cond=(0,le) will step02 be executed? i)never ii)always iii) iv)... i dont remember options

4 Answers   HSBC,


How to override a dsn that is contained in a proc called by another proc? I need to do the override in the calling jcl?

0 Answers  


How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length ----TRY

0 Answers  


In a JCL if previous steps return code is greater than 0 or 4 then the next step will not execute. But the job will be successfull with the maximum return code. How can we reset this maximum return code to '0' regardless of return codes of any steps?

4 Answers  






Can we able insert data into a PS file Using IEBUPDTE utility??? If Yes can anyone describe it please..

1 Answers  


What is STEPLIB, JOBLIB? What is it used for?

2 Answers  


What is the use of IEBGENER ?

2 Answers   Cap Gemini, Wipro,


why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.

0 Answers  


I am having one step in my jcl.in that step,i am calling one proc.In that proc,i have 10 steps.i want to call a particular step in that proc without writing any new jcl ike iebedit utility...

2 Answers   Satyam,


What is the function of dd disp parameter?

0 Answers  


which parameter is used to check the syntax of a jcl without executing it?

0 Answers   IBM,


Categories