Portal | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Member wrongly created in my REXX Library!
Goto page Previous  1, 2
 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
daveporcelan

Active Member


Joined: 01 Dec 2006
Posts: 741
Location: Pennsylvania

PostPosted: Mon Feb 22, 2010 7:45 pm    Post subject:
Reply with quote

Quote:
but I am tad bit dissapointed to learn that we are such a pain in the rear end.


No worries, I am glad you got to the 'bottom' of it.

It appears you have learned not only how to run an edit macro, but also how to provide the proper information to get your question answered.
Back to top
View user's profile Send private message

Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2205
Location: Silicon Valley

PostPosted: Mon Feb 22, 2010 8:45 pm    Post subject: Reply to: Member wrongly created in my REXX Library!
Reply with quote

Quote:
I think you miss the
Code:
address ISPEXEC
statement to get the ISREDIT commands strings directed towards the ISPF environment.

Sorry, that is wrong. (If it works for you, I suppose ISPF somehow tolerates it). The macro instructions should not get directed to ISPF itself, but should be directed to the edit environment.

I think this is recommended:
Code:
/* Rexx ***********************************************************/
address ISREDIT
'MACRO'                                                     
   trace off 
Back to top
View user's profile Send private message
Kjeld

Active User


Joined: 15 Dec 2009
Posts: 365
Location: Denmark

PostPosted: Wed Feb 24, 2010 4:14 pm    Post subject:
Reply with quote

I have found that all 3 formats:
Code:
address ISPEXEC
'ISREDIT MACRO'

'ISREDIT MACRO'  /* No previous address statements issued */

address ISREDIT
'MACRO'
 


works and yields the same results at my installation. I guess the last format is the recommended if explicitly issuing edit macro commands.

The middle one uses the default host command environment for the invocation (TSO) and will find the ISREDIT command environment anyway.

However, a site can modify the modules called or possibly add or delete REXX host command environment from the installation, as specified in the TSO REXX reference manual.
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2205
Location: Silicon Valley

PostPosted: Wed Feb 24, 2010 10:29 pm    Post subject: Reply to: Member wrongly created in my REXX Library!
Reply with quote

In retrospect, there is probably not a very big difference between any of your examples. There are probably minor differences in the amount of parsing and the module call sequence.

Yet, I still prefer the more specific specification.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts TWS PIF (EQQYCOM) Rexx - Occurrence S... Richard Baker IBM Tools 0 Wed Sep 16, 2020 10:45 am
No new posts Call Natural program with rexx shahaf CLIST & REXX 2 Tue Sep 08, 2020 11:22 am
No new posts CA Sysview - JCL or Rexx - Read or Ex... Jasi CA Products 4 Wed Aug 05, 2020 9:19 pm
This topic is locked: you cannot edit posts or make replies. Invoke REXX thru JCL to expand the co... spizen556 CLIST & REXX 2 Sun Jul 26, 2020 3:53 pm
No new posts Determine what library member is in, ... mdwait JCL & VSAM 9 Thu Jul 23, 2020 3:02 am

Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us