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

explain concatinating datasets?

Answer Posted / ravi

In JCL , we can concatenate different files by giving their
name one after another. All data sets concated must be of
the same type. For example,
1)partitioned data sets can be concatenated only with
partitioned data sets.
2)Record format should be same
3) All the files should on same device (like DASD, Tape)
4) File having largest BLKSIZE should be mentioned first

Maximum of 255 sequential data sets can be concatenated
Maximum of 16 partitioned data sets can be concatenated


Example JCL --> //MYJOB JOB (W345),'XXX'
//STEP1 EXEC PGM=COBPROG
//INFILE DD DSN=TEST.GLOB.FILE1
// DSN=TEST.GLOB.FILE2
// DSN=TEST.GLOB.FILE3

In program , we will read it as an single file.
concatination of three files done by operating system.

Is This Answer Correct ?    12 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does it mean by Restart and Checkpoint in JCL ? How are checkpoints being taken and what is their usage ? How to use Checkpoint macro on a JOBSTEP ?

9703


What are the utility programs in jcl?

1108


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

1090


What is notcat 2 - gs?

1423


What are steplib and joblib? What for they are used?

1154


What is the function of job statement in jcl?

1052


define cond parameter in jcl?

1227


when can a job time-out occur? How to overcome that?

1228


Can we use DISP=SHR in output file in JCL

1378


I want to join to input files and write the matching fields on to an output file but i dont want the output file a sorted one

2396


Can I send output of job to my remote device careerride123?

1089


What methodology can be adapted to transfer data to a program that is coded using the exec statement?

1153


How is the record format of an output dataset specified?

1125


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

1202


How can unused space allocation be returned to the system when a dataset is closed?

1427