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 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: 2441
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: 8151
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: 2441
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: 8151
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 JES2 job size field matching Windows ... SRICOBSAS All Other Mainframe Topics 4 Tue Sep 05, 2017 5:49 pm
No new posts Creating ISPF Screens with Scrname vi... Albireo20 TSO/ISPF 9 Tue Sep 05, 2017 4:24 pm
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm
No new posts Repeat part of record multiple times Learncoholic DFSORT/ICETOOL 4 Tue Aug 29, 2017 11:33 am
No new posts Multiple VSAM files single output fil... Mohan Kothakota DFSORT/ICETOOL 11 Wed Aug 09, 2017 7:57 pm

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