On Mon, Feb 13, 2017 at 12:28 PM, Paul Gilmartin < [email protected]> wrote:
> On Mon, 13 Feb 2017 11:58:57 -0600, John McKown wrote: > > > > ...having already used > >a UNIX subroutine, I guess I figured it was easier to use another UNIX > >subroutine rather that setting up an FD along with an OPEN / READ loop / > >CLOSE. > > > > ... I think that the HLASM is basically > >being used as a "QSAM for RACF" type interface. > > > If the replies returned by RACF are of uniform length or the assembler > program can pad them, BPX1RED is easiest. I'm accustomed to > dealing with utility output where records are variable length, > contain no control characters, and are NL-terminated. For that, > I might as well ALLOC and use the real QSAM. > Another point in your favor would be that the resultant code would be more understandable to a regular COBOL programmer. The only "oddity" would be the setup, in its calls to BPX1PIP and BPXWDYN. > > -- gil > > -- Our calculus classes are an integral part of your education. Maranatha! <>< John McKown ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
