At 16:33 -0700 on 04/03/2012, Frank Swarbrick wrote about Re: VSAM help wanted for random reads:

The idea of putting the record type at the end rather than the beginning is an interesting idea.Ý Unless there's some way of doing that without having to change any programs I don't think we'd want to take the time.Ý However I am interested enough to try it with this one program and see what effect it has.

Create an AIX pointing at the file with the AIX key being the account number followed by the record type. Change the update program's logic to access and update the AIX not the BASE File. All other programs access the BASE file as at present. Note that this requires you to look for ACCOUNT-NUMBER suffixed by 4 and look for equal-to or greater (ie: Accept the type 5 if it gets returned due to no type 4). Also you need to check the returned account number in case there is no 4 or 5 for the account number.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to