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


Please Help Members By Posting Answers For Below Questions

what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?

769


Name the statement which can be used to send data to another mvs jes3 node?

593


What is the purpose of dd?

720


What is concatenating?

627


How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?

1795






define cond parameter in jcl?

767


What are the difference between jcl and jes?

1040


what are the statements that are not valid to be included in an include statement?

772


How to read and write a single record into a file. I would like to use it to enter a single 8-character piece of information and use it to put it into a variable for processing in JCL. Thank you

601


what is use of dsn parameter in dd statement?

664


How can the submitting users racf authority be overridden in a job stream?

738


Explain the purpose of the dd keylen parameter?

664


what is the compile process of cobol program expalin with code

1996


what is the JCL statement consists of?

693


How can values be passed from the job stream to an executable program?

867