You can use the (somewhat arcane) list and execute forms of the macros.  Be
aware that they are different from the list and execute forms of other
macros in that the list form generates executable code to populate the list
in a "remote" (i.e. getmained) area, rather than simply mapping the expected
parameters.  The language is rather impenetrable, but becomes clearer when
you code an example:
"If you code MF=(L,address,label), the parameter list is built in the remote
area specified. The expansion of the macro equates label with the length of
the parameter list."

> -----Original Message-----
> From: IBM Mainframe Assembler List [mailto:ASSEMBLER-
> [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