Page 1 of 1

ISPF EDIT Macro

PostPosted: Thu Jul 24, 2008 6:47 pm
by ram23bal
Hi All,

Iam having a rexx program calling the macros

Program:-
/*REXX*/
"ALLOC FILE(SYSEXEC) DATASET('NBKJ5LD.REXX.EXEC1')"
INP1 = 'qwsx.all.copy(test)'
ADDRESS ISPEXEC "EDIT DATASET('"INP1"') MACRO(TEST)"

Macro:-
"ISREDIT MACRO NOPROCESS"
"ISREDIT PACK OFF"
"ISREDIT SAVE"
"ISREDIT CAN"


Now my query is, Macro is applied for one member in a dataset as per the code.
I want to apply the macro funtion to all the members of the PDS.
Shortly I should open all the members of a PDS in EDIT mode and apply the macro.
Is it possible?

Re: ISPF EDIT Macro

PostPosted: Thu Jul 24, 2008 7:14 pm
by MrSpock
Sure. Why not just use the ISPF Library Management (LM) services for dealing with PDS's, specifically the LMMLIST service.