Page 1 of 1

how to write rexx macro to edit ps

PostPosted: Tue Feb 16, 2010 1:04 pm
by mainframe1
hi, how to code rexx macro to edit a PS say aa.bb with out going to 3.4

regards

Re: how to write rexx macro to edit ps

PostPosted: Tue Feb 16, 2010 5:18 pm
by expat
The easiest way to code the macro is to type it in using the keyboard :mrgreen:

/* REXX *** EDIT DATASET SPECIFIED IN COMMAND LINE AT INVOKE */
ARG DSN .
"ISPEXEC CONTROL ERRORS RETURN"
"ISPEXEC EDIT DATASET('"STRIP(DSN)"')"

Re: how to write rexx macro to edit ps

PostPosted: Tue Feb 16, 2010 10:59 pm
by prino
Use EPDF an ISPF builtin command...