Yes, a one qualifier data set can be cataloged. We have one. SRST looks very cool. Thanks for the pointer! A simple loop searching for '.' works but is not something to put on your resume. ;-) TRT is snazzier but requires TLC for registers, especially R2. I imagine that TRT was invented back in the day because so many routines needed to parse on delimiters. SRST looks to be yet another improvement in the same quest.
. . . J.O.Skip Robinson Southern California Edison Company Electric Dragon Team Paddler SHARE MVS Program Co-Manager 626-302-7535 Office 323-715-0595 Mobile [email protected] -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Paul Gilmartin Sent: Friday, March 13, 2015 11:41 AM To: [email protected] Subject: Re: Need assembler trick to quickly get second and third DS qualifiers On Fri, 13 Mar 2015 10:43:34 -0700, Charles Mills wrote: > >Watch out for the "no second qualifier" special case. FOOBAR is a valid >dataset name. > Can it be catalogued? Is it copacetic to SMS? (I think "SMPMCS" is prevalent on SMP/E installation tapes, and the OP didn't require that the data set was on DASD or catalogued.) Nor did he specify what he wanted if more than two qualifiers: all the remainder, or only the second and third. In some cases, I've appended a separator character and removed it afterwards in order to render special cases ordinary. >-----Original Message----- >From: Pinnacle >Sent: Friday, March 13, 2015 10:28 AM > >I have a dataset FIRST.SECOND.THIRD, and I want to get SECOND.THIRD. >Normally I would loop to one character at a time to get to the '.', but I need >performance here. I sure some of you assembler gurus could give me some >inscrutable assembler to get there in like one or two instructions. Thanks in >advance! ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
