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

Mention the types of job control statements?

1224


how to do automated restart when a job abends?

1424


Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?

1287


define cond parameter in jcl?

1326


How to override loadlib?

2114


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

2611


What is notcat 2 - gs?

1514


How can return codes be tested before execution of a job step?

1535


How can a stopped job be started again?

1242


Explain how can values be passed from the job stream to an executable program?

1312


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

1313


Is their any set of rules for dd? Explain.

1267


How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?

2322


Explain the hierarchy levels in jcl?

1725


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

1329