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

State the differences between vsam and non-vsam files?

1034


What is a lds (linear data set) and what is it used for?

991


What are the information stored in ci?

995


is delete operation supported in an esds? Is rewrite operation possible in esds?

1091


What is the biggest disadvantage of using a vsam dataset?

1118


Explain about the file objects in vsam?

1029


differentiate between sequential files and esds files in vsam?

1151


What does the keyranges parameter in define cluster commends do?

929


is it required that primary key values have to be unique? Do alternate key values have to be unique?

1036


what do you mean by define model parameter?

1128


What is the function of entry sequenced data set?

1068


how do you define an altindx ? How do you use altindxs in batch, cics programs?

1057


what is a base cluster in vsam?

1125


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

1307


What is the difference between lds and esds?

1028