On 15 Jan 2007 10:20:32 -0800, in bit.listserv.ibm-main (Message-ID:<[EMAIL PROTECTED]>) [EMAIL PROTECTED] (Paul Gilmartin) wrote:

>Anyone have any ideas no how to fix this?
Yes: use PARSE PULL instead of PULL, or use the stem form of EXECIO.
I'm curious as to why the preponderance of Rexx examples posted to these lists prefer [PARSE] PULL over STEM (I suggested the latter in my followup). I avoid using the stack as much as possible because in my experience it leads to hard- to-diagnose errors if the PUSHes and PULLs ever get out of sync. And in the case where the entire record is needed in a variable, STEM saves a statement.

I also avoid using the stack. It's especially problematic in TSO: An accidental end to the EXEC will start you executing the rest of the stack as TSO commands. I've had occasion to do that on purpose, but I'd hate to have it happen by accident.


--
I cannot receive mail at the address this was sent from.
To reply directly, send to ar23hur "at" intergate "dot" com

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