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
What is notcat 2 - gs?
Explain about ISPF/TSO Commands
What is catelog procedure and how many catelog procedure to use in one job?
what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?
Explain about LMFREE�free data set from its association with data ID
What dd statement is used to supply the name of a dataset?
I need exexution process for JCL programs
WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99 VALUE 123.45. PROCEDURE DIVISION. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. compiler : IGYGR1080-S A "VALUE" clause literal was not compatible with the data category o subject data item. The "VALUE" clause was discarded. WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99. PROCEDURE DIVISION. MOVE 123.45 TO W-B. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. 2375
I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?
What are the utility programs in jcl?
what is the compile process of cobol program expalin with code
How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.
What statement marks the beginning of an in-stream or cataloged procedure in jcl and assigns default values to parameters defined in the procedure?
write a jcl to execute a job by 7:00 am on jan 20,1986?
what JCL Procedures?