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
if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?
What is the function of the dd avgrec keyword in sms datasets?
Brief description of inline procedure of jcl.
How does jcl act on code(if you take a cobol program)?
a dd statement has 2 types of parameters. Name them?
What is multithreading in jcl?
WORKING-STORAGE SECTION. 01 GROSS-PAY. 05 BASIC-PAY PIC 9(5). 05 ALLOWENCES PIC 9(3). PROCEDURE DIVISION. MOVE 1000 TO BASIC-PAY. MOVE 250 TO ALLOWENCES. DISPLAY GROSS-PAY. STOP RUN. 77 W-A PIC 9(3)V99 VALUE 23.75 77 W-B PIC ZZ9V99 VLAUE 123.45 after the statement MOVE W-A TO W-B what will be W-B's value? a.123.75 b.b23.75 (where b indicates space) c.023.75 d.invalid move
What do you understand by the term “keyword” with respect to jcl and what is the opposite of the term?
Describe the various parameters utilized in the creation of a gdg?
how do you access an uncataloged dataset in a jcl?
What are the 4 fields in dd statement?
Can I share my data with other jobs? How?
Explain about ISPF/TSO Commands
Which dd parameters are required?
How to alter the parameters for the existing gdg?