View previous topic :: View next topic
|
Author |
Message |
kavya123 Warnings : 1 New User
Joined: 11 Jul 2007 Posts: 34 Location: hyderabad
|
|
|
|
Hi,
I have used the macro TMAC on dataset 'Y' as follows
Code: |
ADDRESS ISPEXEC "EDIT DATASET("Y") MACRO(TMAC)" |
I got output from the macro and i want to use that in my REXX exec.
How can that be done.
Kavya.Y |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
What do you mean, you want to now use the dataset depicted by the variable Y ? |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
What do you mean by "I got output from the macro "? Is it written to a dataset? Is it in variables? Do you use SAY?
O. |
|
Back to top |
|
|
vgmurthy
New User
Joined: 19 Feb 2008 Posts: 8 Location: Chennai
|
|
|
|
hi,
Guess ... You have the answer in your question. Since you say that you got the output from ISPEXEC, I understand that you have it in a variable. If that's the case then you can straight away use that in your REXX code.
Hoep this helps.
Thanks,
Murthy. |
|
Back to top |
|
|
kavya123 Warnings : 1 New User
Joined: 11 Jul 2007 Posts: 34 Location: hyderabad
|
|
|
|
hi,
I have some variables in the Macro.
I am unable to use them stright away in the rexx program using 'SAY'.
For Ex:
The o/p i got from the macro for variable a is 10.
Then when i give say 'a' in the exec it is not displaying it as 10 instead it is displaying simply 'A'
Hope i had made my quetion more clear. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
|
|
what about using VPUT and VGET |
|
Back to top |
|
|
|