Re: Finding a member in a DD concatenation

2018-04-07 Thread Nims,Alva John (Al)
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Tom Marchant Sent: Friday, April 06, 2018 5:06 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Finding a member in a DD concatenation On Fri, 6 Apr 2018 13:13:45 -0500, John McKown wrote: >On Fri, Apr 6, 201

Re: Finding a member in a DD concatenation

2018-04-07 Thread Kirk Wolf
If I understand the question, I think that the BPAM access method already does what you are asking for. If you concatenate partitioned datasets and then OPEN, BLDL, FIND, POINT, READ... then you can read the member found first in the concatenation. See "DFSMS Using Data Sets" / "Processing a PDS

Re: Finding a member in a DD concatenation

2018-04-06 Thread David Boyes
On 4/6/18, 2:18 PM, "IBM Mainframe Discussion List on behalf of Edward Finnell" wrote: >> What century is this? > 5081 on the Hollerith calendar. 13.0.5.6.12 12 Eb' 5 Pop G6 on the Maya calendar (following

Re: Finding a member in a DD concatenation

2018-04-06 Thread Paul Gilmartin
On Fri, 6 Apr 2018 23:13:36 +, Frank Swarbrick wrote: >I guess, like usual, I did not give enough details in my original post. But >you are correct, Gil, I was wanting this feature in "JCL only". So anything >programmatic would not work (at least not with a lot more effort and changes

Re: Finding a member in a DD concatenation

2018-04-06 Thread Frank Swarbrick
U Subject: Re: Finding a member in a DD concatenation On Fri, 6 Apr 2018 14:45:47 -0500, John McKown wrote: > >What would be nice would be if IBM were to build a callable service around >this function and put it in as part of LE so that it could be used by any >of IBM's HLLs. > I

Re: Finding a member in a DD concatenation

2018-04-06 Thread Tom Marchant
On Fri, 6 Apr 2018 13:13:45 -0500, John McKown wrote: >On Fri, Apr 6, 2018 at 12:50 PM, Frank Swarbrick < >frank.swarbr...@outlook.com> wrote: > >> Is there some way I could specify a DD concatenation where the system >> would search the DD's in order until it found a named member? >> >

Re: Finding a member in a DD concatenation

2018-04-06 Thread Paul Gilmartin
On Fri, 6 Apr 2018 14:45:47 -0500, John McKown wrote: > >What would be nice would be if IBM were to build a callable service around >this function and put it in as part of LE so that it could be used by any >of IBM's HLLs. > In assembler, the FIND macro does much of this. In ISPF services,

Re: Finding a member in a DD concatenation

2018-04-06 Thread Steely.Mark
: Finding a member in a DD concatenation On Fri, 6 Apr 2018 17:50:48 +, Frank Swarbrick wrote: >I'm pretty sure the answer to this is no (at least not easily), but can't hurt >to ask. > >The following, of course, works: >//PARMS DD DISP=SHR,DSN=PROD.APPLIB.PARMS(ABC) > &g

Re: Finding a member in a DD concatenation

2018-04-06 Thread John McKown
On Fri, Apr 6, 2018 at 1:16 PM, Paul Gilmartin < 000433f07816-dmarc-requ...@listserv.ua.edu> wrote: > On Fri, 6 Apr 2018 13:13:45 -0500, John McKown wrote: > >> > >​You did not indicate a language. For HLASM, I like this system macro: > >IEPRMLB > >ref: >

Re: Finding a member in a DD concatenation

2018-04-06 Thread Tom Marchant
On Fri, 6 Apr 2018 17:50:48 +, Frank Swarbrick wrote: >I'm pretty sure the answer to this is no (at least not easily), but can't hurt >to ask. > >The following, of course, works: >//PARMS DD DISP=SHR,DSN=PROD.APPLIB.PARMS(ABC) > >Is there some way I could specify a DD concatenation where the

Re: Finding a member in a DD concatenation

2018-04-06 Thread Edward Finnell
5081 on the Hollerith calendar. In a message dated 4/6/2018 1:16:45 PM Central Standard Time, 000433f07816-dmarc-requ...@listserv.ua.edu writes:   What century is this? -- For IBM-MAIN subscribe / signoff / archive access

Re: Finding a member in a DD concatenation

2018-04-06 Thread Paul Gilmartin
On Fri, 6 Apr 2018 13:13:45 -0500, John McKown wrote: >> >​You did not indicate a language. For HLASM, I like this system macro: >IEPRMLB >ref: >https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.1.0/com.ibm.zos.v2r1.ieaa900/iea3a9_REQUEST_READMEMBER_option_of_IEFPRMLB.htm > >This is a macro

Re: Finding a member in a DD concatenation

2018-04-06 Thread Paul Gilmartin
On Fri, 6 Apr 2018 17:50:48 +, Frank Swarbrick wrote: >I'm pretty sure the answer to this is no (at least not easily), but can't hurt >to ask. > >The following, of course, works: >//PARMS DD DISP=SHR,DSN=PROD.APPLIB.PARMS(ABC) > >Is there some way I could specify a DD concatenation where the

Re: Finding a member in a DD concatenation

2018-04-06 Thread John McKown
On Fri, Apr 6, 2018 at 12:50 PM, Frank Swarbrick < frank.swarbr...@outlook.com> wrote: > I'm pretty sure the answer to this is no (at least not easily), but can't > hurt to ask. > > The following, of course, works: > //PARMS DD DISP=SHR,DSN=PROD.APPLIB.PARMS(ABC) > > Is there some way I could

Finding a member in a DD concatenation

2018-04-06 Thread Frank Swarbrick
I'm pretty sure the answer to this is no (at least not easily), but can't hurt to ask. The following, of course, works: //PARMS DD DISP=SHR,DSN=PROD.APPLIB.PARMS(ABC) Is there some way I could specify a DD concatenation where the system would search the DD's in order until it found a named