> -----Original Message----- > From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On > Behalf Of Arthur T. > Sent: Tuesday, November 28, 2006 8:47 AM > To: [email protected] > Subject: Re: Descriptive term for reentrant program that nonetheless is > not multi-taskable? > > On 28 Nov 2006 05:51:27 -0800, in bit.listserv.ibm-main > (Message-ID:<[EMAIL PROTECTED]>) > [EMAIL PROTECTED] (Tom Marchant) wrote: > > >>I'd say, it is simply *not* reentrant and has the RENT > >>bit set > >>incorrectly. Anyone can set the RENT bit on his module, > >>but that does > >>not mean it is coded reentrant, which apparently is also > >>true for this > >>code. > >> > >>Kees. > > > >You're right, Kees. "The module is reenterable. It can be > >executed by more than one task at a time." > > But, as described, the module may be LPA-eligible and > usable by multiple address spaces at the same time. It > just isn't useful to attempt using it by multiple tasks > within one address space at the same time. So, it is more > than serially reusable, and the RENT bit does give useful > information. > > I was waiting for someone else to say it, but here's > adjectives I'd use to describe such code: "badly-written" > or "badly-designed". Or, am I missing a good reason > (unrelated to the hard-coded DDNAMEs) that FTP shouldn't be > used by multiple tasks within one address space? >
Why not just say it is "a reentrant job step program"? That describes that it is reentrant (LPA-eligible for use by multiple jobs) and it must be a job step program (a job executes only one step at a time) so it has exclusive access to the DD names for the step. Trying to run a "job step program" as something other than that will cause problems. Is it the responsibility of the program to ensure that it only runs as a job step program? Jeffrey D. Smith Principal Product Architect Farsight Systems Corporation 700 KEN PRATT BLVD. #204-159 LONGMONT, CO 80501-6452 303-774-9381 direct 303-484-6170 FAX http://www.farsight-systems.com/ comments are invited on my encryption project ---------------------------------------------------------------------- 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

