David
Part of my disillusionment with these "weird and wonderful" macros was when
I tried the "list" and "execute" forms - thanks for reminding me - well, it
was 1982 or so! I found myself "or"ing and "and"ing bits in the "control
block" created by the "list" form and then had a cup of coffee probably
while reflecting what the <expletive deleted> I might be doing "or"ing and
"and"ing bits in a "control block" when the whole <expletive deleted> idea
was to avoid "or"ing and "and"ing bits in a "control block", namely a real
control block such as the RPL!
Chris Mason
----- Original Message -----
From: "David de Jongh" <[email protected]>
To: <[email protected]>
Sent: Thursday, March 08, 2012 5:54 AM
Subject: Re: Non-Flexible VSAM macros
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