Most strange. Try this:

 MODCB ACB=acb,DDNAME=(*,0(R3))

The macro is using "I don't know what it's called", as documented here:

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/DGT2D570/1.2.1
<quote>
An expression of the form (*,scon), where scon is an expression valid for an 
S-type address constant, including the base-displacement form. The address 
specified by scon is indirect, that is, it is the address of an area that 
contains the value of the keyword. The contents of the base register are added 
to the displacement to determine the address of the fullword of storage that 
contains the value of the keyword.

If an indirect S-type address constant is used, the value it points to must 
meet the following criteria:

    If it is a numeric quantity or an address, it must occupy a fullword of 
storage.

    If it is an alphanumeric character string, it must occupy two words of 
storage, be left aligned, and be filled on the right with blanks.
</quote>

--
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 Assembler List
> [mailto:[email protected]] On Behalf Of Bodoh
> John Robert
> Sent: Wednesday, March 07, 2012 3:06 PM
> To: [email protected]
> Subject: Non-Flexible VSAM macros
>
> I have been trying to use the VSAM macros to generate and
> modify an ACB.  One of the things I would like to modify is
> the DDNAME.  The DDNAME actually comes into my program as a
> parameter so I would like to issue a MODCB ACB=...DDNAME=(R3)
> but I get an error because the DDNAME parameter is not a
> character string.  How can I set the DDNAME in an ACB where
> the name is dynamic?
>
> I've also can not see a way to set the MACRF keyword dynamically.
>
>
> John
>
> [email protected]<mailto:[email protected]>
> Fredericksburg: 540-368-0196
> Cell:                   845-532-2079
>
>

Reply via email to