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 does the keyranges parameter in define cluster command do?
Explain the significance of the shareoptions parameter?
How do you define an altindx?
What is the purpose of idcams?
What are the distinctive features of a ksda, key sequenced dataset?
In a KSDS file, key is missing for one record. How to insert the key for that particular record from back up file. Is there any sorting needed for the back up file before the key insertion?
in a cobol select statement for a ksds can you tell me what are the 3 possibilities for access?
What is the use of lds (linear data set)?
Using alternate indexes in cics program?
what does a file status of 02 on a vsam signifies?
explain in brief why do vsam take more disk space than other utilities?
what do you mean by recovery and speed parameters in define cluster command?
name the utility program closely associated with vsam?
Explain the index set?
What is the place for VSAM KSDS?