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


Please Help Members By Posting Answers For Below Questions

What is the function of the dd dcb keyword?

821


What is jcl in mainframe?

688


What does a disposition of (new,catlg,keep) for a dsn mean?

610


Explain the purpose of dd * statement in jcl?

636


State the uses of syspring, sysin, sort fields, sum fields and dummy.

644






what are the types of abends that occur on job failure? And explain the possible causes of these

1114


can any one plzzzzzz tell the jcl code for creating ps using idcams

10509


which utility is used to run a cobol-db2 program?

805


How to submit jcl through a cobol program?

676


What are steplib and joblib?

721


Explain how can the attributes of one sms dataset be copied to another dataset?

703


What are the parameter we cannot use in procedure? How many instream we can write in single jcl?

580


how to compare two datasets without using superce because output is limited to 133 bytes

1478


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.

1982


What are steplib and joblib? What for they are used?

690