MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

VSAME FILE CREATION PROBLEM

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Data Management
View previous topic :: View next topic  
Author Message
rama krishna reddy
Beginner


Joined: 18 Sep 2006
Posts: 31
Topics: 13
Location: Hyderabad

PostPosted: Tue Oct 17, 2006 7:36 am    Post subject: VSAME FILE CREATION PROBLEM Reply with quote

Hi iam facing problem while creating ksds cluster can one help me in finding the problem .

Find the below code which i have used. i did thru 3.2 option(ISPF)

/* IDCAMS COMMAND */
DEFINE CLUSTER (NAME(WXX262.RAMA.VSAM) -
CYLINDERS(10 10) -
BUFFERSPACE(100) -
CONTROLINTERVALSIZE(4096) -
STORAGECLASS(SYSDA) -
FREESPACE(10 10) -
KEYS(10 0) -
OWNER(PU5500A) -
RECORDSIZE(80 80) -
SHAREOPTIONS(1 3) -
SPEED -
INDEXED -
) -
DATA (NAME(WXX262.RAMA.VSAM.DATA) -
CYLINDERS(10 10) -
CONTROLINTERVALSIZE(2048) -
FREESPACE(10 10) -
KEYS(10 0) -
RECORDSIZE(80 80) -
SHAREOPTIONS(3 3) -
NOERASE -
ORDERED -
RECOVERY -
NOREUSE -
) -
INDEX (NAME(WXX262.RAMA.VSAM.INDEX) -
)
IDC3505I INCORRECT SPECIFICATION OF SPACE ALLOCATION
IDC3003I FUNCTION TERMINATED. CONDITION CODE IS 12

IDC0002I IDCAMS PROCESSING COMPLETE. MAXIMUM CONDITION CODE WAS 12
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
shekar123
Advanced


Joined: 22 Jul 2005
Posts: 528
Topics: 90
Location: Bangalore India

PostPosted: Tue Oct 17, 2006 8:10 am    Post subject: Reply with quote

Rama Krishna Reddy,

Try this code.I included Volumes paramter and Records parameter.Check this link for defining cluster:

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/dgt1v403/3.7?DT=19990113080956

Code:

//STEP010 EXEC PGM=IDCAMS                                               
//SYSPRINT DD SYSOUT=*                                                 
//SYSOUT   DD SYSOUT=*                                                 
//SYSIN    DD *                                                         
  DEFINE CLUSTER (NAME(WXX262.RAMA.VSAM) -                             
  VOLUMES(XXXXXX)  -                                                   
  RECORDS(10 50)   -                                                   
  BUFFERSPACE(100) -                                                   
  CONTROLINTERVALSIZE(4096) -                                           
  STORAGECLASS(SYSDA) -                                                 
  FREESPACE(10 10) -                                                   
  KEYS(10 0) -                                                         
  OWNER(PU5500A) -                                                     
  RECORDSIZE(80 80) -                                                   
  SHAREOPTIONS(1 3) -                                                   
  SPEED -                                                               
  INDEXED -                                                             
  ) -                                                                   
  DATA (NAME(WXX262.RAMA.VSAM.DATA1) -                                 
  VOLUMES(XXXXXX)  -                                                   
  CONTROLINTERVALSIZE(2048) -                                           
  FREESPACE(10 10) -                                                   
  KEYS(10 0) -                                                         
  RECORDSIZE(80 80) -                                                   
  SHAREOPTIONS(3 3) -                                                   
  NOERASE -                                                             
  ORDERED -                                                             
  RECOVERY -                                                           
  NOREUSE -                                                             
  ) -                                                                   
  INDEX (NAME(WXX262.RAMA.VSAM.INDEX) -                               
  )                                                                     
//               

You were getting this error because of :
Code:

   IDC3505I INCORRECT SPECIFICATION OF SPACE ALLOCATION



Explanation: The space parameters TRACKS, CYLINDER, or RECORDS do not appear on the appropriate object parameter list.
System Action: The command is ended.

Application Programmer Response: Probable user error. See the DEFINE command and space specifications in z/OS DFSMS Access Method Services for Catalogs.

System Programmer Response: If the error recurs and the program is not in error, search problem reporting data bases for a fix for the problem. If no fix exists, contact the IBM Support Center. Provide the JCL and the SYSOUT output for the job.

Source: DFSMSdfp

Detecting Module: IDCDE01

_________________
Shekar
Grow Technically
Back to top
View user's profile Send private message
Bill Dennis
Advanced


Joined: 03 Dec 2002
Posts: 579
Topics: 1
Location: Iowa, USA

PostPosted: Tue Oct 17, 2006 8:16 am    Post subject: Reply with quote

Most likely because you coded SPACE for the DATA and CLUSTER. Either code SPACE for the CLUSTER and let IDCAMS figure out the pieces or supply for DATA and INDEX space amounts.
_________________
Regards,
Bill Dennis

Disclaimer: My comments on this foorum are my own and do not represent the opinions or suggestions of any other person or business entity.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Data Management All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group