Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 / mr. cooooool

Hi...........
We can do it as following.

//COOLJCL JOB NOTIFY=&SYSUID
//STEP1 EXEC PGM=IEBGENER
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD DSN=COOL.TOP.PS1,DISP=SHR
// DD DSN=COOL.TOP.PS2,DISP=SHR
// DD DSN=COOL.TOP.PS3,DISP=SHR
// DD DSN=COOL.TOP.PS4,DISP=SHR
//* DD DSN=COOL.TOP.PS5,DISP=SHR
//* DD DSN=COOL.TOP.PS6,DISP=SHR
// DD DSN=COOL.TOP.PS7,DISP=SHR
// DD DSN=COOL.TOP.PS8,DISP=SHR
// DD DSN=COOL.TOP.PS9,DISP=SHR
// DD DSN=COOL.TOP.PS10,DISP=SHR
//SYSUT2 DD DSN=COOL.TOP.OUTPUT,DISP=SHR
//SYSIN DD DUMMY



We can give comments for 6th and 7th dd statement
through which we can concatenate the remaining files
except 5,6 file into the output file.


I know there is also some other logic
except this.
if anybody know than tell me.
thanks.

Is This Answer Correct ?    14 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how can the submitting users racf authority be overridden in a job stream?

1128


Explain how can the disposition of sysout datasets be set for an entire jobstream?

1093


Suppose I have five jobs to do. But I want to hold one?

1128


What is Cataloged Procedures?

1170


Does jcl support automatic restart?

1239


what is “Cond= even” and “Cond=only”?

1313


why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.

2456


State the uses of syspring, sysin, sort fields, sum fields and dummy.

1090


What is the function of the dd dcb keyword?

1342


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

1261


Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?

1118


Hello Guys, I have 1+ Year Experience in MAINFRAME TESTING. After 1 Week I have an Interview With a Company on Mainframe Testing. Please Could You Guys Please Suggest me What Sections Should I prepare ?? ___Tell Me the Topic Or Appropriate Site & Links. ?? ---------------Thank You

2786


What is the use of disp parameter?

1143


How to alter the parameters for the existing gdg?

1204


I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?

1841