Hi,
this is my first rexx macro...using rexx macro i want to use 'change all'. but my macro is not
executing.
rexx code : TEST.VENKY.PRAC(EDPDS)
/* REXX PROGRAM EDITPS */
LIB = "TEST.VENKY.PRAC"
ADDRESS 'ISPEXEC'
"LMINIT DATAID(INPUTDD) DATASET('"LIB"') ENQ(SHR)"
"LMOPEN DATAID("INPUTDD") OPTION(INPUT)"
MEMBER = 'CHGALL'
DO WHILE ( RC = 0 )
MEMBER = STRIP(MEMBER)
SAY "CALLING MACRO..."
"EDIT DATASET('"LIB"("MEMBER")') MACRO("MACRO")"
SAY "AFTER MACRO..."
END
"LMCLOSE DATAID("INPUTDD")"
"LMFREE DATAID("INPUTDD")"
macro:TEST.VENKY.PRAC(CHGALL)
/* REXX MACRO PROGRAM CHGALL */
SAY "CHGALL MACRO ENTERED"
"ISREDIT MACRO PROCESS"
"ISREDIT CHANGE '!UPPER-CASE' 'FUNCTION UPPER-CASE' ALL"
"ISREDIT END"
ADDRESS 'ISPEXEC'
RETURN
TEST.VENKY.PRAC(INPUT)
000001 !UPPER-CASE
000002 !UPPER-CASE
000003 !UPPER-CASE
000004 !UPPER-CASE
000005 !UPPER-CASE
error:
IKJ56500I COMMAND MACRO NOT FOUND