View previous topic :: View next topic
|
Author |
Message |
sanil m
New User
Joined: 24 Aug 2007 Posts: 38 Location: chennai
|
|
|
|
Hi,
I want to apply macro to all the members in the pds.
I have this piece of code
Code: |
ADDRESS TSO
X = OUTTRAP('VAR.')
"LISTDS '"SRCPDS"' MEMBERS"
DO I = 7 TO VAR.0
VAR.I = STRIP(VAR.I)
SRCMEM = VAR.I
SRCPGM = SRCPDS||"("||SRCMEM||")"
"ISPEXEC VIEW DATASET('"SRCPGM"') MACRO(MACRO1)"
END |
But when i use this code, members will be processed one by one only. I need to press PF3 keys to process members one by one.
Is there anyway by which i can apply macro to all the members in the pds in one shot.
Could anyone please help. |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
At the end of your macro, add ADDRESS ISREDIT END or CANCEL.
O. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
Back to top |
|
|
|