ihave ten flatfile in that iwant to concatinate all the
files except file 5,6 into output file by uing jcl?
how to do this? give me detail yntax for tis?
Answer Posted / harsha
In addition to the above provided solutions, if user is
concatenating these files in a PROC then user can provide
the overriding parameter in JCL as
//STEP1 EXEC PROC1
//STEPA.DD1 DD DSN=DSN1,DISP=SHR
// DD DSN=DSN2,DISP=SHR
// DD DSN=DSN3,DISP=SHR
// DD DSN=DSN4,DISP=SHR
// DD DSN=DSN7,DISP=SHR
// DD DSN=DSN8,DISP=SHR
// DD DSN=DSN9,DISP=SHR
// DD DSN=DSN10,DISP=SHR
Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
Where can program checkpoints be stored for use in a restart?
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.
Is acct parameter mandatory?
which utility is used to sort a file in jcl?
Brief description of inline procedure of jcl.
what is DSN parameter and DISP parameter is used for?
My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.
Can an individual step be restricted from using all the jobs allowed cpu time?
List the different jcl statements that are not permitted in the procedures?
What is the use of disp parameter?
A dd statement consists of 4 fields. Name them?
Why block size is multiple of lrecl in jcl?
Explain how can values be passed from the job stream to an executable program?
Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?
Is automatic restart possible in jcl? If yes, how?