-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On
Behalf Of Mark Zelden
Sent: Tuesday, January 20, 2009 3:29 PM
To: [email protected]
Subject: Re: ISPF Edit Macro
<SNIPPAGE>
Put this exec in a library and execute it:
/* rexx */
Address ISPEXEC
/* "VERASE (ZUSERMAC) PROFILE" */ /* all edit sessions */
"VGET (ZDAEMAC) PROFILE" /* ispf 3.4 initial macro */
"VERASE (ZDAEMAC) PROFILE" /* ispf 3.4 initial macro */
If RC = 0 then do
If ZDAEMAC = '' then ,
zedlmsg = 'Initial macro removed!'
Else
zedlmsg = 'Initial macro removed! It was "' || ZDAEMAC || '"'
End
Else
zedlmsg = 'Error removing initial macro, it probably did not exist'
"SETMSG MSG(ISRZ000)"
Let me know if it fixes your problem.
<SNIP>
Done found it, and fixed it. The "macro" was RES for RESET which is what
I type at the top of edit/view sessions when there are junk messages at
the top that I don't care about... (among other times). Some how I
managed to get it picked up as an initial edit macro.
Regards,
Steve Thompson
PS. I will keep that REXX around. Seems I have a fat finger problem from
time to time.
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html