Re: A little pipe question.

2011-02-08 Thread Frank M. Ramaekers
Try the IBMVM Pipelines Listserv for a response.

 

 

Frank M. Ramaekers Jr.

 

 



From: The IBM z/VM Operating System [mailto:IBMVM@LISTSERV.UARK.EDU] On
Behalf Of Tom Huegel
Sent: Monday, February 07, 2011 2:10 PM
To: IBMVM@LISTSERV.UARK.EDU
Subject: A little pipe question.

 

I am trying to replace a WAKEUP (IUCVMSG routine with a PIPE STARMSG.
I have the following snippet that seems to work fine except for
capturing the return code from the cp/cms command (XCMD).

Is there a simple fix to this? - Thanks

/* */

trace o

cp set msg iucv

arg  xcmd

'pipe (endchar ?)',

  '| starmsg ',

 xcmd,

  '| specs 9-16 1 17-* strip nw x15 nw',

  '| stem linecount.',   /* save results
*/  
  '?',   /* start of second pipeline
*/  
  'literal +01', /* Delay time
*/  
  '| delay', /* Delay
*/  
  '| pipestop'   /* Stop
*/  
say rc

cp set msg on

'pipe stem linecount. | console'

exit



_
This message contains information which is privileged and confidential and is 
solely for the use of the
intended recipient. If you are not the intended recipient, be aware that any 
review, disclosure,
copying, distribution, or use of the contents of this message is strictly 
prohibited. If you have
received this in error, please destroy it immediately and notify us at 
privacy...@ailife.com.


Re: A little pipe question.

2011-02-08 Thread Dave Jones
Tom, if the xcmd stage has a secondary output stream defined,
Pipelines will write the return code from the cp/cms command there.

Does that help?

DJ

On 02/07/2011 02:09 PM, Tom Huegel wrote:
 I am trying to replace a WAKEUP (IUCVMSG routine with a PIPE STARMSG.
 I have the following snippet that seems to work fine except for capturing
 the return code from the cp/cms command (XCMD).
 
 Is there a simple fix to this? - Thanks
 
 /*
 */
 
 trace
 o
 cp set msg
 iucv
 arg
 xcmd
 'pipe (endchar
 ?)',
   '| starmsg
 ',
 
 xcmd,
   '| specs 9-16 1 17-* strip nw x15
 nw',
   '| stem linecount.',   /* save results
 */
   '?',   /* start of second pipeline
 */
   'literal +01', /* Delay time
 */
   '| delay', /* Delay
 */
   '| pipestop'   /* Stop
 */
 say
 rc
 
 cp set msg
 on
 'pipe stem linecount. |
 console'
 exit
 

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


Re: A little pipe question.

2011-02-08 Thread Tom Huegel
Thanks David, I thought that was the flow, but I didn't get it to work..
Maybe I was just tired. Between shoveling snow and watching the Super Bowl
I'm ready for a vacation.

On Tue, Feb 8, 2011 at 5:53 AM, Dave Jones d...@vsoft-software.com wrote:

 Tom, if the xcmd stage has a secondary output stream defined,
 Pipelines will write the return code from the cp/cms command there.

 Does that help?

 DJ

 On 02/07/2011 02:09 PM, Tom Huegel wrote:
  I am trying to replace a WAKEUP (IUCVMSG routine with a PIPE STARMSG.
  I have the following snippet that seems to work fine except for capturing
  the return code from the cp/cms command (XCMD).
 
  Is there a simple fix to this? - Thanks
 
  /*
  */
 
  trace
  o
  cp set msg
  iucv
  arg
  xcmd
  'pipe (endchar
  ?)',
'| starmsg
  ',
 
  xcmd,
'| specs 9-16 1 17-* strip nw x15
  nw',
'| stem linecount.',   /* save results
  */
'?',   /* start of second pipeline
  */
'literal +01', /* Delay time
  */
'| delay', /* Delay
  */
'| pipestop'   /* Stop
  */
  say
  rc
 
  cp set msg
  on
  'pipe stem linecount. |
  console'
  exit
 

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



CHARLOTTe Updates to WW2CORE REXX

2011-02-08 Thread Fran Hensler
Good morning -

I am still using CHARLOTTe 2.10 in z/VM 3.1.  I think it is great   for
except one annoyance -- newer HTML entities such as ldquo; rdquo;squo;
lsquo;  do not get translated into displayable EBCDIC characters.

I think it is WW2CORE REXX that does this work and I would like to
update it but I don't know how to decompile the compiled REXX.

The source code is not in the CHARLOTT package on the IBM DOWNLOAD site.
The package has a note that source code can be obtained by contacting
charlotte.supp...@gems4.gov.bc.ca  but this address in no longer active.

Does anyone know of a newer contact address?  Or has someone already
updated CHARLOTTe to handle the mentioned HTML entities?

/Fran Hensler at Slippery Rock University of Pennsylvania USA for 47 years
mailto:f...@zvm.sru.edu  http://zvm.sru.edu/~fjh  +1.724.738.2153
  Yes, Virginia, there is a Slippery Rock
--


Re: RSCS CTCA between a first and second level system...

2011-02-08 Thread RPN01
That was it. It¹s all in what you name the nodes Be consistent.

-- 
Robert P. Nix  Mayo Foundation.~.
RO-OC-1-18 200 First Street SW/V\
507-284-0844   Rochester, MN 55905   /( )\
-^^-^^
In theory, theory and practice are the same, but
 in practice, theory and practice are different.



On 2/7/11 12:49 PM, Michael Harding mhard...@us.ibm.com wrote:

 IOW what does the LOCAL statement in your RSCS CONFIGs specify?
 --
 Mike Harding
 z/VM System Support
 
 mhard...@us.ibm.com
 mike.b.hard...@kp.org
 mikehard...@mindless.com
 (925) 926-3179 (w)
 (925) 323-2070 (c)
 IM: VMBearDad (AIM),  mbhcpcvt (Y!)
 
 
 The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU wrote on 02/07/2011
 10:28:48 AM:
 
  From: Alan Altmark/Endicott/IBM@IBMUS
  To: IBMVM@LISTSERV.UARK.EDU
  Date: 02/07/2011 10:30 AM
  Subject: Re: RSCS CTCA between a first and second level system...
  Sent by: The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU
  
  On Monday, 02/07/2011 at 11:53 EST, RPN01 nix.rob...@mayo.edu wrote:
   The systems are polar and npolar.
   DMTNCR916E Invalid NJE signon connection record received
  
  That message comes out because signon record contains
  - A node id that doesn't match the local system's expectation of who is at
  the other end
  - The signon record is too long (unusual)
  - There is a feature mismatch (unusual)
  - syntax errors in the signon protocol (unusual)
  
  Alan Altmark
  
  z/VM and Linux on System z Consultant
  IBM System Lab Services and Training
  ibm.com/systems/services/labservices
  office: 607.429.3323
  alan_altm...@us.ibm.com
  IBM Endicott
 



Re: A little pipe question.

2011-02-08 Thread Kris Buelens
xcmd is no stage, it just is a command that STARMSG will issue just after
its start.

I've got an idea, I don't know if it is easily implemented: pass a command
to STARMSG with a known response.  when that response arrives, send it to
some other stream where you uses SPECS to replace it by the command to
execute, that you pass to a COMMAND (or CP) stage that you give a secondary
output to trap the returncode.
  Something like:
 '!STARMSG comamndWithKnowResponse',
 '!L: NLOCATE /the_expected_response',
 .
 '?L:!SPEC /'xcmd'/ 1',
 '!Cmd: COMMAND',
 '?Cmd:!Var CmdRc',
 ...

2011/2/8 Tom Huegel tehue...@gmail.com

 Thanks David, I thought that was the flow, but I didn't get it to work..
 Maybe I was just tired. Between shoveling snow and watching the Super Bowl
 I'm ready for a vacation.


 On Tue, Feb 8, 2011 at 5:53 AM, Dave Jones d...@vsoft-software.comwrote:

 Tom, if the xcmd stage has a secondary output stream defined,
 Pipelines will write the return code from the cp/cms command there.

 Does that help?

 DJ

 On 02/07/2011 02:09 PM, Tom Huegel wrote:
  I am trying to replace a WAKEUP (IUCVMSG routine with a PIPE STARMSG.
  I have the following snippet that seems to work fine except for
 capturing
  the return code from the cp/cms command (XCMD).
 
  Is there a simple fix to this? - Thanks
 
  /*
  */
 
  trace
  o
  cp set msg
  iucv
  arg
  xcmd
  'pipe (endchar
  ?)',
'| starmsg
  ',
 
  xcmd,
'| specs 9-16 1 17-* strip nw x15
  nw',
'| stem linecount.',   /* save results
  */
'?',   /* start of second pipeline
  */
'literal +01', /* Delay time
  */
'| delay', /* Delay
  */
'| pipestop'   /* Stop
  */
  say
  rc
 
  cp set msg
  on
  'pipe stem linecount. |
  console'
  exit
 

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





-- 
Kris Buelens,
IBM Belgium, VM customer support


Re: A little pipe question.

2011-02-08 Thread Schuh, Richard
Tom,

Here is a pipe that I have extracted from an EXEC that we have been using for 
several years that does the type of thing you appear to be attempting. Let me 
know if you have any questions.

Regards,
Richard Schuh






From: The IBM z/VM Operating System [mailto:IBMVM@LISTSERV.UARK.EDU] On Behalf 
Of Tom Huegel
Sent: Tuesday, February 08, 2011 6:39 AM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: A little pipe question.

Thanks David, I thought that was the flow, but I didn't get it to work..  Maybe 
I was just tired. Between shoveling snow and watching the Super Bowl I'm ready 
for a vacation.

On Tue, Feb 8, 2011 at 5:53 AM, Dave Jones 
d...@vsoft-software.commailto:d...@vsoft-software.com wrote:
Tom, if the xcmd stage has a secondary output stream defined,
Pipelines will write the return code from the cp/cms command there.

Does that help?

DJ

On 02/07/2011 02:09 PM, Tom Huegel wrote:
 I am trying to replace a WAKEUP (IUCVMSG routine with a PIPE STARMSG.
 I have the following snippet that seems to work fine except for capturing
 the return code from the cp/cms command (XCMD).

 Is there a simple fix to this? - Thanks

 /*
 */

 trace
 o
 cp set msg
 iucv
 arg
 xcmd
 'pipe (endchar
 ?)',
   '| starmsg
 ',

 xcmd,
   '| specs 9-16 1 17-* strip nw x15
 nw',
   '| stem linecount.',   /* save results
 */
   '?',   /* start of second pipeline
 */
   'literal +01', /* Delay time
 */
   '| delay', /* Delay
 */
   '| pipestop'   /* Stop
 */
 say
 rc

 cp set msg
 on
 'pipe stem linecount. |
 console'
 exit


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

/**/
'PIPE (end \)',
'\ f: faninany',
   '| take 1',
   '| pipestop',
'\ starmsg *msg cp smsg' rscsid pfx sys cmd,
   '| b: beat 5 /Timeout/',
   '| eof: nlocate anyc  /garbage/',
   '| f2: faninany',
   '| not chop 16',
   '| stem' stem '1',
   '| take 1',
   '| spec /smsg rscs' pfx sys 'garbage/ 1',
   '| cp',
'\ b:',
   '| take 1',
   '| f:',
'\ eof:',
   '| take 1',
   '| f:',
'\ immcmd q',
   '| take 1',
   '| f:'


Recall: A little pipe question.

2011-02-08 Thread Schuh, Richard
Schuh, Richard would like to recall the message, A little pipe question..

Product Enabled in System Config File

2011-02-08 Thread Billy Bingham
If I need to enable a product such as RACF or 
DIRMAINT that is DISABLED in the System Config 
file do I need to re-ipl z/VM with the product 
enabled or is there another way to ENABLE a 
product without an IPL?


Thanks,

Billy


Re: Product Enabled in System Config File

2011-02-08 Thread Bob McCarthy
Billy,

   To enable dirmaint, enter the following command :

SERVICE DIRM ENABLE   (Found in the program directory for
Dirmaint)

This all that I did to enable DIRMAINT. No IPL required.

 Bob

 

From: The IBM z/VM Operating System [mailto:IBMVM@LISTSERV.UARK.EDU] On
Behalf Of Billy Bingham
Sent: Tuesday, February 08, 2011 1:00 PM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Product Enabled in System Config File

 

If I need to enable a product such as RACF or DIRMAINT that is DISABLED
in the System Config file do I need to re-ipl z/VM with the product
enabled or is there another way to ENABLE a product without an IPL?

 

 

Thanks,

 

Billy



Re: Product Enabled in System Config File

2011-02-08 Thread Gregg
see HELP CPSET PRODUCT, Class C and E required.

On Tue, Feb 8, 2011 at 1:00 PM, Billy Bingham
billy.bingham...@suddenlink.net wrote:
 If I need to enable a product such as RACF or DIRMAINT that is DISABLED in
 the System Config file do I need to re-ipl z/VM with the product enabled or
 is there another way to ENABLE a product without an IPL?

 Thanks,
 Billy



-- 
Gregg Reed
No Plan, survives execution


Re: Product Enabled in System Config File

2011-02-08 Thread Scott Rohling
For DIRMAINT no -- for RACF - you 'will' have to IPL to at some point for
RACF to act as an ESM -- but not to enable and install the code.   The
program directory for these products is the best place to see the steps
necessary for installation.

Scott Rohling

On Tue, Feb 8, 2011 at 11:00 AM, Billy Bingham 
billy.bingham...@suddenlink.net wrote:

  If I need to enable a product such as RACF or DIRMAINT that is DISABLED
 in the System Config file do I need to re-ipl z/VM with the product enabled
 or is there another way to ENABLE a product without an IPL?


  Thanks,

  Billy



Re: A little pipe question.

2011-02-08 Thread Dave Jones
Oh.I see I completely misread the pipeline specification, Kris. xcmd
was indeed an argument to the starmsg stage.

Have a good one.

DJ

On 02/08/2011 10:23 AM, Kris Buelens wrote:
 xcmd is no stage, it just is a command that STARMSG will issue just
 after its start.
 
 I've got an idea, I don't know if it is easily implemented: pass a
 command to STARMSG with a known response.  when that response arrives,
 send it to some other stream where you uses SPECS to replace it by the
 command to execute, that you pass to a COMMAND (or CP) stage that you
 give a secondary output to trap the returncode.
   Something like:
  '!STARMSG comamndWithKnowResponse',
  '!L: NLOCATE /the_expected_response',
  .
  '?L:!SPEC /'xcmd'/ 1',
  '!Cmd: COMMAND',
  '?Cmd:!Var CmdRc',
  ...
 
 2011/2/8 Tom Huegel tehue...@gmail.com mailto:tehue...@gmail.com
 
 Thanks David, I thought that was the flow, but I didn't get it to
 work..  Maybe I was just tired. Between shoveling snow and watching
 the Super Bowl I'm ready for a vacation. 
 
 
 On Tue, Feb 8, 2011 at 5:53 AM, Dave Jones d...@vsoft-software.com
 mailto:d...@vsoft-software.com wrote:
 
 Tom, if the xcmd stage has a secondary output stream defined,
 Pipelines will write the return code from the cp/cms command there.
 
 Does that help?
 
 DJ
 
 On 02/07/2011 02:09 PM, Tom Huegel wrote:
  I am trying to replace a WAKEUP (IUCVMSG routine with a PIPE
 STARMSG.
  I have the following snippet that seems to work fine except
 for capturing
  the return code from the cp/cms command (XCMD).
 
  Is there a simple fix to this? - Thanks
 
  /*
  */
 
  trace
  o
  cp set msg
  iucv
  arg
  xcmd
  'pipe (endchar
  ?)',
'| starmsg
  ',
 
  xcmd,
'| specs 9-16 1 17-* strip nw x15
  nw',
'| stem linecount.',   /* save results
  */
'?',   /* start of second
 pipeline
  */
'literal +01', /* Delay time
  */
'| delay', /* Delay
  */
'| pipestop'   /* Stop
  */
  say
  rc
 
  cp set msg
  on
  'pipe stem linecount. |
  console'
  exit
 
 
 --
 Dave Jones
 V/Soft Software
 www.vsoft-software.com http://www.vsoft-software.com/
 Houston, TX
 281.578.7544
 
 
 
 
 
 -- 
 Kris Buelens,
 IBM Belgium, VM customer support

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