There are a set of 10 files and a customer will be
selecting random no of files(i.e they may be more than 2,
may not be in the order).Sometimes he might just select
one file or sometimes no files at all.How do you code a JCL
for this? Is it possible to code just JCL alone for this
problem?
Answer Posted / tony prabu
First of all you can not just do this by jCL alone you
definitely need a application program like COBOL to do this.
Then depending upon the selection using sysin we can select
the file usin the EWVALUATE verb etc.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
what EXEC statement is and what is the syntax of EXEC statement used in JCL?
What does a disposition of (MOD,DELETE,DELETE) mean ?
What do you understand by jcl?
State the uses of syspring, sysin, sort fields, sum fields and dummy.
Explain how can values be passed from the job stream to an executable program?
What is job control language?
Mention the types of job control statements?
what is use of dsn parameter in dd statement?
which utility is used to run a cobol-db2 program?
What is the function of a dd statement?
Is it possible to define dd statements as you want?
what sort card you will use to copy the data from one dataset to another dataset?
Explain how can a stopped job be started again?
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?
How does the jcl specify the job to os?