> -----Original Message-----
> From: IBM Mainframe Assembler List
> [mailto:[email protected]] On Behalf Of John Gilmore
> Sent: Saturday, June 30, 2012 11:41 AM
> To: [email protected]
> Subject: Re: Detecting RMODE at assembly time
>
> EJ's points are well taken as usual.
>
> An inference from his position, one that he politely omits to draw
> himself, is clear.
>
> There is little excuse for the continuing existence and use of
> RMODE(24) applications.  They should long since have been converted to
> RMODE(31) [and, where necessary, AMODE(31)].
>
> There is, of course, an obvious, if not perhaps finally very
> important, exception to this stricture: RMODE(24) applications that
> are 1) very small and 2) do no I/O at all may remain so.
>
> John Gilmore, Ashland, MA 01721 - USA

I generally agree. But how does one do DCB type I/O if all the code is in 
RMODE(31)? I know there are ways to use DCB type I/O in RMODE(24)/AMODE(31). I 
guess you could do a 24 bit STORAGE OBTAIN and create your DCBs et al. in that 
area. Personally, I find it simplier to write a smallish RMODE(24) CSECT 
(containing OPEN/GET/PUT/CLOSE and EOF code) and then bind with RMODE(SPLIT) 
into a PDSE. I know many still distrust PDSEs. I, personally, have not had any 
problems with them.

I truly wish that the DFSMS people had the justification they needed to take 
the time to extend ACB mode processing to sequential datasets (QSAM/BSAM) and 
BPAM. But I guess there are a lot of 3-byte addresses still existing 
behind-the-sceens (such as the DEB to DCB pointer).

--
John McKown
Systems Engineer IV
IT

Administrative Services Group

HealthMarkets(r)

9151 Boulevard 26 * N. Richland Hills * TX 76010
(817) 255-3225 phone *
[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

Reply via email to