I do make dynamic DCBs that way. I just don't much like having to "adjust" the 
pointers to the DCBE et al. I'm just lazy. And, one reason to use macros is for 
time savings and clarity. Since IBM refuses to upgrade xSAM to 31 bit 
_properly_, I would really wish they'd upgrade the macro to be able to 
"generate" a DCB structure in dynamic storage. Hum, I may just see how 
difficult it would be for me to do this myself. Sort of a horrible wrapper 
macro which creates an "in line" DCB and copies it. Blech, doable but blech. 
I'll bet it would be fairly stable, tho. Hum. 

Actually, I wish the z/OS people would get off their high horse and duplicate 
the z/VSE feat of allowing a SAM file to be accessed as if it were an ESDS VSAM 
file, using ACBs.

-- 
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


> -----Original Message-----
> From: IBM Mainframe Discussion List [mailto:[email protected]]
> On Behalf Of Steve Thompson
> Sent: Monday, November 19, 2012 4:06 PM
> To: [email protected]
> Subject: "Dynamic DCB" [was "New" way to do UCB lookups]
> 
> <snippage>
> >>
> >> I have only recently gotten into writing rent code as "normal".
> Unfortunately(?) that has been coupled with the fact that all >> I
> write any more is LE enabled HLASM. I still have some problems with
> DCBs. I really wish IBM had a way to dynamically create >> one in
> dynamic storage _easily_. Like a DCB macro which had a MF=(E,(1)) type
> parameter.
> >>
> <SNIPPAGE>
> 
> In static storage, define your DCB,  Now copy it to your GETMAINed or
> STORAGE OBTAINed area. Modify it as needed (if needed at that point),
> point OPEN at it and let it update it with all the things it needs to
> have.
> 
> 
> Regards,
> Steve Thompson
> Staff Software Engineer
> IS Build
> IBM - Software Group
> 
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions, send
> email to [email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to