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
 
how to give record size in vsam while creating AIX

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
ankitkja

New User


Joined: 21 Jul 2010
Posts: 4
Location: pune

PostPosted: Wed Jul 21, 2010 10:44 am    Post subject: how to give record size in vsam while creating AIX
Reply with quote

im trying to create a AIX.but not getting how to define the record size.
Back to top
View user's profile Send private message

PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2445
Location: Netherlands, Amstelveen

PostPosted: Wed Jul 21, 2010 11:09 am    Post subject:
Reply with quote

RECORDSIZE(average maximum)

defaults are : average = 4086
maximum = 32600

sample :

Code:

 DEF AIX(NAME(user.IMSXREF.STARTCMD.AIX) -                              00170015
  RELATE(user.IMSXREF.STARTCMD) -                                       00180015
  UPGRADE NUNQK VOLUMES(CTPB03) BUFFERSPACE(100000) -                   00190012
    KEYS(16 0) IMBD) -                                                  00200015
    DATA -                                                              00210015
      (NAME(user.IMSXREF.STARTCMD.AIX.DATA) SHR(3 3) CYL(1 1) -         00220015
       RECSZ(64000 64000) CISZ(32000)) -                                00230015
    INDEX -                                                             00240015
      (NAME(user.IMSXREF.STARTCMD.AIX.INDX) SHR(3 3) CYL(1) -           00250015
       CISZ(512))
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8619
Location: Back in jolly old England

PostPosted: Wed Jul 21, 2010 12:26 pm    Post subject:
Reply with quote

There was an extract posted on the forum for calculating the AIX RECSZ which Robert Sample supplied. If a search of the forum does not show that thread, then either the IDCAMS manual or the redbook VSAM demystified will show the formula.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8201
Location: East Dubuque, Illinois, USA

PostPosted: Wed Jul 21, 2010 3:59 pm    Post subject:
Reply with quote

AIX record size is based upon the size of the primary key, the size of the alternateindex key, and the number of allowed duplicate alternateindex keys (plus system overhead of course).
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2445
Location: Netherlands, Amstelveen

PostPosted: Wed Jul 21, 2010 4:10 pm    Post subject:
Reply with quote

Yes Robert, and as far as i see it, one should use high values when
expecting lots of duplicates. Most of the times i found it trial and error
handling doing AIX defines.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8201
Location: East Dubuque, Illinois, USA

PostPosted: Wed Jul 21, 2010 4:18 pm    Post subject:
Reply with quote

Peter: definitely -- unless you know the data real well, you're usually better off allowing for more than you expect will be needed!
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 ISSUE IN copying Sequential file reco... thesumitk JCL & VSAM 2 Wed Dec 13, 2017 3:07 pm
No new posts query to fetch record which has only ... maxsubrat DB2 12 Mon Dec 11, 2017 5:03 pm
No new posts Extract record for change in combinat... Trinadh DFSORT/ICETOOL 6 Thu Nov 23, 2017 3:32 pm
No new posts Compare VSAM files using DFSORT pshongal DFSORT/ICETOOL 5 Thu Nov 23, 2017 10:24 am
No new posts Extract Record using range of Data scorp_rahul23 DFSORT/ICETOOL 3 Wed Nov 15, 2017 11:54 pm

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