Thanks. A small detail I, again forgot, is these are TAPE datasets. :( Otherwise this would be a nice method.
Bill -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Sri h Kolusu Sent: Thursday, December 20, 2012 9:22 AM To: [email protected] Subject: Re: SYNCSORT or ICEMAN George , Just to clarify ICEMAN is the program name for DFSORT. You can invoke DFSORT with PGM=ICEMAN. DFSORT's official three character identifier is ICE, so all of the DFSORT modules start with ICE (ICEMAN, ICETOOL, ICEGENER, etc) and all of the DFSORT messages start with ICE (ICExxxs). other sort products(Syncsort, ca-sort) use (SORT,ICEMAN) as an alias. Coming to your requirement, it is quite easy with batch version of Extended Search-For Utility (3.15). The "String found" indicator is mentioned by a numeric and at the bottom of the listing you will find corresponding dataset name. //SEARCH EXEC PGM=ISRSUPC,PARM=(SRCHCMP,'') //NEWDD DD DSN=Your GDG Base name, // DISP=SHR //OUTDD DD SYSOUT=* //SYSIN DD * SRCHFOR 'your search string' //* Sri Hari Kolusu IBM Mainframe Discussion List <[email protected]> wrote on 12/20/2012 09:06:59 AM: > From: "George, William@FTB" <[email protected]> > To: [email protected], > Date: 12/20/2012 09:08 AM > Subject: Re: SYNCSORT or ICEMAN > Sent by: IBM Mainframe Discussion List <[email protected]> > > Sorry for the lack of a more descriptive subject. I did mean to go > back and put one in but plain forgot. That seems to be happening a > bit more than before. Hmmm. > > > -----Original Message----- > From: IBM Mainframe Discussion List [mailto:[email protected]] > On Behalf Of George, William@FTB > Sent: Thursday, December 20, 2012 8:57 AM > To: [email protected] > Subject: SYNCSORT or ICEMAN > > I have a need to check 50 datasets (50 gens of a GDG) and extract > records that match my criteria. I also would like to know which > dataset in the concatenation the record was extracted from by adding > an indicator to the output record. Is this possible via Syncsort or > ICEMAN? > > > > I've made a quick scan of the Syncsort guide but now will dig deeper > but thought I'd throw this question out also to hopefully help > expedite the answer. > > > > Thanks > > Bill > > ______________________________________________________________________ > CONFIDENTIALITY NOTICE: This email from the State of California is for > the sole use of the intended recipient and may contain confidential > and privileged information. Any unauthorized review or use, including > disclosure or distribution, is prohibited. If you are not the intended > recipient, please contact the sender and destroy all copies of this > email. > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, send > email to [email protected] with the message: INFO IBM-MAIN > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, send > email to [email protected] with the message: INFO IBM-MAIN > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
