John, Actually that's not true. The restriction is to one wildcarded qualifier. It does not necessarily need to be the last.
The OP's original example BAST.PROM1.*.*.*.* Is correctly coded as BAST.PROM1.** But AFAIK this is just as legal: BAST.PROM1.**.D12191 Peter -----Original Message----- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of McKown, John Sent: Wednesday, October 03, 2012 12:44 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: IDCAMS ODDITY? WAD. You can only "wild card" the last node with IDCAMS. I have other utilities from other vendors which can do otherwise. Such a Co:Z Data Set Pipes' "catsearch", which is a UNIX command. catsearch 'bast.prom1.**' |\ while read i;do tsocmd "alter $i mgmtclas(mnobk2)";done >From a UNIX shell which is properly set up. The alter can be left in lower >case because "tsocmd" automatically uppercases. -- John McKown Systems Engineer IV IT Administrative Services Group HealthMarkets® 9151 Boulevard 26 . N. Richland Hills . TX 76010 (817) 255-3225 phone . john.mck...@healthmarkets.com . www.HealthMarkets.com Confidentiality Notice: This e-mail message may contain confidential or proprietary information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. HealthMarkets® is the brand name for products underwritten and issued by the insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance Company®, Mid-West National Life Insurance Company of TennesseeSM and The MEGA Life and Health Insurance Company.SM > -----Original Message----- > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] > On Behalf Of esmie moo > Sent: Wednesday, October 03, 2012 11:33 AM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: IDCAMS ODDITY? > > Good Morning Gentle Readers, > > I am not sure if it is a fluke. I am trying to alter the MGMTCLASS of > a ton of dsns (SMS ACS for the MGMTCLAS has been changed) which are > migrated or on DASD. The dsns have 6 qualifiers. When I try this > ALTER command : > ALTER BAST.PROM1.*.*.*.* - > MGMTCLAS (MNOBK2) > > I get the following error message: > IDC3203I ITEM 'BAST.PROM1.*.*.*.*' DOES NOT ADHERE TO RESTRICTIONS > IDC3202I ABOVE TEXT BYPASSED UNTIL NEXT COMMAND. CONDITION CODE IS 12 > > However, I tried the following and it worked: > > ALTER BAST.PROM1.PROD.LIV.JCLLIB2.* - > MGMTCLAS (MNOBK5) > IDC0531I ENTRY BAST.PROM1.PROD.LIV.JCLLIB2.D12191 ALTERED > IDC0531I ENTRY BAST.PROM1.PROD.LIV.JCLLIB2.D12228 ALTERED > IDC0531I ENTRY BAST.PROM1.PROD.LIV.JCLLIB2.VER291 ALTERED > IDC0531I ENTRY BAST.PROM1.PROD.LIV.JCLLIB2.VER367 ALTERED > > Does this mean that IDCAMS will only accept a WILDCARD for the last > qualifier? > > Just curious if anybody has encountered this. > > 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 This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail and delete the message and any attachments from your system. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN