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 |
Where & How Do You Code Identifier In Jcl?
What is a Dummy Utility and what it does ?
how to override PROC? please give answer in details. Please mention how to write it in JCL. Thanks in advance.
I have three files for one step i need to override the third file how to do that in jcl?
I have multiple jobs ( JCLs with several JOB cards ) in a member. What happens if I submit it?
What statement marks the beginning of a job step; assigns a name to the step; identifies the program or catalogued or in-stream procedure to be executed in the step?
How to identify where file is empty or not? How many ways are there to identifying?
can we write a proc with in a proc
what is the purpose of coding notify parameter in job statement?
what is SOC4 error?
What parameter of the job statement is used to limit the cpu time consumed by the job?
Max. No of DD statements in a job ?