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 purpose of idcams?
What are the different parameters that are used in vsam?
Explain the catalog?
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 device independent method to indicate where a record is stored?
What is the function of linear dataset in vsam?
What is the place for VSAM KSDS?
How to get the last record in vsam file in cluster? And how can u get the ksds file records into cobol program?
what is the syntax of ams modal commands?
What does the keyranges parameter in define cluster command do?
Why is it required to have a keyed directed retrieval?
what is the use of the file status clause in the select statement in vsam?
What is the purpose of relative record data set used in vsam?
What is the use of lds (linear data set)?
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?