Re: QUESTION DEFINE CLUSTER
OK, that sounds good, just thought I'd double check that value -Original Message- From: Willie Bunter [mailto:001409bd2345-dmarc-requ...@listserv.ua.edu] Sent: Wednesday, January 21, 2015 10:59 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: QUESTION DEFINE CLUSTER Thanks for correcting me. As for the value on the LISTCAT for RKP it is 0. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
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)) -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: QUESTION DEFINE CLUSTER
Have a look at sys1.help(define) ITschak בתאריך 21 בינו 2015 15:05, willie bunter 001409bd2345-dmarc-requ...@listserv.ua.edu כתב: Good Day To All, I have to build a VSAM cluster from scratch but I am having a problem trying to code the right parms. For example in a LISTCAT I find the parms of KEYLEN AVGLERCL MAXLERCL CISIZE etc. I checked the doc : z/OSDFSMS Access Method Services for Catalogs SC26 but these parms are not there. From my experience I am able to match the KEYLEN to KEYS however for the other parms (some I have not listed) I am unable to do so. Could someone tell me if there is a doc where I can match the LISTCAT with the DEFINE CLUSTER parms? Thanks -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: QUESTION DEFINE CLUSTER
Thanks Itshack for the tip. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: QUESTION DEFINE CLUSTER
Thanks Anthony for your help. A thank you to Elardus as well. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: QUESTION DEFINE CLUSTER
Thanks for correcting me. As for the value on the LISTCAT for RKP it is 0. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: QUESTION DEFINE CLUSTER
No, the listcat indicated avglrecl is 77, recordsize parameter asks for avglrecl in first subparameter field. What value does your listcat say for RKP? -Original Message- From: Willie Bunter [mailto:001409bd2345-dmarc-requ...@listserv.ua.edu] Sent: Wednesday, January 21, 2015 10:31 AM To: IBM-MAIN@LISTSERV.UA.EDU 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)) -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: QUESTION DEFINE CLUSTER
Hi: The average record size is probably one of the nonsense parameters in the CLUSTER definition. It is my understanding that it is used primarily when you define the space requirements in RECORDS versus Cylinders and Tracks. Do you really know the average record size? I am not completely sure if there has been a change in this area but VSAM did not update this figure even after the file is loaded. Therefore, if you set it too low and use RECORDS for the space definition, you could wind up with a lot of extents. I tend to use the most common record size for this figure but YMMV. Regards, Gene In a message dated 1/21/2015 11:30:47 A.M. SA Western Standard Time, 001409bd2345-dmarc-requ...@listserv.ua.edu writes: 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)) -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: QUESTION DEFINE CLUSTER
You can use the LIKE Function for the define vsam. LIKE-Specifies that the properties of an existing cataloged data set should be used to allocate a new data set. For a list of the properties that can be copied, see z/OS MVS JCL Reference. The definition in the JCL Manual applies to the IDCAMS DEFINE VSAM command. Lizette -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of willie bunter Sent: Wednesday, January 21, 2015 6:03 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: QUESTION DEFINE CLUSTER Good Day To All, I have to build a VSAM cluster from scratch but I am having a problem trying to code the right parms. For example in a LISTCAT I find the parms of KEYLEN AVGLERCL MAXLERCL CISIZE etc. I checked the doc : z/OSDFSMS Access Method Services for Catalogs SC26 but these parms are not there. From my experience I am able to match the KEYLEN to KEYS however for the other parms (some I have not listed) I am unable to do so. Could someone tell me if there is a doc where I can match the LISTCAT with the DEFINE CLUSTER parms? Thanks -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
QUESTION DEFINE CLUSTER
Good Day To All, I have to build a VSAM cluster from scratch but I am having a problem trying to code the right parms. For example in a LISTCAT I find the parms of KEYLEN AVGLERCL MAXLERCL CISIZE etc. I checked the doc : z/OSDFSMS Access Method Services for Catalogs SC26 but these parms are not there. From my experience I am able to match the KEYLEN to KEYS however for the other parms (some I have not listed) I am unable to do so. Could someone tell me if there is a doc where I can match the LISTCAT with the DEFINE CLUSTER parms? Thanks -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: QUESTION DEFINE CLUSTER
Anthony, 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
Re: QUESTION DEFINE CLUSTER
Willie Bunter wrote: I have to build a VSAM cluster from scratch What type of VSAM dataset? For example in a LISTCAT I find the parms of KEYLEN AVGLERCL MAXLERCL CISIZE etc. I checked the doc : z/OSDFSMS Access Method Services for Catalogs SC26 but these parms are not there. Check the chapter 'DEFINE CLUSTER' in that book. From my experience I am able to match the KEYLEN to KEYS however for the other parms (some I have not listed) I am unable to do so. Like many storage admins, reading LISTC output and matching the keywords is indeed an exercise. ;-) Could someone tell me if there is a doc where I can match the LISTCAT with the DEFINE CLUSTER parms? Perhaps others know of such document, but I believe there is a CBTTAPE program which can recreate a VSAM dataset based on LISTC output. LISTC show the 3 parts - CLUSTER, DATA and INDEX. The sequence of the 3 parts are in the same order as listed (for DEFINE CLUSTER) in the book, but of course the keywords and the order of keywords are not the same. What you can do for now: Just concentrate on one part of LISTC output, say DATA and finish the matching and move on to the next part. The ATTRIBUTES part should be easy - the keywords are generally the same. The second line 'IN-CAT' in LISTC output is actually the LAST keyword, CATALOG(cat), of DEFINE CLUSTER. The keyword content of NAME in both DATA and INDEX part are shown in ASSOCIATIONS (in the first few lines of LISTC). I think you should list all the words (and in which of the 3 parts of LISTC) you're struggling with, so we can give you the right keyword for that word. Groete / Greetings Elardus Engelbrecht -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: QUESTION DEFINE CLUSTER
Elardus, The VSAM dsn I am trying to build is a KSDS. The keywords I am having a problem with is AVGLRECL MAXLRECL RKP BUFSPACE PHYREC-SIZE I checked the doc again but it doesn't tell me what the LISTCAT shows. Thanks for your help. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: QUESTION DEFINE CLUSTER
Look at [RECORDSIZE(average maximum)] for AVGLRECL MAXLRECL and [KEYS(length offset| 64 0] for RKP and [BUFFERSPACE(size)] for BUFSPACE I believe PHYREC-SIZE is calculated by VSAM -Original Message- From: Willie Bunter [mailto:001409bd2345-dmarc-requ...@listserv.ua.edu] Sent: Wednesday, January 21, 2015 8:45 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: QUESTION DEFINE CLUSTER Elardus, The VSAM dsn I am trying to build is a KSDS. The keywords I am having a problem with is AVGLRECL MAXLRECL RKP BUFSPACE PHYREC-SIZE I checked the doc again but it doesn't tell me what the LISTCAT shows. Thanks for your help. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
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:001409bd2345-dmarc-requ...@listserv.ua.edu] Sent: Wednesday, January 21, 2015 9:51 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: QUESTION DEFINE CLUSTER Anthony, 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 -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN