REXX and VTAM command responses

2010-04-05 Thread Bruce Schaefer
Hello list, I have a rexx that issues console commands and writes the responses to a dd after using getmsg to retrieve the response. Everything is good for MVS commands and JES2 commands if L=Z is included. Is there a similar option for VTAM commands? For D NET,, I am only getting: IST097I DI

Re: REXX and VTAM command responses

2010-04-05 Thread Starr, Alan
haefer Sent: Monday, April 05, 2010 15:34 To: IBM-MAIN@bama.ua.edu Subject: REXX and VTAM command responses Hello list, I have a rexx that issues console commands and writes the responses to a dd after using getmsg to retrieve the response. Everything is good for MVS commands and JES2 commands if L

Re: REXX and VTAM command responses

2010-04-05 Thread Chris Mason
Bruce Alan is correct in that the "xxx ACCEPTED" response is actually a response to the VTAM command and the output you really want to see is generated asynchronously. Ideally you would be operating in a NetView environment. These days - for very many years now - you could be using the NetView

Re: REXX and VTAM command responses

2010-04-05 Thread Scott Ford
and VTAM command responses Hello list, I have a rexx that issues console commands and writes the responses to a dd after using getmsg to retrieve the response. Everything is good for MVS commands and JES2 commands if L=Z is included.  Is there a similar option for VTAM commands? For D NET,, I

Re: REXX and VTAM command responses

2010-04-06 Thread Staller, Allan
SYSTEM REXX? Requires z/OS 1.9 and above. See the discusson about AXRCMD... Or a Chris responded, NETVIEW. HTH, Hello list, I have a rexx that issues console commands and writes the responses to a dd after using getmsg to retrieve the response. Everything is good for MVS commands and JES2 comma

[Fwd: REXX and VTAM command responses]

2010-04-07 Thread Bruce Schaefer
Thanks for the responses. I neglected to mention that I am using a 30 second time on the getmsg. However, it still comes back with just the initial 'accepted' msg. I understand this time to be a maximum wait time and not a hard wait time. As for system rexx, I'm not sure how that would change

Re: REXX and VTAM command responses

2010-04-07 Thread Martin Kline
>I have a rexx that issues console commands and writes the responses to a >dd after using getmsg to retrieve the response. Everything is good for >MVS commands and JES2 commands if L=Z is included. Is there a similar >option for VTAM commands? For D NET,, I am only getting: >IST097I DISPLAY ACC

Re: REXX and VTAM command responses

2010-04-07 Thread Chris Mason
Bruce Martin's response, the reference to *multiline* messages, jogged my memory and a correction to my previous post is needed. In the case of VTAM DISPLAY commands, there is a synchronous IST097I DISPLAY ACCEPTED response followed my a *single* asynchronous message which is in *multiline* fo

Re: [Fwd: REXX and VTAM command responses]

2010-04-07 Thread Michael Schmutzok
I had this problem with multi-line output from JES2 commands (e.g. $DSPOOL). I was only getting the first line of the output. I opened an incident with IBM and eventually we came up with the solution. I had to recursively re-issue the AXRCMD command, minus the actual command itself. I went ahead

[Fwd: [Fwd: REXX and VTAM command responses]]

2010-04-07 Thread Bruce Schaefer
Thanks to all, and especially to taltyman. Based on his sample, I added a second getmsg for NET commands and I now get the desired results. -- /* //* Bruce Schaefer //* mailto:bruce.s...@gmail.com // -- For IBM-MAIN subscrib