On Thu, Nov 4, 2010 at 3:16 PM, David G. Schlecht <dschle...@doit.nv.gov>wrote:
> David G. Schlecht says > > Subject: NETSTAT STACK and Rexx exec > > > > By the book, this simple Rexx syntax should work, but I am unable to > manipulate the external stack in Rexx. The > > following simple program says "Queued: 0" and the NETSTAT output gets > executed at TSO logout (numerous IKJ56500I > > COMMAND EZZ2587I NOT FOUND messages). The program: > > "Netstat STACK" > > say "Queued: " queued() > > > > This is executed by: TSO EXEC 'MYLIB(ZNETSTAT)' > > > > This seems to mean that queued() is not referencing the same stack that > NETSTAT is writing to. > > From what I read in the book, this should work. If it should work and > doesn't then I suspect > > there's a problem with the way Rexx is dealing with TSO. > > > > Any thoughts? Does this work for you? > > Funny but it works as expected when run in batch. Any thoughts on where I > can start looking to find the problem? > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO > Search the archives at http://bama.ua.edu/archives/ibm-main.html > It works ok for me, too, 58 lines queued -- Gonzalo Cengotita Quirce ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html