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
Is automatic restart possible in jcl?
What is notcat 2 - gs?
what is use of dsn parameter in dd statement?
How is the record format of an output dataset specified?
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 is the function of the dd mgmtclas keyword in sms datasets?
what is use of space parameter in dd statement?
Are there any set of rules for the names of the steps used in a job?
Give the syntax of job specifying jcl statement.
Where & How Do You Code Identifier In Jcl?
how do you access an uncataloged dataset in a jcl?
How to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?
Explain in DD statement what is the use of DCB parameter?
Matching Logic in Jcl not in cobol.Could any one please answer this question
Mention the types of job control statements?