how to write rexx macro to edit ps



IBM's Command List programming language & Restructured Extended Executor

how to write rexx macro to edit ps

Postby mainframe1 » Tue Feb 16, 2010 1:04 pm

hi, how to code rexx macro to edit a PS say aa.bb with out going to 3.4

regards
mainframe1
 
Posts: 35
Joined: Wed Oct 08, 2008 11:39 am
Has thanked: 0 time
Been thanked: 0 time

Re: how to write rexx macro to edit ps

Postby expat » Tue Feb 16, 2010 5:18 pm

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)"')"
expat
 
Posts: 459
Joined: Sat Jun 09, 2007 3:21 pm
Has thanked: 0 time
Been thanked: 8 times

Re: how to write rexx macro to edit ps

Postby prino » Tue Feb 16, 2010 10:59 pm

Use EPDF an ISPF builtin command...
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy
User avatar
prino
 
Posts: 635
Joined: Wed Mar 11, 2009 12:22 am
Location: Vilnius, Lithuania
Has thanked: 3 times
Been thanked: 28 times


Return to CLIST & REXX

 


  • Related topics
    Replies
    Views
    Last post