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

how to give record size in vsam while creating AIX


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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: 2481
Location: Netherlands, Amstelveen

PostPosted: Wed Jul 21, 2010 11:09 am
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: 8797
Location: Welsh Wales

PostPosted: Wed Jul 21, 2010 12:26 pm
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: 8696
Location: Dubuque, Iowa, USA

PostPosted: Wed Jul 21, 2010 3:59 pm
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: 2481
Location: Netherlands, Amstelveen

PostPosted: Wed Jul 21, 2010 4:10 pm
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: 8696
Location: Dubuque, Iowa, USA

PostPosted: Wed Jul 21, 2010 4:18 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts To find whether record count are true... DFSORT/ICETOOL 6
Search our Forums:

Back to Top