View previous topic :: View next topic
|
Author |
Message |
abin
Active User
Joined: 14 Aug 2006 Posts: 198
|
|
|
|
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 |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
Back to top |
|
|
abin
Active User
Joined: 14 Aug 2006 Posts: 198
|
|
|
|
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.
|
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
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 |
|
|
abin
Active User
Joined: 14 Aug 2006 Posts: 198
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
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 |
|
|
|