ISPF EDIT Macro
Posted: Thu Jul 24, 2008 6:47 pm
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?
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?