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

really it,s tough to give an ans of this que.would u plz
suggest the actual ans of thi

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how can you check if a file is empty using jcl?

815


How to override loadlib?

1420


Is condition checking possible in jcl? If yes, how?

737


I have a job called careerride and some steps in it as step1,step2. But I want to execute step2 before step1 ? How do I do that?

827


what is use of space parameter in dd statement?

752






How do you create a temporary dataset?

662


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

1036


Explain the purpose of dd dummy statement?

671


What is the use of disp parameter?

653


What are steplib and joblib?

721


I have mainpgm(abc) this is the only cobol pgm(non-db2).And this pgm calling subpgm name "acd" this also only cobol(non- Db)and this pgm calling some other subpgm this pgm has cobol-db2 pgm. 1) IF you calling static mode how to run and how to compile? 2) IF you calling dynamic mode how to run and how to compile? plz suggestion me.

1949


What is the function of dd name parameter with a 2 part structure; audit.report?

698


Why block size is multiple of lrecl in jcl?

908


Matching Logic in Jcl not in cobol.Could any one please answer this question

3669


How to pass data to a program that is coded in an exec statement?

821