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
What is the main function of key-sequenced data set?
Explain the difference between lds and esds?
What is the device independent method to indicate where a record is stored?
How to get the last record in vsam file in cluster?
Define free space?
What is the purpose of having vsam data space?
What are the different commands used in idcams for vsam?
What are the different dataset organizations used in vsam?
What is the purpose of control intervals in vsam?
What is the use of access method services in vsam?
What is the main purpose of having user catalog in vsam?
What are the steps involved in access method services?
What makes vrrds different from vsam?
How is record management performed in vsam?
what is the meaning of dynamic processing in vsam?