Hi,
The requirement is I have to write a macro which will give the dataset name , which I am editing. I found the following code from a website, but it is not working, can somebody sujjest me , whether I need to do any change.
/********************REXX***********************/
ADDRESS ISREDIT "MACRO PROCESS"
ADDRESS ISREDIT "(PGMLIB) = DATASET"
SAY "THIS IS THE FILE YOU ARE EDITING " PGMLIB
ADDRESS ISREDIT "(MEMBER) = MEMBER"
SAY "THIS IS THE MEMBER YOU ARE EDITING " MEMBER
The requirement is I have to write a macro which will give the dataset name , which I am editing. I found the following code from a website, but it is not working, can somebody sujjest me , whether I need to do any change.
/********************REXX***********************/
ADDRESS ISREDIT "MACRO PROCESS"
ADDRESS ISREDIT "(PGMLIB) = DATASET"
SAY "THIS IS THE FILE YOU ARE EDITING " PGMLIB
ADDRESS ISREDIT "(MEMBER) = MEMBER"
SAY "THIS IS THE MEMBER YOU ARE EDITING " MEMBER