Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

defining vsam cluster with parameters giving prob when OPEN

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: defining vsam cluster with parameters giving prob when OPEN
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: 1703
Location: Australia

PostPosted: Mon Aug 04, 2008 10:37 am    Post subject:
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    Post subject:
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

Site Director


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

PostPosted: Mon Aug 04, 2008 11:17 am    Post subject:
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    Post subject: Reply to: defining vsam cluster with parameters giving prob
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Fail to change physical VSAM filename... jacobdng CICS 7 Fri Jan 20, 2017 12:36 pm
No new posts how to recover an uncataloged VSAM da... archanamuthukrishnan All Other Mainframe Topics 3 Wed Jan 11, 2017 6:18 pm
No new posts Underlying DB2 VSAM LDS - SMF recording vasanthz All Other Mainframe Topics 6 Thu Jan 05, 2017 4:20 am
No new posts BWO option in VSAM blayek CICS 3 Sat Nov 05, 2016 10:47 am
No new posts CICS NEW SIT PARAMETERS CICS BEHAVIOR... Kyle Carroll CICS 0 Fri Nov 04, 2016 11:55 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us