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 |
Using DELETE what type of file can you delete? a)SEQUENTIAL FILE B)INDEXED FILE C) D) Some options were there..i cant remember
Why block size is multiple of lrecl in jcl?
JCL Example: // //RUNJCL JOB CLASS=5,MSGCLASS=6,NOTIFY=&SYSUID //STEP01 EXEC PGM=IEFBR14 // .. .. If this JCL will run or it'll throw the ERROR?
i have 1000 records in input file and i want to sort it and the first 200 records to be placed in output file. how to do that??
Can comments be specified at the very beginning of a jobcard? Will the JCL execute?
In my job I have 6 steps. Step01,02,03...step06. after executing step02 i want to skip step03 and want to execute step04. and once step04 is done then I want to go back and execute step03. once step03 is completed I want execute step05, 06 and so on... can any one tell me how do i do that???
In a single step if input file is present then only need to copy into output file or else need to through a RC is it possible. Note : i want it in a single step
how can u understand ps and pds from their names ?
how you will define a temporary dataset in jcl?
Is automatic restart possible in jcl? If yes, how?
Explain about CBL/PROCESS statement syntax
Suppose I have seven jobs to do, but I want to hold one than how can I do this?