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 / ajay tyagi

Question is not so easy. first of all we need to understand
customer requirement. actually what does he want to do with
files?
once we have clear view then we can suggest some solution
for that.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

which parameter is used to check the syntax of a jcl without executing it?

798


What is concatenating?

635


What do you understand by the term notcat 2 – gs?

753


1) SORT FIELDS=(20,4,CH,D,10,3,CH,D) OUTREC FIELDS=(7:20,4,C' FUTURE ',20,2,10,3,1Z,1,9,13,7, 24,57,TRAN=LTOU,6X'FF') This example illustrates how a fixed-length input data set can be sorted and reformatted for output. The SORTIN LRECL is 80 bytes. The reformatted output records are fixed length with a record size of 103 bytes. SOLRF (the IBM-supplied default) is in effect, so unless the SORTOUT LRECL is specified or available, it will automatically be set to the reformatted record length of 103. in the above example i have some doubts that a) sort fields=(20,4,CH,D,10,3,CH,D) -what exactly it does and this fields related to output record fields or input record fields b)outrec used to refprmat the records after sorting that means could please reply me as soon as possible Thanks. Venkat

7080


Give the syntax of job specifying jcl statement.

636






Can anybody tell what is tool used to generate the list of PROCS used in JCL to generate a PROCTREE

1969


Explain about LMFREE�free data set from its association with data ID

999


What is jcl in mainframe, and how many types of jcl statements are there for a job?

631


How does jcl specify the job to the operating system?

749


When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?

938


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

680


What do you know about jcl?

647


what is SOC4 error?

736


What are the jcl procedures?

645


which utility is used a dummy utility?

791