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 SOC4 error?
Is it possible to left uncode disp? If yes, how?
Mainframes gets a text file that contains the name of the file. Now using JCL i want to locate that file name in the mainframe system and perform further processing. Please tell how to proceed
I HAVE A VB BLOCK WHICH IS USED AS INPUT IN COBOL CONATINING SOME RECORDS CAN I CHANGE THE FILE FROM VB TO FB?
How can a fb file convert to vb file using sort program?
What is multithreading in jcl?
What is the function of job statement in jcl?
How is a type of file defined in the jcl that executes the cobol program?
which utility is used a dummy utility?
Explain dfsort utility?
In sms datasets, what is the function of the dd avgrec keyword?
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
what is a jcl?
what is “Cond= even” and “Cond=only”?
What methodology can be adapted to transfer data to a program that is coded using the exec statement?