Paul
I'm a total novice at this. Your specific questions: responses are below (
was going to say 'answers' but that would be a funny:-)
cheers
graham
----- Original Message -----
From: "Paul Gilmartin" <[email protected]>
Newsgroups: bit.listserv.ibm-main
To: <[email protected]>
Sent: Monday, April 29, 2013 7:09 PM
Subject: Re: PDS searches
On 2013-04-29 16:59, Graham Hobbs wrote:
Gentlemen,
Thanks again, after ten years away from mainframe had forgotten 'srchfor'
so finally came up with
//SEARCH JOB (CONRAD),'GH',
// CLASS=A,MSGCLASS=0,MSGLEVEL=(1,1)
// EXEC PGM=ISRSUPC,
// PARM=(SRCHCMP,ANYC,IDPFX,NOPRTCC)
//NEWDD DD DSN=CONRAD.CBL.PGMS,DISP=SHR
// DD DSN=CONRAD.CBL.CPYBKS,DISP=SHR
// DD DSN=CONRAD.SUPPORT.PDS,DISP=SHR
// DD DSN=VENDOR.SYSEXEC,DISP=SHR
//OUTDD DD SYSOUT=*
//SYSIN DD *
SRCHFOR 'TPUSER'
SRCHFOR 'TPINST'
//
.. works a treat!
Ooooh! Neat! Thanks.
I hadn't realized that SuperC will search a concatenation of
PDS(E?)s.
o Will it find every occurrence of the search pattern(s), or only
in the first of similarly named members?
- I don't know, I have nonesuch but I added Kolusu's SDUPM since he says it
addresses the problem
o Is this really a BPAM concatenation, or may the catenands have
unlike attributes?
- BPAM??? as for unlike attributes - didn't try it
o is this available from the ISPF panels, even with unlike HLQs,
as in your JCL example?
- from ISPF panel, I don't know; my limits were 3.14 and 3.15 and could see
no opportunities there; after what I've learned here it seems the JOB method
suits me best since I always use the same PDS's so (1) (2) etc are instantly
relatable
(I bet one of our regular contributors wishes for regular expressions.)
- that must be an 'inside' ref!
-- gil
----------------------------------------------------------------------
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