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 / anshuman

You can also do that through the use of external sort in jcl

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to submit jcl through a cobol program?

676


What are the utility programs in jcl?

646


Describe the various parameters utilized in the creation of a gdg?

680


What are the rules employed while naming the steps in a job?

658


What are the difference between jcl and jes?

1048






How is the record format of an output dataset specified?

743


in a jcl, a large volume dataset is loaded to a table using bmcload in step1 and an image copy of the loaded table is taken using bmccopy in step2. Step2 abends because the image copy dataset cannot hold the volume of the table. How can this be rectified?

816


What is the function of the dd mgmtclas keyword in sms datasets?

730


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

703


What is the function of the dd avgrec keyword in sms datasets?

835


I want to JCL sort for Non-COMP and COMP-3 fields SORT FIELDS=(1,5,A,6,11,A,12,11,A,19,1,A,20,1,A),FORMAT=BI,EQUALS Length of comp bytes is 11 bytes which start at 6byte and 12 byte considering 11 bytes in comp-3 is 6 bytes. Can anyone tell if the above sort work SORT FIELDS=(1,5,A,6,6,A,12,6,A,19,1,A,20,1,A),FORMAT=BI,EQUALS does not works OK

1485


Does jcl support automatic restart?

760


Can we use DISP=SHR in output file in JCL

951


which parameter is use to declare the name of dataset in dd statement?

730


I have many files which i am receiving from client everyday. I have one step for every file to check for empty or not. Here client gives 30 files i need to check for every file for empty or not and i need to perform 30 steps. Can I do it in single step. Dynamically i need to change the File name in my step.

726