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
Are there any set of rules for the names of the steps used in a job? What are they?
what are the statements that are not valid to be included in an include statement?
how JCL works?
How dummy is used in jcl?
hello friends ,i have exam in Hsbc,pls any on send me placement papers and technical questions on mainframes,thank u
what sort card you will use to copy the data from one dataset to another dataset?
Name what parameter directs the output of the job log dataset?
What does a disposition of (new,catlg,keep) for a dsn mean?
Explain the function of job statement in jcl?
Explain how can return codes be tested before execution of a job step?
what is the use of IEBGENER utility?
How can unused space allocation be returned to the system when a dataset is closed?
Explain how can a stopped job be started again?
Explain dfsort utility?
We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?