> -----Original Message-----
> From: IBM Mainframe Discussion List [mailto:[email protected]]
> On Behalf Of Paul Gilmartin
> Sent: Monday, September 08, 2014 4:57 PM
> To: [email protected]
> Subject: Re: FTP of EBCDIC file
> 
> On 2014-09-08, at 08:08, John McKown wrote:
> > ...
> >      output=left(data,i-1);
> >      queue output
> >      "execio 1 diskw sysut2"
> > ...
> Is this preferable to:
>          ...
>      output.1=left(data,i-1);
>      "execio 1 diskw sysut2 (stem output."
>          ...
> ?
> I have a custom of avoiding the stack.  I've had too many
> problems with PUSH/POP mismatches.

I have no problems with the stack (or rather: not more than with any other of 
the language "constructs"). 
Although I nearly always uses QUEUE/PULL/EXECIO with NEWSTACK/DELSTACK.  

There is a theoretical performance enhancement with using the stack instead of 
stem.
With stack REXX need only one "parsing" of variable and don't need to setup a 
stem.  
This depends of course much on how smart the REXX interpreter or compiler is.   



Best Regards,
Thomas Berg
___________________________________________________________________ 
Thomas Berg   Specialist   zOS/RQM/IT Delivery   Swedbank AB (Publ)

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to