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 can you create a VSAM dataset? Can you write a JCL for it?

Answer Posted / krishnan a

Using IDCAMS Utility we can create the VSAM data Set.
//jobname JOB CLASS=P,MSGCLASS=P,USER=SYSADM
//STEP1 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SYSIN DD *
DEFINE CLUSTER(NAME(SAMPLE.datasetname)-
FOR(365)-
RECORDSIZE(64,64)-
CONTROLINTERVALSIZE(1024)-
TRK(10,5)-
NOERASE-
FREESPACE(30,30)-
INDEXED-
KEYS(64,0)-
SHARE OPTION(1 3))

Is This Answer Correct ?    33 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of idcams?

1058


What are the different parameters that are used in vsam?

1163


Explain the catalog?

999


we can define the ksds cluster by two ways by using the file-aid or by using the idcams utility. Explain them.

1336


What is the device independent method to indicate where a record is stored?

1052


What is the function of linear dataset in vsam?

1079


What is the place for VSAM KSDS?

1109


How to get the last record in vsam file in cluster? And how can u get the ksds file records into cobol program?

1044


what is the syntax of ams modal commands?

1268


What does the keyranges parameter in define cluster command do?

1058


Why is it required to have a keyed directed retrieval?

1029


what is the use of the file status clause in the select statement in vsam?

1123


What is the purpose of relative record data set used in vsam?

1102


What is the use of lds (linear data set)?

1038


Under idcams, multiple functions can be executed, each of which returns a condition code. What will be the condition code returned to the operating system?

1031