> -----Original Message----- > From: IBM Mainframe Discussion List > [mailto:[email protected]] On Behalf Of Bob Woodside > Sent: Thursday, May 21, 2009 12:24 AM > To: [email protected] > Subject: Re: checking for the existence of a file in batch REXX > > On Wednesday 20 May 2009, Paul Gilmartin wrote: > > > > Doesn't IKJEFT01 require that it be invoked only from an > > APF authorized program, which might be an obstacle to the > > OP? > > Actually, I believe I spoke before thinking earlier. > I think the > program would need to call IKJTSOEV and IKJEFTSR, and I don't think > they're restricted to authorized programs. But your suggestion of > calling BPXWDYN is much more sensible. > > > If the OP intends to process the file in the COBOL program, > > might allocating it in Rexx shortcut the need to allocate > > it in the COBOL code? > > If all the Rexx program is used for is to check > whether the file > exists, then they can eliminate it altogether by just calling BPXWDYN > directly from the COBOL program. But if there's more to it than that, > then yes, if the Rexx program call to BPXWDYN succeeded it might as > well leave the file allocated, and the COBOL program needn't do that.
I feel rejected <sob>. Doesn't anybody like using the "new" Enterprise COBOL feature which does the DYNALLOC behind the scenes? -- John McKown Systems Engineer IV IT Administrative Services Group HealthMarkets(r) 9151 Boulevard 26 * N. Richland Hills * TX 76010 (817) 255-3225 phone * (817)-961-6183 cell [email protected] * www.HealthMarkets.com Confidentiality Notice: This e-mail message may contain confidential or proprietary information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. HealthMarkets(r) is the brand name for products underwritten and issued by the insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance Company(r), Mid-West National Life Insurance Company of TennesseeSM and The MEGA Life and Health Insurance Company.SM ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

