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.
"B (ALPHABETIC)" did not have a valid type for the specified class condition. T
nformational Warning Error Severe Terminating
WORKING-STORAGE SECTION.
01 B PIC A(7) VALUE '1'.
01 C PIC 9(4) VALUE 2.
PROCEDURE DIVISION.
IF(B NUMERIC)
ADD 10 TO C.
STOP RUN.
| Is This Answer Correct ? | 4 Yes | 0 No |
diff bw SB37,SD37,SE37 ?( bcz these 3 belongs Space related abends only)
Is there any command to check wether the ps file is in sorted order?
How many steps we can overide in the proc's?
Can a temporary dataset be converted to permanent dataset and vice-versa in the middle of a job ?
Can I send output of job to my remote device careerride123?
Explain how can a jobs execution priority be modified?
How to send data from cobol program to jcl?
what modification we need to do in jcl if we use sort in cobol? I mean whether we need to include temporary file used for sorting in assign statement?
How to pass values in jcl to cobol?
A dd statement consists of 4 fields. Name them?
What is the use of DSNDB07 ?
What is the difference between specifying DISP=OLD and DISP=SHR for a dataset?