Page 1 of 1

Why does EXECIO require 'Enter' more than once?

Posted: Tue Feb 09, 2016 4:34 pm
by Javed Husain
Hi,

I have observed that when I am using "EXECIO * DISKW DDNAME", REXX will continue pulling input from the stack and from terminal input until it gets a null line. So a users will have to hit enter once to generate a null line. Why does EXECIO require 'Enter' more than once? Can there be better way of doing it? As of now I use the following two methods to overcome this:
  1. Used the Queued() built in function instead of '*'.
  2. Queued a null line before writing data from the stack.

Re: Why does EXECIO require 'Enter' more than once?

Posted: Tue Feb 09, 2016 6:13 pm
by nicc
It needs an EOF. But why use EXECIO, which is more designed for dataset access, when you can use PULL?