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
 

 

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: 2433
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: 8593
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: 8057
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: 2433
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: 8057
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 Adding big TEXT lines to each record ... bshkris SYNCSORT 4 Sat May 06, 2017 1:40 am
This topic is locked: you cannot edit posts or make replies. Merge two files and update Trailer re... Yashashri JCL & VSAM 1 Thu May 04, 2017 12:54 pm
No new posts To find out size allocated to a seque... ashek15 JCL & VSAM 15 Thu Apr 27, 2017 9:42 am
No new posts VSAM Space Allocation mrgnndhmk JCL & VSAM 7 Sat Apr 22, 2017 12:42 am
No new posts Sort Large record length cmsmoon DFSORT/ICETOOL 14 Tue Apr 11, 2017 5:49 pm


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