consider the following progrm statements
MOVE 0 TO SW.NO.OF.REC
PERFORM PRI-OUT UNTIL SW=1
DISPALY NO.OF.REC
STOP RUN
PRE-OUT
READ IN-FILE AT END
MOVE 1 TO SW
WRITE OUO-REC FROM IN-REC
ADD 1 TO NO.OF REC
if the IN-FILE contains 1000 records what value will be
displayed after the
PERFORM is over? assume that N0.OF.REC has PIC 9(4)
a.1000
b.1001
c.1
d.none of the above
Answer Posted / dimpy19
d.none of the above
since there is a syntax error
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
a set statement is used to define commonly used symbolic across job steps or procedures. It initializes the previous values in the symbolic names. It has to be defined before the first use of the symbolic names in the jcl. State whether true or false?
what is use of dsn parameter in dd statement?
when does a dataset go uncataloged?
What do you understand by jcl?
Differentiate between addressing mode and run mode.
Explain the function of //jcllib statement?
in ways data can be passed to a COBOL program from JCL?
How to do automated restart when a job abend?
When space is allocated for an output dataset, what units can be used?
what is the JCL statement consists of?
Step 1 RC 4 Step 2 Step 3 I want to know the COND parameter which can be coded in step 2 or 3. Step 2 should be executed based on Step 1 RC and Step 3 should not be executed based on step 1's RC
In job processing, what happens in conversion stage?
what is the purpose of coding notify parameter in job statement?
Suppose I have five jobs to do. But I want to hold one?
Is it possible to left uncode disp? If yes, how?