EODAD mystery

2012-01-08 Thread Steve Comstock
I think I may be missing something here, but I can't pin it down. Program A contains DCB/DCBE for a file; the DCBE has EODAD=ENDIFILE The routine called ENDIFILE contains just this: oiy flags,endInfile brr14 Program A opens the file and later links (linkx) to Program B, passin

Re: EODAD mystery

2012-01-08 Thread Sam Siegel
On Sun, Jan 8, 2012 at 5:25 PM, Steve Comstock wrote: > I think I may be missing something here, but I can't > pin it down. > > Program A contains DCB/DCBE for a file; the DCBE has > EODAD=ENDIFILE > > The routine called ENDIFILE contains just this: > > oiy flags,endInfile > brr14 > > >

Re: EODAD mystery

2012-01-08 Thread Ron Hesketh
Hi Steve, I think program B has to update the DCB with its own EODAD address which exists in program B. Regards, Ron From: Steve Comstock To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Date: 09/01/2012 09:28 AM Subject:EODAD mystery Sent by:IBM Mainframe Assembler List

Re: EODAD mystery

2012-01-08 Thread Ron Hesketh
that issued the CHECK,GET or FEOV macro." Regards, Ron From: Steve Comstock To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Date: 09/01/2012 09:28 AM Subject: EODAD mystery Sent by:IBM Mainframe Assembler List I think I may be missing something here, but I can

Re: EODAD mystery

2012-01-09 Thread Binyamin Dissen
is in use and R2-R13 are the same as the GET instruction. :>From: Steve Comstock :>To: ASSEMBLER-LIST@LISTSERV.UGA.EDU :>Date: 09/01/2012 09:28 AM :>Subject:EODAD mystery :>Sent by:IBM Mainframe Assembler List :>I think I may be missing something here

Re: EODAD mystery

2012-01-09 Thread Walt Farrell
I think you need to show us more, Steve. Such as, what is the base register that ENDIFILE is using to address "flags", and do both A and B have that register set to the same value when they issue their GETs? -- Walt Farrell IBM STSM, z/OS Security Design

Re: EODAD mystery

2012-01-09 Thread Gerhard Postpischil
On 1/9/2012 10:37 AM, Walt Farrell wrote: I think you need to show us more, Steve. Such as, what is the base register that ENDIFILE is using to address "flags", and do both A and B have that register set to the same value when they issue their GETs? This reminded me of a couple of things. I re

Re: EODAD mystery - problem solved

2012-01-08 Thread Steve Comstock
Ah! When your EODAD takes you to another CSECT, you have to re-establish the base for that CSECT because you enter the CSECT with the other registers unchanged. Found a simpler way to set the bit in PROGRAM A using IILL then STC in PROGRAM B and all works. Subtle bug, though. On 1/8/2012 6:56