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


Please Help Members By Posting Answers For Below Questions

What is the maximum length of a single line of jcl?

923


Explain about ISPF/TSO Commands

1438


List the different jcl statements that are not permitted in the procedures?

723


Can we call instream to catalog and catalog to instream?

759


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

2091






How to override loadlib?

1522


A dd statement consists of 4 fields. Name them?

1048


Can an individual step be restricted from using all the jobs allowed cpu time?

1125


What do you know about jcl?

749


is there any way to execute more than one proc in the same exec statement at the same time..?

2204


How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?

770


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.

2089


Name a few IBM utility programs, and explain its function.

4538


Brief description of inline procedure of jcl.

765


Name what parameter directs the output of the job log dataset?

638