Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 Reply MQ open error Vignesh Sid COBOL Programming 5 Thu Sep 07, 2017 6:02 pm
This topic is locked: you cannot edit posts or make replies. Selecting two copybooks of different ... Vignesh Sid COBOL Programming 8 Tue Sep 05, 2017 7:28 pm
No new posts Multiple VSAM files single output fil... Mohan Kothakota DFSORT/ICETOOL 11 Wed Aug 09, 2017 7:57 pm
No new posts DB2 Program abending without giving a... rahulgarg14 DB2 7 Mon May 29, 2017 8:10 pm
No new posts VSAM Space Allocation mrgnndhmk JCL & VSAM 7 Sat Apr 22, 2017 12:42 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us