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...


Can I concatenate various datasets whose organization are
different from each other. Lets say I want to cancatenate a
PDS file, a PS file, a GDG file etc. Can You do that ??
If yes, how ? is there any separate Utility to do so ???

Answers were Sorted based on User's Feedback



Can I concatenate various datasets whose organization are different from each other. Lets say I wa..

Answer / kavitha

Nope. We Cant.

Is This Answer Correct ?    8 Yes 0 No

Can I concatenate various datasets whose organization are different from each other. Lets say I wa..

Answer / ayan

Test this code

//MYJOB1 JOB
(,L3),'MRJTEST',MSGCLASS=X,NOTIFY=&SYSUID,CLASS=B
//*

//STEP01 EXEC
PGM=SORT
//SYSOUT DD
SYSOUT=*
//*

//* *** INPUT PRINT FILE
***
//SORTIN DD DSN=&SYSUID..TESTGDG
(0),DISP=SHR
// DD
DSN=&SYSUID..EMPYT,DISP=SHR
// DD DSN=&SYSUID..TESTPDS
(TEST1),DISP=SHR
//*

//* *** OUTPUT EXTRACT FILE
***
//SORTOUT DD DSN=&SYSUID..TESTGDG
(+1),
// DISP=
(NEW,CATLG,KEEP),
// UNIT=SYSDA,SPACE=(CYL,
(10,5)),
// DCB=
(DSORG=PS,RECFM=FB,LRECL=80)
//*

//SYSIN DD
*
SORT
FIELDS=COPY

/*

Is This Answer Correct ?    4 Yes 1 No

Can I concatenate various datasets whose organization are different from each other. Lets say I wa..

Answer / premalatha.m

Converting to disk file in the sense, we have to copy that
GDG file to a disk file using the sort utility which
specify "sORT FIELDS = COPY". My email-id is
prem_dev86@rediffmail.com.

Is This Answer Correct ?    0 Yes 3 No

Can I concatenate various datasets whose organization are different from each other. Lets say I wa..

Answer / premalatha.m

We can convert the GDG file to a disk file and can use
append "A" for concatenation. Try this out!!! Please let me
know if it works fine by sending an e-mai...

Is This Answer Correct ?    0 Yes 4 No

Post New Answer

More JCL Interview Questions

The maximum number of steps in a job?

4 Answers  


Can you code instream data in a PROC ?

10 Answers  


We have 100 steps in a procedure and we need to run the jcl and execute only 25th step in the proc and not the remaining steps. How can we do it?

5 Answers   IBM, JPMorgan Chase,


how to write a jcl prog to copy alternate recs from ps1 to another ps2,suppose ps1 having 10 recs?

2 Answers   Steria, TCS,


what happens in execution stage in job processing?

0 Answers   IBM,


I have four steps in jcl they are STEP1,STEP2,STEP3 and STEP4. Can it possible to run the reverse order like step4 first then step3,step2,step1?

4 Answers   Broadridge, HCL,


In how ways you can pass the data from Jcl to cobol ?

3 Answers   Cap Gemini, IBM,


HOW TO CONVERT VARIABLE BLOCK TO FIXED BLOCK ?

1 Answers   IBM,


what is the purpose of coding class parameter in job statement?

0 Answers   IBM,


mainframe questions like basic&depth

0 Answers   TetraSoft,


How does jcl act on a cobol code?

0 Answers  


what are the technical terms for // /* in jcl

3 Answers   Cap Gemini,


Categories