Thanks for your response. I read the document you refer too and I don,t think it applies to my situation. I'm trying to use the ISREDIT environment. It's only for interactive puproses but I'd like to see if I can compile that macro and use it online. It is not intended for batch (anyway, it woldn't make sense). Here's an example of what I mean.
/* REXX */
"FIND " FINDSTR
This macro would try to find a text string. When I call this as an ISPF macro NOT compiled, it works ok. If I compile this, it abends on a S0C4 when I try to run it as an ISPF macro. The article you mention talks about ISPF services and variables but doesn't mention the ISREDIT environment. My gut feeling is that there's no easy way to make this work. My macros are sometimes thousands of lines long and I thought maybe they'd run a bit faster compiled.