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
How to pass data to a program that is coded in an exec statement?
What is job control language?
Is automatic restart possible in jcl? If yes, how?
what sort card you will use to copy the data from one dataset to another dataset?
Mention the types of job control statements?
What does a disposition of (new,catlg,keep) for a dsn mean?
if the submitter of a job wants to inform another user about the job completion, how can it be done?
how do you access an uncataloged dataset in a jcl?
A chkpt is the parameter coded for multi-volume qsam datasets in a dd statement. When a chkpt is coded as chkpt=eov, a checkpoint is written to the dataset specified in the sysckeov statement at the end of each volume of the input/output multi-volume dataset. State whether true or false?
what are the various stages of job processing?
What is the purpose of dd * statement in jcl?
Explain how can the disposition of sysout datasets be set for an entire jobstream?
in ways data can be passed to a COBOL program from JCL?
Differentiate between the joblib and the steplib statements?
What is the difference between the positional and keyword parameters? Give examples.