It's still not clear what you are asking. What is "moving a value into the 
macro expansion"? Are you referring to the macro prototype in the macro or are 
you referring to the actual call to SRVRCONN?

Doesn't program 1 create the token value and write one or more SRVRCONN 
statements (not the macro prototype) to program 2? If so, then convert it on 
these statements. Nothing to do with the macro prototype or expansion. 
Alternatively, you could add YTOKEN EQU X'########' but it is the same thing 
just doing it another way.  

Jon Perryman. 


________________________________
 From: "[email protected]" <[email protected]>


John  McKwn wrote

>so, instead of program #1 outputting
>
>    SRVRCONN SRVRCONN CITI_TO_QSTB,YTOKEN,A0000203
>
>it needs to output:
>
>   SRVRCONN CITI_TO_QSTB,X'2E47B000',A0000203

PROGRAM 1 Generates the SRVRCONN Macros. These are then used as input to the 
Assembler.

the value X'2E47B000' was only an example of what YTOKEN could contain.
It os not a Constant value, its value changes for each invocation  of the macro.

I cant move any values into the macro expansion, because the Macro hasnt been 
expanded by the Assembler.

Paul D'Angelo

Reply via email to