01 GROUP-ITEM
05 AMOUNT-1 PIC 99V9 USAGE COMP VALUE 50
05 AMOUNT-2 PIC 9(4)V99 USAGE COMP
MOVE ZERO TO GROUP-ITEM
ADD 50 TO AMOUNT-1
what will be the content of AMOUNT-1?
a.50
b.100
c.0
d.unpredictable



01 GROUP-ITEM 05 AMOUNT-1 PIC 99V9 USAGE COMP VALUE 50 05 AMOUNT-2 PIC 9(4)V99 USAGE COMP MOVE ZE..

Answer / dimpy19

d. Unpredictable

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More JCL Interview Questions

How can i execute 5th step without executing first 4 steps?

4 Answers  


what happens if job falls in loop ? how to resolve it ?

3 Answers   Patni,


//ERFDS JOB //STEP1 //STEP2 //STEP3...COND=(4,LT) //STEP4 1.CONDITION IN STEP3 REFERS TO WHICH STEP'S RETURN CODE (STEP1 OR STEP2)? 2.IN ABOVE PROGRAM IF CONDITION SATISFIES IN STEP3 WHICH STEPS WILL EXECUTE?? AND WHY? IF CONDITION IN STEP3 SATISFIES

5 Answers   IBM,


I have DATE filed like DD-MM-YYYY, So I want output should be MM/DD/YYYY using JCL? Can anybody post the answer for above requirement?

4 Answers   BirlaSoft, FIS, Wipro,


Explain COND used in JCL?

1 Answers   Patni,






If a jcl has just 1 step and the input file to this does not exist, then what will happen if we submit this job?

3 Answers  


File1 has 100 records and file2 has 200 records i want to copy 50 records which r in both file into file3

7 Answers  


Why do you want to specify the REGION parameter in a JCL step?

4 Answers   Kekran Mekran, TCS,


How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?

0 Answers  


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

8 Answers  


How to skip first step of a job? Can we use COND on the first step?

3 Answers   iNautix,


What is the syntax of JCL statement?

0 Answers  


Categories