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
Tell about the ams used in vsam?
Can you delete vsam files with the delete option of the disposition parameter of jcl?
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 are the advantages of vsam over isam?
what do you mean by gdg in vsam?
we can define the ksds cluster by two ways by using the file-aid or by using the idcams utility. Explain them.
explain the information contained in ci
What is the device independent method to indicate where a record is stored?
what is meant by dirty read in vsam?
What is speed parameters in define cluster command?
in a cobol select statement, can you tell what is the organization for a ksds?
Using alternate indexes in cics program?
what do you mean by a vsam split?
How does control intervals and control areas related to each other?
write a program to read from a VSAM file , there will be a 5 records to create name. empno. resignation and address to update in a db2 table and call another program using dynamic call to find the matching fields in program 1 to update in db2 table. anybody pls send de program for dis ? thanks in advance...