Re: Capturing output from SMSG command

2010-01-22 Thread Dave Jones

Hi, Larry.

What are your current settings for SMSG and MSG? You will need to have

SET MSG IUCV

set in order for the Pipe to capture the response from RSCS.

DJ

On 01/22/2010 10:01 AM, Davis, Larry (National VM/VSE Capability) wrote:

I am sending an SMSG request to RSCS and want to capture the output in a PIPE 
to parse and output to the console.

I have been using the STARMSG stage, but I don't seem to be getting the data 
into the stream after the command is sent to RSCS


Larry Davis
VM Capability
HP Enterprise Services
Tel: +1 813  394 4240
E-mail: larry.dav...@hp.commailto:name.n...@eds.com


--
Dave Jones
V/Soft
www.vsoft-software.com
Houston, TX
281.578.7544


Re: Capturing output from SMSG command

2010-01-22 Thread Wandschneider, Scott
There is a real nice EXEC on the VM Download page called GETRSCS.  It
does what you need and works well.

Thank you,

Scott

-Original Message-
From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On
Behalf Of Davis, Larry (National VM/VSE Capability)
Sent: Friday, January 22, 2010 10:02 AM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Capturing output from SMSG command

I am sending an SMSG request to RSCS and want to capture the output in a
PIPE to parse and output to the console.

I have been using the STARMSG stage, but I don't seem to be getting the
data into the stream after the command is sent to RSCS


Larry Davis
VM Capability
HP Enterprise Services
Tel: +1 813  394 4240
E-mail: larry.dav...@hp.commailto:name.n...@eds.com

Confidentiality Note: This e-mail, including any attachment to it, may contain 
material that is confidential, proprietary, privileged and/or Protected Health 
Information, within the meaning of the regulations under the Health Insurance 
Portability  Accountability Act as amended.  If it is not clear that you are 
the intended recipient, you are hereby notified that you have received this 
transmittal in error, and any review, dissemination, distribution or copying of 
this e-mail, including any attachment to it, is strictly prohibited. If you 
have received this e-mail in error, please immediately return it to the sender 
and delete it from your system. Thank you.


Re: Capturing output from SMSG command

2010-01-22 Thread Davis, Larry (National VM/VSE Capability)
Thanks everyone and Yes I was setting SMSG to IUCV and then SETTING to OFF 
after the PIPE was done. 

I will look and the GETRSCS exec Thanks


Larry Davis

-Original Message-
From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf 
Of Wandschneider, Scott
Sent: Friday, January 22, 2010 11:23 AM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: Capturing output from SMSG command

There is a real nice EXEC on the VM Download page called GETRSCS.  It
does what you need and works well.

Thank you,

Scott

-Original Message-
From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On
Behalf Of Davis, Larry (National VM/VSE Capability)
Sent: Friday, January 22, 2010 10:02 AM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Capturing output from SMSG command

I am sending an SMSG request to RSCS and want to capture the output in a
PIPE to parse and output to the console.

I have been using the STARMSG stage, but I don't seem to be getting the
data into the stream after the command is sent to RSCS


Larry Davis
VM Capability
HP Enterprise Services
Tel: +1 813  394 4240
E-mail: larry.dav...@hp.commailto:name.n...@eds.com

Confidentiality Note: This e-mail, including any attachment to it, may contain 
material that is confidential, proprietary, privileged and/or Protected Health 
Information, within the meaning of the regulations under the Health Insurance 
Portability  Accountability Act as amended.  If it is not clear that you are 
the intended recipient, you are hereby notified that you have received this 
transmittal in error, and any review, dissemination, distribution or copying of 
this e-mail, including any attachment to it, is strictly prohibited. If you 
have received this e-mail in error, please immediately return it to the sender 
and delete it from your system. Thank you.


Re: Capturing output from SMSG command

2010-01-22 Thread Alan Altmark
On Friday, 01/22/2010 at 11:04 EST, Davis, Larry (National VM/VSE 
Capability) larry.dav...@hp.com wrote:
 I am sending an SMSG request to RSCS and want to capture the output in a 
PIPE 
 to parse and output to the console.
 
 I have been using the STARMSG stage, but I don't seem to be getting the 
data 
 into the stream after the command is sent to RSCS

arg parm1 
'CP SET MSG IUCV' 
'PIPE (endchar ?)', 
  'starmsg CP SMSG RSCS' parm1, 
  '| spec word 2-*', 
  '| stem rscs.', 
  '?', 
  'literal +1', 
  '| delay', 
  '| pipestop' 
 'CP SET MSG ON' 

Alan Altmark
z/VM Development
IBM Endicott


Re: Capturing output from SMSG command

2010-01-22 Thread Scott Rohling
Note that setting SMSG to IUCV doesn't help you...   RSCS replies with MSG
so that's what you're trying to capture.

Scott

On Fri, Jan 22, 2010 at 9:27 AM, Davis, Larry (National VM/VSE Capability) 
larry.dav...@hp.com wrote:

 Thanks everyone and Yes I was setting SMSG to IUCV and then SETTING to OFF
 after the PIPE was done.

 I will look and the GETRSCS exec Thanks


 Larry Davis

 -Original Message-
 From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On
 Behalf Of Wandschneider, Scott
 Sent: Friday, January 22, 2010 11:23 AM
 To: IBMVM@LISTSERV.UARK.EDU
 Subject: Re: Capturing output from SMSG command

 There is a real nice EXEC on the VM Download page called GETRSCS.  It
 does what you need and works well.

 Thank you,

 Scott

 -Original Message-
 From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On
 Behalf Of Davis, Larry (National VM/VSE Capability)
 Sent: Friday, January 22, 2010 10:02 AM
 To: IBMVM@LISTSERV.UARK.EDU
 Subject: Capturing output from SMSG command

 I am sending an SMSG request to RSCS and want to capture the output in a
 PIPE to parse and output to the console.

 I have been using the STARMSG stage, but I don't seem to be getting the
 data into the stream after the command is sent to RSCS


 Larry Davis
 VM Capability
 HP Enterprise Services
 Tel: +1 813  394 4240
 E-mail: larry.dav...@hp.commailto:name.n...@eds.com

 Confidentiality Note: This e-mail, including any attachment to it, may
 contain material that is confidential, proprietary, privileged and/or
 Protected Health Information, within the meaning of the regulations under
 the Health Insurance Portability  Accountability Act as amended.  If it is
 not clear that you are the intended recipient, you are hereby notified that
 you have received this transmittal in error, and any review, dissemination,
 distribution or copying of this e-mail, including any attachment to it, is
 strictly prohibited. If you have received this e-mail in error, please
 immediately return it to the sender and delete it from your system. Thank
 you.



Re: Capturing output from SMSG command

2010-01-22 Thread Davis, Larry (National VM/VSE Capability)
Thanks Alan and Scott I will try that


Larry Davis

From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf 
Of Scott Rohling
Sent: Friday, January 22, 2010 11:30 AM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: Capturing output from SMSG command

Note that setting SMSG to IUCV doesn't help you...   RSCS replies with MSG so 
that's what you're trying to capture.

Scott
On Fri, Jan 22, 2010 at 9:27 AM, Davis, Larry (National VM/VSE Capability) 
larry.dav...@hp.commailto:larry.dav...@hp.com wrote:
Thanks everyone and Yes I was setting SMSG to IUCV and then SETTING to OFF 
after the PIPE was done.

I will look and the GETRSCS exec Thanks


Larry Davis

-Original Message-
From: The IBM z/VM Operating System 
[mailto:IBMVM@LISTSERV.UARK.EDUmailto:IBMVM@LISTSERV.UARK.EDU] On Behalf Of 
Wandschneider, Scott
Sent: Friday, January 22, 2010 11:23 AM
To: IBMVM@LISTSERV.UARK.EDUmailto:IBMVM@LISTSERV.UARK.EDU
Subject: Re: Capturing output from SMSG command

There is a real nice EXEC on the VM Download page called GETRSCS.  It
does what you need and works well.

Thank you,

Scott

-Original Message-
From: The IBM z/VM Operating System 
[mailto:IBMVM@LISTSERV.UARK.EDUmailto:IBMVM@LISTSERV.UARK.EDU] On
Behalf Of Davis, Larry (National VM/VSE Capability)
Sent: Friday, January 22, 2010 10:02 AM
To: IBMVM@LISTSERV.UARK.EDUmailto:IBMVM@LISTSERV.UARK.EDU
Subject: Capturing output from SMSG command

I am sending an SMSG request to RSCS and want to capture the output in a
PIPE to parse and output to the console.

I have been using the STARMSG stage, but I don't seem to be getting the
data into the stream after the command is sent to RSCS


Larry Davis
VM Capability
HP Enterprise Services
Tel: +1 813  394 4240
E-mail: 
larry.dav...@hp.commailto:larry.dav...@hp.commailto:name.n...@eds.commailto:name.n...@eds.com

Confidentiality Note: This e-mail, including any attachment to it, may contain 
material that is confidential, proprietary, privileged and/or Protected Health 
Information, within the meaning of the regulations under the Health Insurance 
Portability  Accountability Act as amended.  If it is not clear that you are 
the intended recipient, you are hereby notified that you have received this 
transmittal in error, and any review, dissemination, distribution or copying of 
this e-mail, including any attachment to it, is strictly prohibited. If you 
have received this e-mail in error, please immediately return it to the sender 
and delete it from your system. Thank you.



Re: Capturing output from SMSG command

2010-01-22 Thread Schuh, Richard
If the command is to the local RSCS machine, look at the CRI interface. If not 
to the local, it is more difficult as the response comes back as a MSG from the 
distant node. I have a GETRSCS EXEC designed to handle both that I might be 
willing to share. I do not see the package on the download page; however, if 
the one referred to is a copy of my EXEC, I did not put it there. I may have 
sent it to Fran Hensler, but do not remember doing so. (That is not saying 
much, I forget so many things these days.) 

Regards, 
Richard Schuh 

 

 -Original Message-
 From: The IBM z/VM Operating System 
 [mailto:ib...@listserv.uark.edu] On Behalf Of Davis, Larry 
 (National VM/VSE Capability)
 Sent: Friday, January 22, 2010 8:02 AM
 To: IBMVM@LISTSERV.UARK.EDU
 Subject: Capturing output from SMSG command
 
 I am sending an SMSG request to RSCS and want to capture the 
 output in a PIPE to parse and output to the console.
 
 I have been using the STARMSG stage, but I don't seem to be 
 getting the data into the stream after the command is sent to RSCS
 
 
 Larry Davis
 VM Capability
 HP Enterprise Services
 Tel: +1 813  394 4240
 E-mail: larry.dav...@hp.commailto:name.n...@eds.com
 

Re: Capturing output from SMSG command

2010-01-22 Thread Schuh, Richard
You may miss the tail end of a response. CRI handles that for a local node.

Regards, 
Richard Schuh 

 

 -Original Message-
 From: The IBM z/VM Operating System 
 [mailto:ib...@listserv.uark.edu] On Behalf Of Alan Altmark
 Sent: Friday, January 22, 2010 8:29 AM
 To: IBMVM@LISTSERV.UARK.EDU
 Subject: Re: Capturing output from SMSG command
 
 On Friday, 01/22/2010 at 11:04 EST, Davis, Larry (National 
 VM/VSE Capability) larry.dav...@hp.com wrote:
  I am sending an SMSG request to RSCS and want to capture 
 the output in 
  a
 PIPE 
  to parse and output to the console.
  
  I have been using the STARMSG stage, but I don't seem to be getting 
  the
 data 
  into the stream after the command is sent to RSCS
 
 arg parm1
 'CP SET MSG IUCV' 
 'PIPE (endchar ?)',
   'starmsg CP SMSG RSCS' parm1,
   '| spec word 2-*',
   '| stem rscs.',
   '?',
   'literal +1',
   '| delay',
   '| pipestop' 
  'CP SET MSG ON' 
 
 Alan Altmark
 z/VM Development
 IBM Endicott