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

defining vsam cluster with parameters giving prob when OPEN


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

New User


Joined: 22 Sep 2006
Posts: 33

PostPosted: Mon Aug 04, 2008 10:23 am
Reply with quote

Hi,

I'm definig cluster with the model as some other cluster then it is working fine...but when I'm trying to define a vsam cluster with the parameters ..it's giving OPEN FAILED

BELOW PIECE OF CODE WORKING FINE:

DELETE SCPE.VPGE.CMS.XXXX.YYY.S1.KE PURGE CLUSTER
SET MAXCC = 0
DEFINE CLUSTER (NAME(SCPE.VPGE.CMS.XXXX.YYYS1.KE) -
MODEL(SCPE.VPGE.CMS.XXXX.S1.KE))

AND MODEL CLUSTER PARAMETERS ARE LIKE THIS:

DEFINE CLUSTER -
(NAME(SCPP.VPGE.CMS.AMBS.S1.KE) -
DATACLASS(MGXNEASB) -
FREESPACE(0 0) -
INDEXED -
KEYS(22,0) -
REUSE -
RECORDSIZE(6500,6500) -
SHAREOPTIONS(2,3) -
SPEED -
VOLUME(*)) -
DATA -
(NAME(SCPP.VPGE.CMS.AMBS.S1.KE.D) -
CYLINDERS(500 500)) -
INDEX -
(NAME(SCPP.VPGE.CMS.AMBS.S1.KE.I) -
CYLINDERS(2 2))

BELOW PIECE OF CODE CAUSING OPEN FAILED PROB:

DELETE SCPT.VPGE.CMS.AMBS.DIV.S1.KE PURGE CLUSTER
SET MAXCC = 0
DEFINE CLUSTER -
(NAME(SCPT.VPGE.CMS.AMBS.DIV.S1.KE) -
DATACLASS(MGXNEASB) -
FREESPACE(0 0) -
INDEXED -
KEYS(22,0) -
REUSE -
RECORDSIZE(6500,6500) -
SHAREOPTIONS(2,3) -
SPEED -
VOLUME(*)) -
DATA -
(NAME(SCPT.VPGE.CMS.AMBS.DIV.S1.KE.D) -
CYLINDERS(25,25)) -
INDEX -
(NAME(SCPT.VPGE.CMS.AMBS.DIV.S1.KE.I) -
CYLINDERS(2 2))






I have given same parameters as model cluster except I don't want that many cylinders tht's why I changed only cylinders filed above...

Can any one tell me..what to do to solve this problem? I'm not getting why model is working not parameters?...
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1702
Location: Australia

PostPosted: Mon Aug 04, 2008 10:37 am
Reply with quote

Hi,

the piece of code that is working has a different cluster name than the piece of code causing open failed prob.


Gerry
Back to top
View user's profile Send private message
santhunaveen

New User


Joined: 22 Sep 2006
Posts: 33

PostPosted: Mon Aug 04, 2008 11:09 am
Reply with quote

Hi,

BY MISTAKE I HAVE GIVEN DIFF NAMES IN THE POST..BUT IN PROG I HAVE GIVEN CORRECT NAMES ONLY

I'm definig cluster with the model as some other cluster then it is working fine...but when I'm trying to define a vsam cluster with the parameters ..it's giving OPEN FAILED

BELOW PIECE OF CODE WORKING FINE:

DELETE SCPE.VPGE.CMS.XXXX.YYY.S1.KE PURGE CLUSTER
SET MAXCC = 0
DEFINE CLUSTER (NAME(SCPE.VPGE.CMS.XXXX.YYYS1.KE) -
MODEL(SCPP.VPGE.CMS.XXXX.S1.KE))

AND MODEL CLUSTER PARAMETERS ARE LIKE THIS:

DEFINE CLUSTER -
(NAME(SCPP.VPGE.CMS.XXXX.S1.KE) -
DATACLASS(MGXNEASB) -
FREESPACE(0 0) -
INDEXED -
KEYS(22,0) -
REUSE -
RECORDSIZE(6500,6500) -
SHAREOPTIONS(2,3) -
SPEED -
VOLUME(*)) -
DATA -
(NAME(SCPP.VPGE.CMS.XXXX.S1.KE.D) -
CYLINDERS(500 500)) -
INDEX -
(NAME(SCPP.VPGE.CMS.XXXX.S1.KE.I) -
CYLINDERS(2 2))

BELOW PIECE OF CODE CAUSING OPEN FAILED PROB:

DELETE SCPT.VPGE.CMS.XXXX.YYY.S1.KE PURGE CLUSTER
SET MAXCC = 0
DEFINE CLUSTER -
(NAME(SCPT.VPGE.CMS.XXXX.YYY.S1.KE) -
DATACLASS(MGXNEASB) -
FREESPACE(0 0) -
INDEXED -
KEYS(22,0) -
REUSE -
RECORDSIZE(6500,6500) -
SHAREOPTIONS(2,3) -
SPEED -
VOLUME(*)) -
DATA -
(NAME(SCPT.VPGE.CMS.XXXX.YYY.S1.KE.D) -
CYLINDERS(25,25)) -
INDEX -
(NAME(SCPT.VPGE.CMS.XXXX.YYY.S1.KE.I) -
CYLINDERS(2 2))






I have given same parameters as model cluster except I don't want that many cylinders tht's why I changed only cylinders filed above...

Can any one tell me..what to do to solve this problem? I'm not getting why model is working not parameters?...
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Mon Aug 04, 2008 11:17 am
Reply with quote

Hello,

It would help if you post the diagnostic info presented by the idcams execution. Use copy/paste rather than re-typing. Make sure you get all of the diagnostic info.

Is this possibly the first attempt for the new file? The very first time, the delete will fail because there is nothing to delete.
Back to top
View user's profile Send private message
santhunaveen

New User


Joined: 22 Sep 2006
Posts: 33

PostPosted: Mon Aug 04, 2008 3:21 pm
Reply with quote

Hi,

IDCAMS step was executed sucessfully...below step i'm using new cluster in my program for output...in program i opened in output mode..i'm getting below open error...

******************************************************************************
************************************************************
00000 STA=30 RC=000000 LOC=BD1 MSG=GCDVXXX --- OPEN ERROR - XXXX FILE
PERMANENT ERROR

***********************************************************
***********************************************************
***********************************************************
***********************************************************
***********************************************************
CEE3250C The system or user abend U 999 R=NULL was issued.
From compile unit SSSABEND at entry point SSSABEND at compile unit offs
at address 1BEDA108.



ya..we can..bcz whn next it trying to create with the sam name..thn it gives error hence we delete and set maxcc to 0...and then creating....the probelm is not with delete...it's prob with defn with parameters instead of model.
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 Access to non cataloged VSAM file JCL & VSAM 18
No new posts Calling an Open C library function in... CICS 1
No new posts Merge two VSAM KSDS files into third ... JCL & VSAM 6
No new posts Passing Parameters to Programs Invoke... PL/I & Assembler 5
No new posts CVDA value for RRDS VSAM dataset. CICS 2
Search our Forums:

Back to Top