How can you create a VSAM dataset? Can you write a JCL for it?

Answers were Sorted based on User's Feedback



How can you create a VSAM dataset? Can you write a JCL for it?..

Answer / 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

How can you create a VSAM dataset? Can you write a JCL for it?..

Answer / swapnil

USING AN ISPF YOU CAN CREATE VSAM

IN THAT ISPF PROVIDE YOU JCL CODE YOU NOT NEED TO WRITE ANY
CODE FOR THAT JUST SUBMIT YOUR JOB

WITH HELP OF JCL YOU CAN CREATE VSAM DATASET IT IS SIMILAR
TO THE ISPF CREATED CODE.

Is This Answer Correct ?    11 Yes 9 No

How can you create a VSAM dataset? Can you write a JCL for it?..

Answer / satish

actually,vsam dataset is known as cluster. we can create cluster by using define(utility: idcams) along with sysin dd in jcl.

Is This Answer Correct ?    2 Yes 1 No

How can you create a VSAM dataset? Can you write a JCL for it?..

Answer / vasu

by using ifbr14 also we can create.in case of that we need
to code dsorg=ks/rr/es like dis in dd statement i read it
in one book.

Is This Answer Correct ?    4 Yes 12 No

Post New Answer

More VSAM Interview Questions

What is recovery parameters in define cluster command?

0 Answers  


1. delete is not possible in esds. why? 2. i have 10 records in a esds file and i want to delete only 1st record ..then what i have to do?.. it will not affect any sequence of the RBA. 3. why open extend is not possible in rrds vsam file?

3 Answers  


Define free space?

0 Answers  


What is the use of VSAM files? How to read this ?

3 Answers   CTS,


what are the different types of vsam files available? Explain them

1 Answers   IBM,






What are the different versions of gdg named?

0 Answers  


Explain the biggest disadvantage of using a vsam dataset?

0 Answers  


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...

0 Answers   CTS,


what will happen when you try to open an empty vsam file in a cobol program for input?

0 Answers   IBM,


How are different versions of GDG named ?

2 Answers   IBM,


explain in brief what are the 3 types of vsam files?

0 Answers   IBM,


How Vsam was evolved? What was the equivalent file for ESDS,KSDS and RRDS prior to evolution? What were their disadvantages of those file which leads to evolution of ESDS,KSDS and RRDS files ?

1 Answers  


Categories