IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

VSAM Error: A REQUIRED VOLUME LIST HAS BEEN OMITTED


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
abin

Active User


Joined: 14 Aug 2006
Posts: 198

PostPosted: Sat Mar 24, 2007 5:56 pm
Reply with quote

Can anybody explain to me about the importance of key word VOLUME in IDCAMS

The following IDCAMS was working fine in test region but got error in production

error is IDC3506I A REQUIRED VOLUME LIST HAS BEEN OMITTED

DEFINE CLUSTER (NAME(IPHP.NONV.DRUG.IPH841NR.INTRN.ERVSAM) -
INDEXED -
RECORDSIZE(25 25) -
KEYS(25 0) -
UNIQUE) -
DATA (NAME(IPHP.NONV.DRUG.IPH841NR.INTRN.ERVSAM.DATA) -
CYLINDERS(10 10) ) -
INDEX (NAME(IPHP.NONV.DRUG.IPH841NR.INTRN.ERVSAM.INDEX))
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Sat Mar 24, 2007 6:53 pm
Reply with quote

If you do not specify the MODEL parameter, VOLUMES must be specified either as a parameter of CLUSTER, or as a parameter of both DATA and INDEX. If the data and index components are to reside on different device types, you must specify VOLUMES as a parameter of both DATA and INDEX. If more than one volume is listed with a single VOLUMES parameter, the volumes must be of the same device type.
Back to top
View user's profile Send private message
abin

Active User


Joined: 14 Aug 2006
Posts: 198

PostPosted: Sat Mar 24, 2007 8:30 pm
Reply with quote

Thanks will ,

That was correct I missed the VOLUME parameter.

The reason it worked in test region was test DASD was defaulted in our shop for all test jobs. But in production the case is different, you need to specify VOLUME.

In my shop even if I miss UNIT parameter in a DD statement file will be created in test DASD.
icon_smile.gif
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Mon Mar 26, 2007 2:08 pm
Reply with quote

If your shop is SMS managed, methinks your storage guys are a bit lapse there.

Why was the dataset not automatically put into its correct STORGRP - it has space defined so no possible confusion on whether it is a tape dataset or not.
Back to top
View user's profile Send private message
abin

Active User


Joined: 14 Aug 2006
Posts: 198

PostPosted: Mon Mar 26, 2007 2:24 pm
Reply with quote

It is not a Tape data set, It is DASD, but the problem was in test region UNIT was defaulted and in production it was not.

And yes shop is SMS managed.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Mon Mar 26, 2007 3:12 pm
Reply with quote

Actually it is an IDCAMS error message - where IDCAMS must have that parameter specified in the control statements.

I would say that the DATACLAS allocated to your VSAM cluster does not have a default number of volumes defined, so if it is not otherwise defined in the IDCAMS control statements, the define will fail.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts How to create a list of SAR jobs with... CA Products 3
Search our Forums:

Back to Top