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

how to concatenate datasets

Answer Posted / pkb

It is possible to process more than one data set as a single data set by concatenating the DD statements.

//QSAM0080 DD DSN=SIMOTIME.DATA.FILE0001,DISP=SHR
// DD DSN=SIMOTIME.DATA.FILE0002,DISP=SHR
// DD DSN=SIMOTIME.DATA.FILE0003,DISP=SHR
The following is an example of a COBOL SELECT statement.


here the COBOL program will read QSAM0080 and the DD statements will map the three files (FILE0001, FILE0002 and FILE0003) as one file. The program's initial read will get the first record from FILE0001 and will not get an End-of-File condition until the last record of FILE0003 is processed.

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is it possible to define dd statements as you want?

1122


Differentiate between addressing mode and run mode.

1089


a set statement is used to define commonly used symbolic across job steps or procedures. It initializes the previous values in the symbolic names. It has to be defined before the first use of the symbolic names in the jcl. State whether true or false?

1096


How to submit a jcl from cics?

1158


What is the significance of addrspc parameter in exec statement?

1219


in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?

2718


What parameter of the job statement is used to limit the cpu time consumed by the job?

1283


Give the syntax of job specifying jcl statement.

1156


What are s0c1, s0c4, s0c5, s0c7 and socb?

1183


what happens in conversion stage in job processing?

1231


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

1093


What are the parameter we cannot use in procedure? How many instream we can write in single jcl?

1086


What is the difference between the positional and keyword parameters? Give examples.

1274


What is notcat 2 - gs?

1480


Explain the function of dd disp parameter?

1133