MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

REXX Macro

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
mangsk
Beginner


Joined: 05 Jun 2004
Posts: 46
Topics: 18

PostPosted: Mon Jan 24, 2005 2:31 am    Post subject: REXX Macro Reply with quote

Hi all,
Please have a look at the macro below -

1 /* REXX OVER72 */
2 ADDRESS ISREDIT "MACRO PROCESS"
3 SIGNAL ON ERROR
4 ADDRESS ISPEXEC "CONTROL ERRORS RETURN "
5 ADDRESS ISREDIT "(USTAT) = USER_STATE "
6 ADDRESS ISREDIT "FIND FIRST P'
_________________
Regards,
Mangsk
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
Mervyn
Moderator


Joined: 02 Dec 2002
Posts: 415
Topics: 6
Location: Hove, England

PostPosted: Mon Jan 24, 2005 5:01 am    Post subject: Reply with quote

Mangsk,

You need the ISPF EDIT manual:

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/ISPZEM30/CCONTENTS?DT=20040721185339

And the ISPF Services Manual:

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/ISPZSG30/CCONTENTS?DT=20040720211110
_________________
The day you stop learning the dinosaur becomes extinct
Back to top
View user's profile Send private message
Mervyn
Moderator


Joined: 02 Dec 2002
Posts: 415
Topics: 6
Location: Hove, England

PostPosted: Mon Jan 24, 2005 5:05 am    Post subject: Reply with quote

I missed the ADDRESS query. It's in the REXX manual (you want the instruction, not the function).

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IKJ4A350/CCONTENTS?DT=20040623084642
_________________
The day you stop learning the dinosaur becomes extinct
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group