I didn't think most people would be interested, but this is what I sent to 
Itschak:



If you want compiled REXX to be portable (in other words, you want the REXX to 
be executable at sites that don't have the REXX 'library' installed), then you 
*must* use the SLINE option (as well as the ALT option). This means the REXX 
source will be included in the executable, and will be executed at interpreted 
speed on systems where the REXX library isn't installed. However, as someone 
else pointed out, you can make the source unreadable by using the CONDENSE 
option.

As far as execution goes, you can prevent the code from being traced by 
specifying CALL TRACE "OFF" throughout the program. To be safe, you need to 
specify CALL TRACE "OFF" as the very first line in the program, and at every 
point where the program 'pauses' to do something else. For example, if you have 
a REXX program that displays an ISPF panel and/or calls another program (etc) 
then you'll need to do something like this:

/* REXX */
call trace "OFF"
address ispexec
do forever
"DISPLAY PANEL(MYPANEL)"
call trace "OFF"
if rc> 0 then exit
"SELECT CMD(MYPROG)"
call trace "OFF"
end

You'll notice that the above uses CALL TRACE "OFF" three times; at the very 
start of the program, immediately after it displays a panel, and immediately 
after it calls another program. 

I hope that helps,

Dave Salt

SimpList(tm) - try it; you'll get it!
http://www.mackinney.com/products/SIM/simplist.htm




_________________________________________________________________
If you like crossword puzzles, then you'll love Flexicon, a game which combines 
four overlapping crossword puzzles into one!
http://g.msn.ca/ca55/208

----------------------------------------------------------------------
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

Reply via email to