Caveat: insert daily digesting delay here... 1) I didn't see anyone else mention (yesterday) but, shouldn't it be RecordSize(77 4096) to match AvgLRecl---77, MaxLRecl--- 4096? It's true that CISize--- 4608 allows 4601 (for non-SPANNED) but that's not how Willie's ListCat reads.
2) As far as I know, the only reference between Keys & RecordSize is that "[KEYS] The sum of length plus offset cannot exceed the length of the shortest record." [1] That implies 77 is the smallest value for RecordSize() but I don't know if it's enforced or even validated. 3) It's true Willie doesn't need to specify BufSpace since VSAM will generate one. However, if he's trying to re-create something for testing, I'd specify it as well. [1] after all, it's an indexed dataset so each record needs a full key in it. Seems like VSAM, as designed, doesn't allow short/variable keys in the data record. Index records are a different kettle of fish. --------> signature = 6 lines follows <-------- Neil Duffee, Joe Sysprog, uOttawa, Ottawa, Ont, Canada telephone:1 613 562 5800 x4585 fax:1 613 562 5161 mailto:NDuffee of uOttawa.ca http:/ /aix1.uOttawa.ca/ ~nduffee “How *do* you plan for something like that?” Guardian Bob, Reboot “For every action, there is an equal and opposite criticism.” “Systems Programming: Guilty, until proven innocent” John Norgauer 2004 -----Original Message----- From: Willie Bunter [mailto:wil...bun...@yah...com] Sent: January 21, 2015 10:31 Subject: Re: QUESTION DEFINE CLUSTER Thanks Anthony. For my understanding you say to use the value of 77 for RECORDSIZE(77 4601)) Is the value from the KEYS parm (77 0) which is also applied to the RECORDSIZE of (77 4601)) -----Original Message----- From: Sambataro, Anthony (NIH/NBS) [E] [mailto:ant...sa...@nih...gov] Sent: January 21, 2015 10:24 Subject: Re: QUESTION DEFINE CLUSTER Yes, except RECORDSIZE should be RECORDSIZE(77 4601)) - and there's no need to include the BUFSPACE parameter -----Original Message----- From: Willie Bunter [mailto:000...@lis...ua.edu] Sent: Wednesday, January 21, 2015 9:51 AM Subject: Re: QUESTION DEFINE CLUSTER Thanks for the hints. I was able to find a VSAM dsn (Prod) that I would like to mimic. This is what the LISTCAT says: KEYLEN ---77 AVGLRECL---77 BUFSPACE ---13824 CISIZE--- 4608 MAXLRECL--- 4096 Would this be correct if I apply your suggestion: KEYS (77 0) - SHAREOPTIONS (2 3) - CISZ (4608) - BUFSPACE (13824) - RECORDSIZE(0 4601)) - The reason why I am not using the LIKE parm is because we are trying to diagnose a problem. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN