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 function of linear dataset in vsam?
differentiate between sequential files and esds files in vsam?
what is meant by s0c-07 system abend codes?
Yes. Because the alternate key would first locate the primary key, which in turn locates the actual record. Needs twice the number of I/Os.
What is the device independent method to indicate where a record is stored?
Why is it required to have a keyed directed retrieval?
in a cobol select statement for a ksds can you tell me what are the 3 possibilities for access?
How is record management performed in vsam?
what are the idcams commands that can be used for vsam and explain each of them.
what is the probability of a complete system distortion under high end low performing multiprocessor job?
How do you calculate record size of an alternate cluster?
explain the information contained in ci
Discuss record management in vsam?
name the utility program closely associated with vsam?
On which dataset you can have alt index?