jsharon1248 Intermediate
Joined: 08 Aug 2007 Posts: 291 Topics: 2 Location: Chicago
|
Posted: Fri Feb 01, 2008 9:44 am Post subject: |
|
|
Ok. You're still using the true VSAM key in the base cluster when you do your reads with scenario #1. You're only using a different data area in the COBOL program to store the key. Think of it this way, you could change the RECORD KEY data area name to CURIOUS-GEORGE, put it anywhere in the record, and when you populate that field with the value 'XYZ', COBOL will read the VSAM record with the key value = 'XYZ'. What you're doing in #1 is tricky business and I wouldn't recommend it.
Now for the performance issue. Even though you allocated the PATH in your JCL, you never really used it in #1. You didn't specify the ALTERNATE RECORD KEY in your ASSIGN, so you never even opened the AIX. Scenario #2 is using the AIX. You're just experiencing a peformance issue with the AIX. What I'd recommend is increasing the BUFNI. I don't remember the defaults for AIX, they're probably the same as the base cluster. Bump up the BUFNI to 5, 7, or 10, and see if there's any improvement from one to the next. |
|