Re: SMS : WILD CARD USE IN FILTLIST
Looking at it again, I noticed that John was looking for range of 0 to 9 as the last character in the second and fourth nodes of his dataset. I setup the filtlists to look for 1 though 9. The filtlists should have been: FILTLST NUMA INCLUDE(%%0,%%1,%%2,%%3,%%4,%%5,%%6,%%7,%%8,%%9) FILTLST NUMB INCLUDE(%%%0,%%%1,%%%2,%%%3,%%%4,%%%5,%%%6,%%%7,%%%8,%%%9) Regards, John > Very elegant! I like it. > ddk > > > >>FILTLST NUMA INCLUDE(%%1,%%2,%%3,%%4,%%5,%%6,%%7,%%8,%%9) > >>FILTLST NUMB INCLUDE(%%%1,%%%2,%%%3,%%%4,%%%5,%%%6,%%%7,%%%8,%%%9) > > >>IF &DSN EQ AM2.DE%.HESD.SOR%.** && &DSN(2) EQ &NUMA && > >>&DSN(4) EQ &NUMB THEN DO > >> > >> END -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: SMS : WILD CARD USE IN FILTLIST
>>I can't find anything about a & as masking character. I should have spelled it out. It should have been % and *. sorry - ddk ** This e-mail message and all attachments transmitted with it may contain legally privileged and/or confidential information intended solely for the use of the addressee(s). If the reader of this message is not the intended recipient, you are hereby notified that any reading, dissemination, distribution, copying, forwarding or other use of this message or its attachments is strictly prohibited. If you have received this message in error, please notify the sender immediately and delete this message and all copies and backups thereof. Thank you. ** -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: SMS : WILD CARD USE IN FILTLIST
"Darth Keller" <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED] .com>... > From the DFSMSdss Storage Admin Guide: > The percent sing (%) is used as an ignore character. Each % sign > represents one character in the name being filtered, and any character in > that position is ignored. > IIRC, % & * are the only masking characters you get. There isn't one > specifically for numbers like a lot of languages have. > > So I'd say that %* is redundant and won't really accomplish what you > want. Off the top of my head, the only way I can see to do this is to > code the filter list. > > AM2.DE1*.HESD.SOR1*.**, > > HTH- ddk >From my SMS course (I didn't check it with the latest manual): % represent a single character * represents zero or more characters or one dataset name qualifier ** represents zero or more qualifiers I can't find anything about a & as masking character. In this scenario there is a difference between AM1.DE%* and AM1.DE*. The first requires at least one charachter after '.DE' the second does not. Kees. ** For information, services and offers, please visit our web site: http://www.klm.com. This e-mail and any attachment may contain confidential and privileged material intended for the addressee only. If you are not the addressee, you are notified that no part of the e-mail or any attachment may be disclosed, copied or distributed, and that any other action related to this e-mail or attachment is strictly prohibited, and may be unlawful. If you have received this e-mail by error, please notify the sender immediately by return e-mail, and delete this message. Koninklijke Luchtvaart Maatschappij NV (KLM), its subsidiaries and/or its employees shall not be liable for the incorrect or incomplete transmission of this e-mail or any attachments, nor responsible for any delay in receipt. Koninklijke Luchtvaart Maatschappij N.V. (also known as KLM Royal Dutch Airlines) is registered in Amstelveen, The Netherlands, with registered number 33014286 ** -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: SMS : WILD CARD USE IN FILTLIST
"Darth Keller" <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED] .com>... > When in doubt, set up a test case & try it. Naviquest is a great tool. > > From the DFSMSdss Storage Admin Guide: > The percent sing (%) is used as an ignore character. Each % sign > represents one character in the name being filtered, and any character in > that position is ignored. > IIRC, % & * are the only masking characters you get. There isn't one > specifically for numbers like a lot of languages have. > > So I'd say that %* is redundant and won't really accomplish what you > want. Off the top of my head, the only way I can see to do this is to > code the filter list. > > AM2.DE1*.HESD.SOR1*.**, > AM2.DE1*.HESD.SOR2*.**, > AM2.DE1*.HESD.SOR3*.**, > and on and on and on > AM2.DE9*.HESD.SOR8*.**, > AM2.DE9*.HESD.SOR9*.** > > If I did the math right, it's 90 entries, which isn't that big a filter > list. > > HTH- ddk >From my SMS course (I didn't check it with the latest manual): % represent a single character * represents zero or more characters or one dataset name qualifier ** represents zero or more qualifiers I can't find anything about a & as masking character. In this scenario there is a difference between AM1.DE%* and AM1.DE*. The first requires at least one charachter after '.DE' the second does not. Kees. ** For information, services and offers, please visit our web site: http://www.klm.com. This e-mail and any attachment may contain confidential and privileged material intended for the addressee only. If you are not the addressee, you are notified that no part of the e-mail or any attachment may be disclosed, copied or distributed, and that any other action related to this e-mail or attachment is strictly prohibited, and may be unlawful. If you have received this e-mail by error, please notify the sender immediately by return e-mail, and delete this message. Koninklijke Luchtvaart Maatschappij NV (KLM), its subsidiaries and/or its employees shall not be liable for the incorrect or incomplete transmission of this e-mail or any attachments, nor responsible for any delay in receipt. Koninklijke Luchtvaart Maatschappij N.V. (also known as KLM Royal Dutch Airlines) is registered in Amstelveen, The Netherlands, with registered number 33014286 ** -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: SMS : WILD CARD USE IN FILTLIST
Very elegant! I like it. ddk >>FILTLST NUMA INCLUDE(%%1,%%2,%%3,%%4,%%5,%%6,%%7,%%8,%%9) >>FILTLST NUMB INCLUDE(%%%1,%%%2,%%%3,%%%4,%%%5,%%%6,%%%7,%%%8,%%%9) >>IF &DSN EQ AM2.DE%.HESD.SOR%.** && &DSN(2) EQ &NUMA && >>&DSN(4) EQ &NUMB THEN DO >> >> END ** This e-mail message and all attachments transmitted with it may contain legally privileged and/or confidential information intended solely for the use of the addressee(s). If the reader of this message is not the intended recipient, you are hereby notified that any reading, dissemination, distribution, copying, forwarding or other use of this message or its attachments is strictly prohibited. If you have received this message in error, please notify the sender immediately and delete this message and all copies and backups thereof. Thank you. ** -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: SMS : WILD CARD USE IN FILTLIST
John, FILTLST NUMA INCLUDE(%%1,%%2,%%3,%%4,%%5,%%6,%%7,%%8,%%9) FILTLST NUMB INCLUDE(%%%1,%%%2,%%%3,%%%4,%%%5,%%%6,%%%7,%%%8,%%%9) IF &DSN EQ AM2.DE%.HESD.SOR%.** && &DSN(2) EQ &NUMA && &DSN(4) EQ &NUMB THEN DO END This is assuming that there is only one numeric character following the letters in the second and fourth node. If there is a possibility of more characters after the numeric value, you can add * after each value in the filter lists. Regards, John > Thanks Darth, > > I looked at the list that needs to be added and it amounts to 731. > Which means I will have to create a few more FILTLISTS. > > Darth Keller <[EMAIL PROTECTED]> wrote: > When in doubt, set up a test case & try it. Naviquest is a great tool. > > From the DFSMSdss Storage Admin Guide: > The percent sing (%) is used as an ignore character. Each % sign > represents one character in the name being filtered, and any character in > that position is ignored. > IIRC, % & * are the only masking characters you get. There isn't one > specifically for numbers like a lot of languages have. > > So I'd say that %* is redundant and won't really accomplish what you > want. Off the top of my head, the only way I can see to do this is to > code the filter list. > > AM2.DE1*.HESD.SOR1*.**, > AM2.DE1*.HESD.SOR2*.**, > AM2.DE1*.HESD.SOR3*.**, > and on and on and on > AM2.DE9*.HESD.SOR8*.**, > AM2.DE9*.HESD.SOR9*.** > > If I did the math right, it's 90 entries, which isn't that big a filter > list. > > HTH- ddk > > > > > > John Dawes > Sent by: IBM Mainframe Discussion List > 02/25/2008 05:50 AM > Please respond to > IBM Mainframe Discussion List > > > To > IBM-MAIN@BAMA.UA.EDU > cc > > Subject > SMS : WILD CARD USE IN FILTLIST > > > > > > > Hallo All, > > Can I use the following wild card attribute in a SMS FILTLIST: > > AM2.DE%*.HESD.SOR%*.** > > In the case of DE%* I would like to trap any numeric value (0 to 9) > which follose DE. > > In the case if SOR%* I would like again to trap any numeric (0 to 9) > after SOR. > > This would save a log of lines of code. > > If this will not work could you please suggest something else that I > could try? > > Thanks > > > - > Get the name you always wanted with the new y7mail email address. > > -- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO > Search the archives at http://bama.ua.edu/archives/ibm-main.html > > > ** > This e-mail message and all attachments transmitted with it may > contain legally privileged and/or confidential information intended > solely for the use of the addressee(s). If the reader of this > message is not the intended recipient, you are hereby notified that > any reading, dissemination, distribution, copying, forwarding or > other use of this message or its attachments is strictly prohibited. > If you have received this message in error, please notify the sender > immediately and delete this message and all copies and backups thereof. > > Thank you. > ** > > -- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO > Search the archives at http://bama.ua.edu/archives/ibm-main.html > > > > - > Get the name you always wanted with the new y7mail email address. > > -- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO > Search the archives at http://bama.ua.edu/archives/ibm-main.html -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: SMS : WILD CARD USE IN FILTLIST
Thanks Darth, I looked at the list that needs to be added and it amounts to 731. Which means I will have to create a few more FILTLISTS. Darth Keller <[EMAIL PROTECTED]> wrote: When in doubt, set up a test case & try it. Naviquest is a great tool. >From the DFSMSdss Storage Admin Guide: The percent sing (%) is used as an ignore character. Each % sign represents one character in the name being filtered, and any character in that position is ignored. IIRC, % & * are the only masking characters you get. There isn't one specifically for numbers like a lot of languages have. So I'd say that %* is redundant and won't really accomplish what you want. Off the top of my head, the only way I can see to do this is to code the filter list. AM2.DE1*.HESD.SOR1*.**, AM2.DE1*.HESD.SOR2*.**, AM2.DE1*.HESD.SOR3*.**, and on and on and on AM2.DE9*.HESD.SOR8*.**, AM2.DE9*.HESD.SOR9*.** If I did the math right, it's 90 entries, which isn't that big a filter list. HTH- ddk John Dawes Sent by: IBM Mainframe Discussion List 02/25/2008 05:50 AM Please respond to IBM Mainframe Discussion List To IBM-MAIN@BAMA.UA.EDU cc Subject SMS : WILD CARD USE IN FILTLIST Hallo All, Can I use the following wild card attribute in a SMS FILTLIST: AM2.DE%*.HESD.SOR%*.** In the case of DE%* I would like to trap any numeric value (0 to 9) which follose DE. In the case if SOR%* I would like again to trap any numeric (0 to 9) after SOR. This would save a log of lines of code. If this will not work could you please suggest something else that I could try? Thanks - Get the name you always wanted with the new y7mail email address. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html ** This e-mail message and all attachments transmitted with it may contain legally privileged and/or confidential information intended solely for the use of the addressee(s). If the reader of this message is not the intended recipient, you are hereby notified that any reading, dissemination, distribution, copying, forwarding or other use of this message or its attachments is strictly prohibited. If you have received this message in error, please notify the sender immediately and delete this message and all copies and backups thereof. Thank you. ** -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html - Get the name you always wanted with the new y7mail email address. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: SMS : WILD CARD USE IN FILTLIST
When in doubt, set up a test case & try it. Naviquest is a great tool. >From the DFSMSdss Storage Admin Guide: The percent sing (%) is used as an ignore character. Each % sign represents one character in the name being filtered, and any character in that position is ignored. IIRC, % & * are the only masking characters you get. There isn't one specifically for numbers like a lot of languages have. So I'd say that %* is redundant and won't really accomplish what you want. Off the top of my head, the only way I can see to do this is to code the filter list. AM2.DE1*.HESD.SOR1*.**, AM2.DE1*.HESD.SOR2*.**, AM2.DE1*.HESD.SOR3*.**, and on and on and on AM2.DE9*.HESD.SOR8*.**, AM2.DE9*.HESD.SOR9*.** If I did the math right, it's 90 entries, which isn't that big a filter list. HTH- ddk John Dawes <[EMAIL PROTECTED]> Sent by: IBM Mainframe Discussion List 02/25/2008 05:50 AM Please respond to IBM Mainframe Discussion List To IBM-MAIN@BAMA.UA.EDU cc Subject SMS : WILD CARD USE IN FILTLIST Hallo All, Can I use the following wild card attribute in a SMS FILTLIST: AM2.DE%*.HESD.SOR%*.** In the case of DE%* I would like to trap any numeric value (0 to 9) which follose DE. In the case if SOR%* I would like again to trap any numeric (0 to 9) after SOR. This would save a log of lines of code. If this will not work could you please suggest something else that I could try? Thanks - Get the name you always wanted with the new y7mail email address. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html ** This e-mail message and all attachments transmitted with it may contain legally privileged and/or confidential information intended solely for the use of the addressee(s). If the reader of this message is not the intended recipient, you are hereby notified that any reading, dissemination, distribution, copying, forwarding or other use of this message or its attachments is strictly prohibited. If you have received this message in error, please notify the sender immediately and delete this message and all copies and backups thereof. Thank you. ** -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
SMS : WILD CARD USE IN FILTLIST
Hallo All, Can I use the following wild card attribute in a SMS FILTLIST: AM2.DE%*.HESD.SOR%*.** In the case of DE%* I would like to trap any numeric value (0 to 9) which follose DE. In the case if SOR%* I would like again to trap any numeric (0 to 9) after SOR. This would save a log of lines of code. If this will not work could you please suggest something else that I could try? Thanks - Get the name you always wanted with the new y7mail email address. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html