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 / shridhar
Depending on option it is easy. relate every entry in cics
to a no or alphabet. This use as evaluate in cobol.
as per options create a JCL in cobol an submit it to intrdr
for further process.
Your option on CICS screen and file names relating to those
options should/will be matching.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the function of the dd dcb keyword?
What is jcl in mainframe?
What does a disposition of (new,catlg,keep) for a dsn mean?
Explain the purpose of dd * statement in jcl?
State the uses of syspring, sysin, sort fields, sum fields and dummy.
what are the types of abends that occur on job failure? And explain the possible causes of these
can any one plzzzzzz tell the jcl code for creating ps using idcams
which utility is used to run a cobol-db2 program?
How to submit jcl through a cobol program?
What are steplib and joblib?
Explain how can the attributes of one sms dataset be copied to another dataset?
What are the parameter we cannot use in procedure? How many instream we can write in single jcl?
how to compare two datasets without using superce because output is limited to 133 bytes
My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.
What are steplib and joblib? What for they are used?