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: 2453
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: 8686
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: 8344
Location: Dubuque, Iowa, 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: 2453
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: 8344
Location: Dubuque, Iowa, 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 How to Count a particular record in a... Mounika Nemani DFSORT/ICETOOL 5 Tue May 29, 2018 1:07 pm
No new posts TRAILER3 is creating blank record in ... kodeesm DFSORT/ICETOOL 3 Fri May 18, 2018 5:45 pm
No new posts Not able to export the VSAM cluster sandeep kumar302 JCL & VSAM 6 Fri May 04, 2018 12:42 pm
No new posts IDCAMS RENAMING VSAM FILE ALONG WITH ... upendrasri JCL & VSAM 12 Tue Apr 17, 2018 10:42 pm
No new posts VSAM file NOT Found error while proce... SumaReva CICS 5 Wed Apr 11, 2018 9:54 pm

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