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
State the differences between vsam and non-vsam files?
What is a lds (linear data set) and what is it used for?
What are the information stored in ci?
is delete operation supported in an esds? Is rewrite operation possible in esds?
What is the biggest disadvantage of using a vsam dataset?
Explain about the file objects in vsam?
differentiate between sequential files and esds files in vsam?
What does the keyranges parameter in define cluster commends do?
is it required that primary key values have to be unique? Do alternate key values have to be unique?
what do you mean by define model parameter?
What is the function of entry sequenced data set?
how do you define an altindx ? How do you use altindxs in batch, cics programs?
what is a base cluster in vsam?
we can define the ksds cluster by two ways by using the file-aid or by using the idcams utility. Explain them.
What is the difference between lds and esds?