old code failing

2019-07-24 Thread Richard Kuebbing
A subroutine written long ago appears to be failing. It looks for a DDname in the TIOT. Did the format of the TIOT change at some point? If yes, at what release? Does it matter if AMODE is 24 or 31? It might have something to do with the fact that the DD is a proc override instead of straig

Re: old code failing

2019-07-24 Thread retired mainframer
Can you show us the code that does the looking? > -Original Message- > From: IBM Mainframe Assembler List > On Behalf Of Richard Kuebbing > Sent: Wednesday, July 24, 2019 8:24 AM > To: ASSEMBLER-LIST@LISTSERV.UGA.EDU > Subject: old code failing > > A subroutine

Re: old code failing

2019-07-24 Thread Martin Truebner
Richard, >> long ago appears to be failing I highly doubt that it fails all of a sudden- what did you change? If you can not tell- show us the code and I bet that someone will show you subtle flaw in the code is the cause. In the end it will be "totaly unrelated"(*) change but wi

Re: old code failing

2019-07-24 Thread John Melcher
-LIST@LISTSERV.UGA.EDU] On Behalf Of Richard Kuebbing Sent: Wednesday, July 24, 2019 10:24 AM To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: old code failing *** External email: Verify sender before opening attachments or links *** A subroutine written long ago appears to be failing. It looks for a

Re: old code failing

2019-07-24 Thread Christopher Y. Blaicher
: Wednesday, July 24, 2019 11:42 AM To: MVS List Server 2 Subject: Re: old code failing Can you show us the code that does the looking? > -Original Message- > From: IBM Mainframe Assembler List > On Behalf Of Richard Kuebbing > Sent: Wednesday, July 24, 2019 8:24 AM > To:

Re: old code failing

2019-07-24 Thread Mike Shaw
The DEVTYPE macro is a much safer and simpler way to check for the presence of a DD. The old TIOT scan method may work and it may not work. Mike Shaw MVS/QuickRef Support Group Chicago-Soft, Ltd. On Wed, Jul 24, 2019 at 11:24 AM Richard Kuebbing wrote: > A subroutine written long ago appears t

Re: old code failing

2019-07-24 Thread Richard Kuebbing
45 AM To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: Re: old code failing Maybe the system put the TIOT entry in the extended TIOT. Look up EXTRACT and GETDSAB macros. Chris Blaicher Technical Architect Syncsort, Inc. -Original Message- From: IBM Mainframe Assembler List [mailto:ASSEMBLER

Re: old code failing

2019-07-24 Thread Seymour J Metz
esday, July 24, 2019 11:23 AM To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: old code failing A subroutine written long ago appears to be failing. It looks for a DDname in the TIOT. Did the format of the TIOT change at some point? If yes, at what release? Does it matter if AMODE is 24 or 31? It

Re: old code failing

2019-07-24 Thread Richard Kuebbing
-LIST@LISTSERV.UGA.EDU Subject: Re: old code failing There are hangs to the TIOT in support of SWA above the line, and later changes in support of XTIOT. Do GETDSAB and RDJFCB with an ARL give you all the data you need, or do you actually need the TIOT entry itself? You should not use the TIOT to

Re: old code failing

2019-07-24 Thread Richard Kuebbing
t: Re: old code failing The DEVTYPE macro is a much safer and simpler way to check for the presence of a DD. The old TIOT scan method may work and it may not work. Mike Shaw MVS/QuickRef Support Group Chicago-Soft, Ltd. On Wed, Jul 24, 2019 at 11:24 AM Richard Kuebbing wrote: > A subroutine

Re: old code failing

2019-07-24 Thread Seymour J Metz
PM To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: Re: old code failing There are hangs to the TIOT in support of SWA above the line, and later changes in support of XTIOT. Do GETDSAB and RDJFCB with an ARL give you all the data you need, or do you actually need the TIOT entry itself? You should not us

Re: old code failing

2019-07-24 Thread John McKown
On Wed, Jul 24, 2019 at 12:23 PM Richard Kuebbing wrote: > Routine only uses the TIOT entry to see if DD is present. It does that to > avoid OPEN message of missing DD. > I will agree, in this case, that using DEVTYPE is the way to go. https://www.ibm.com/support/knowledgecenter/SSLTBW_2.3.0/co

Re: old code failing

2019-07-24 Thread Paul Gilmartin
On 2019-07-24, at 09:48:44, Mike Shaw wrote: > > The DEVTYPE macro is a much safer and simpler way to check for the presence > of a DD. The old TIOT scan method may work and it may not work. > Or, use SVC 99 or BPXWDYN INFO > On Wed, Jul 24, 2019 at 11:24 AM Richard Kuebbing wrote: > >> A subr

Re: old code failing

2019-07-24 Thread Bernd Oppolzer
IMO, this interface should work and did never change. Too much software out there depending on this. The coding should look like this (from a macro, which looks for a specific DD - see parm &DD): L R1,X'21C'         ADDRESS OF OWN TCB L R1,12(R1) ADDR

Re: old code failing

2019-07-24 Thread Farley, Peter x23353
19 1:25 PM To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: Re: old code failing I read DEVTYPE doc looking for rc meaning "not found" and did not see it. -Original Message- From: IBM Mainframe Assembler List [mailto:ASSEMBLER-LIST@LISTSERV.UGA.EDU] On Behalf Of Mike Shaw Sent: Wedn

Re: old code failing

2019-07-24 Thread Seymour J Metz
XTIOT -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Assembler List on behalf of Bernd Oppolzer Sent: Wednesday, July 24, 2019 4:49 PM To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: Re: old code failing IMO, this interface

Re: old code failing

2019-07-24 Thread Steve Smith
t; XTIOT > > > -- > Shmuel (Seymour J.) Metz > http://mason.gmu.edu/~smetz3 > > > From: IBM Mainframe Assembler List on > behalf of Bernd Oppolzer > Sent: Wednesday, July 24, 2019 4:49 PM > To: ASSEMBLER-LIST@LISTSERV.UGA.EDU >

Re: old code failing

2019-07-25 Thread Tom Marchant
On Wed, 24 Jul 2019 17:23:36 +, Richard Kuebbing wrote: >Routine only uses the TIOT entry to see if DD is present. It does that to >avoid OPEN message of missing DD. I have used GETDSAB for this. It is quite simple: GETDSAB DDNAME==CL8'ddname',DSABPTR=SAVEDSAB, LO