Re: VSM - TCPIP

2010-09-16 Thread Mark Pace
AMEN.  My father is retired IBMer and we moved a lot.

My stint with IBM was to short to have been moved.

On Wed, Sep 15, 2010 at 11:16 PM, Jim Bohnsack jab...@cornell.edu wrote:

  IBM-I've Been Moved---even if not relocated.

 Jim


 On 9/15/2010 9:28 PM, Chip Davis wrote:

 And I guess Scott has the honor of the last IBMVM problem solved by
 Alan as a developer... :-/

 I hope Alan enjoys the deeper, more direct experience he's going to
 have with us.  If it weren't for all the traveling...

 -Chip-

  --
 James Bohnsack
 (972) 596-6377 home/office
 (972) 342-5823 cell




-- 
Mark D Pace
Senior Systems Engineer
Mainline Information Systems


Re: VSM - TCPIP

2010-09-16 Thread Frank M. Ramaekers
Are you looking to do something like this?QN EXEC:

 

/*   QUERY NAMES replacement
*/

  Trace O


  Address COMMAND


  PIPE (endchar ?),


  |  CP QUERY NAMES,


  |  ZONE 9.1 NFIND -||,


  |  SPLIT ,,


  |  STRIP,


  |  SORT,


  |  SPEC 1.15 1.16,


  |o:FANOUT,


  |  SNAKE 5,


  |i:FANIN,


  |  CONSOLE,


?o:,


  |  COUNT LINES,


  |  SPEC /  Total number of users = / 1 1-* NW,


  |j:FANIN,


  |  JOIN *,


  |i:,


?o:,


  |  SPEC FS - F2 STRIP 1,


  |p:FIND DSC||,


  |  COUNT LINES,   

  |  SPEC /  disconnected = / 1 1-* NW, 

  |  j: 

Exit rc   

 

 

Frank M. Ramaekers Jr.

 

 



From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On
Behalf Of Scott Rohling
Sent: Wednesday, September 15, 2010 7:30 PM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: VSM - TCPIP

 

Ok - #1 helps a little (but I'm assuming a real user can end up by
itself on a line too)  - #2 a bit more (yes, sneaky) - #3 even more, but
probably going a little far unless I'm going for 6 Sigma or something
:-)Probably will stick with tossing VSM user cuz I'm a lazy old
cuss.  

The good news for me is now I know why it's there and why I'm excluding
it ...   so..  thanks again...

Scott Rohling  



On Wed, Sep 15, 2010 at 6:10 PM, Alan Altmark alan_altm...@us.ibm.com
wrote:

On Wednesday, 09/15/2010 at 07:46 EDT, Scott Rohling

scott.rohl...@gmail.com wrote:

 Ok - so this is about linemode sessions.   And yeah - I get the
crickets
- who
 the heck uses linemode?   I suppose it fits.   I always have a grin on
my face
 when I explain virtual reader/punch/printer to non-z/VM folk.

 The consistency factor is me expecting the first word in front of the
dash (-)
 to be a guest name.   So I still think Q VSM would be better than
stuffing it
 into Q NAMES where I'm looking for guest names and their status.   But
no one
 asked me..  hmmph

 Sounds like I get my list of running guests by ignoring VSM..
Keeping
my
 fingers crossed no one names a guest VSM until I retire   :-)

Perhaps it would help to know that all VSMs
1. Appear on a separate line of output on QUERY NAMES
2. Have the '-' in column 9.  User IDs have it in column 10.  (Sneaky,
huh?)
3. Can be seen via CP QUERY IUCV *CCS

Alan Altmark
z/VM Development (T minus 3h 50m)
IBM Endicott

 


_
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: VSM - TCPIP

2010-09-16 Thread Scott Rohling
Hi Frank --  Yes, that pipe looks like it makes good use of rules 1 and 2
and comes up with a good list.   Nicely done - thanks!

I still don't think the VSM info should be under Q NAMES - and those sneaky
rules make me suspect it was a shoehorn  :-)   But it's been interesting and
now at least I have a better way than just tossing 'VSM'.

Thanks all!

Scott Rohling

On Thu, Sep 16, 2010 at 7:56 AM, Frank M. Ramaekers
framaek...@ailife.comwrote:

  Are you looking to do something like this?QN EXEC:



 /*   QUERY NAMES replacement   */

   Trace O

   Address COMMAND

   PIPE (endchar ?),

   |  CP QUERY NAMES,

   |  ZONE 9.1 NFIND -||,

   |  SPLIT ,,

   |  STRIP,

   |  SORT,

   |  SPEC 1.15 1.16,

   |o:FANOUT,

   |  SNAKE 5,

   |i:FANIN,

   |  CONSOLE,

 ?o:,

   |  COUNT LINES,

   |  SPEC /  Total number of users = / 1 1-* NW,

   |j:FANIN,

   |  JOIN *,

   |i:,

 ?o:,

   |  SPEC FS - F2 STRIP 1,

   |p:FIND DSC||,

   |  COUNT LINES,

   |  SPEC /  disconnected = / 1 1-* NW,

   |  j:

 Exit rc





 Frank M. Ramaekers Jr.




  --

 *From:* The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] *On
 Behalf Of *Scott Rohling
 *Sent:* Wednesday, September 15, 2010 7:30 PM
 *To:* IBMVM@LISTSERV.UARK.EDU
 *Subject:* Re: VSM - TCPIP



 Ok - #1 helps a little (but I'm assuming a real user can end up by itself
 on a line too)  - #2 a bit more (yes, sneaky) - #3 even more, but probably
 going a little far unless I'm going for 6 Sigma or something  :-)
 Probably will stick with tossing VSM user cuz I'm a lazy old cuss.

 The good news for me is now I know why it's there and why I'm excluding it
 ...   so..  thanks again...

 Scott Rohling

  On Wed, Sep 15, 2010 at 6:10 PM, Alan Altmark alan_altm...@us.ibm.com
 wrote:

 On Wednesday, 09/15/2010 at 07:46 EDT, Scott Rohling

 scott.rohl...@gmail.com wrote:

  Ok - so this is about linemode sessions.   And yeah - I get the crickets
 - who
  the heck uses linemode?   I suppose it fits.   I always have a grin on
 my face
  when I explain virtual reader/punch/printer to non-z/VM folk.
 
  The consistency factor is me expecting the first word in front of the
 dash (-)
  to be a guest name.   So I still think Q VSM would be better than
 stuffing it
  into Q NAMES where I'm looking for guest names and their status.   But
 no one
  asked me..  hmmph
 
  Sounds like I get my list of running guests by ignoring VSM..Keeping
 my
  fingers crossed no one names a guest VSM until I retire   :-)

 Perhaps it would help to know that all VSMs
 1. Appear on a separate line of output on QUERY NAMES
 2. Have the '-' in column 9.  User IDs have it in column 10.  (Sneaky,
 huh?)
 3. Can be seen via CP QUERY IUCV *CCS

 Alan Altmark
 z/VM Development (T minus 3h 50m)
 IBM Endicott


  _ 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: VSM - TCPIP

2010-09-16 Thread Ethan Lanz
Or simply

PIPE CP QUERY NAMES|NFIND VSM - |CONS

feeds nicely into additional piping.

On Thu, Sep 16, 2010 at 10:12 AM, Scott Rohling scott.rohl...@gmail.comwrote:

 Hi Frank --  Yes, that pipe looks like it makes good use of rules 1 and 2
 and comes up with a good list.   Nicely done - thanks!

 I still don't think the VSM info should be under Q NAMES - and those sneaky
 rules make me suspect it was a shoehorn  :-)   But it's been interesting and
 now at least I have a better way than just tossing 'VSM'.

 Thanks all!

 Scott Rohling


 On Thu, Sep 16, 2010 at 7:56 AM, Frank M. Ramaekers framaek...@ailife.com
  wrote:

  Are you looking to do something like this?QN EXEC:



 /*   QUERY NAMES replacement   */

   Trace O

   Address COMMAND

   PIPE (endchar ?),

   |  CP QUERY NAMES,

   |  ZONE 9.1 NFIND -||,

   |  SPLIT ,,

   |  STRIP,

   |  SORT,

   |  SPEC 1.15 1.16,

   |o:FANOUT,

   |  SNAKE 5,

   |i:FANIN,

   |  CONSOLE,

 ?o:,

   |  COUNT LINES,

   |  SPEC /  Total number of users = / 1 1-* NW,

   |j:FANIN,

   |  JOIN *,

   |i:,

 ?o:,

   |  SPEC FS - F2 STRIP 1,

   |p:FIND DSC||,

   |  COUNT LINES,

   |  SPEC /  disconnected = / 1 1-* NW,

   |  j:

 Exit rc





 Frank M. Ramaekers Jr.




  --

 *From:* The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] *On
 Behalf Of *Scott Rohling
 *Sent:* Wednesday, September 15, 2010 7:30 PM
 *To:* IBMVM@LISTSERV.UARK.EDU
 *Subject:* Re: VSM - TCPIP



 Ok - #1 helps a little (but I'm assuming a real user can end up by itself
 on a line too)  - #2 a bit more (yes, sneaky) - #3 even more, but probably
 going a little far unless I'm going for 6 Sigma or something  :-)
 Probably will stick with tossing VSM user cuz I'm a lazy old cuss.

 The good news for me is now I know why it's there and why I'm excluding it
 ...   so..  thanks again...

 Scott Rohling

  On Wed, Sep 15, 2010 at 6:10 PM, Alan Altmark alan_altm...@us.ibm.com
 wrote:

 On Wednesday, 09/15/2010 at 07:46 EDT, Scott Rohling

 scott.rohl...@gmail.com wrote:

  Ok - so this is about linemode sessions.   And yeah - I get the crickets
 - who
  the heck uses linemode?   I suppose it fits.   I always have a grin on
 my face
  when I explain virtual reader/punch/printer to non-z/VM folk.
 
  The consistency factor is me expecting the first word in front of the
 dash (-)
  to be a guest name.   So I still think Q VSM would be better than
 stuffing it
  into Q NAMES where I'm looking for guest names and their status.   But
 no one
  asked me..  hmmph
 
  Sounds like I get my list of running guests by ignoring VSM..Keeping
 my
  fingers crossed no one names a guest VSM until I retire   :-)

 Perhaps it would help to know that all VSMs
 1. Appear on a separate line of output on QUERY NAMES
 2. Have the '-' in column 9.  User IDs have it in column 10.  (Sneaky,
 huh?)
 3. Can be seen via CP QUERY IUCV *CCS

 Alan Altmark
 z/VM Development (T minus 3h 50m)
 IBM Endicott


  _ 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: VSM - TCPIP

2010-09-16 Thread Bruce Hayden
You should use nfind VSM_- to make sure you don't match a userid that
starts with VSM that happens to be logged in via a VSM machine.  Remember
that pipeline find uses a blank to match any character, and an underscore
to match a blank.  In this case, you want to make sure blanks follow VSM.

On Thu, Sep 16, 2010 at 10:46 AM, Ethan Lanz llel...@gmail.com wrote:

 Or simply

 PIPE CP QUERY NAMES|NFIND VSM - |CONS

 feeds nicely into additional piping.



-- 
Bruce Hayden
z/VM and Linux on System z ATS
IBM, Endicott, NY


Re: VSM - TCPIP

2010-09-16 Thread Kris Buelens
Part of my LISTSG tool is USERLIST, displays the user of users in a FILELIST
fashion
http://www.vm.ibm.com/download/packages/descript.cgi?LISTSG

*USERLIST *  -- list everyone
*USERLIST LIN**  -- list users starting with LIN
*USERLIST CP Q NSS USERS CMS|drop 2|Split*  -- lists all users that use
segment CMS

2010/9/16 Bruce Hayden bjhay...@gmail.com

 You should use nfind VSM_- to make sure you don't match a userid that
 starts with VSM that happens to be logged in via a VSM machine.  Remember
 that pipeline find uses a blank to match any character, and an underscore
 to match a blank.  In this case, you want to make sure blanks follow VSM.


 On Thu, Sep 16, 2010 at 10:46 AM, Ethan Lanz llel...@gmail.com wrote:

 Or simply

 PIPE CP QUERY NAMES|NFIND VSM - |CONS

 feeds nicely into additional piping.



 --
 Bruce Hayden
 z/VM and Linux on System z ATS
 IBM, Endicott, NY




-- 
Kris Buelens,
IBM Belgium, VM customer support


Re: VSM - TCPIP

2010-09-15 Thread Scott Rohling
Ok - so this is about linemode sessions.   And yeah - I get the crickets -
who the heck uses linemode?   I suppose it fits.   I always have a grin on
my face when I explain virtual reader/punch/printer to non-z/VM folk.

The consistency factor is me expecting the first word in front of the dash
(-) to be a guest name.   So I still think Q VSM would be better than
stuffing it into Q NAMES where I'm looking for guest names and their
status.   But no one asked me..  hmmph

Sounds like I get my list of running guests by ignoring VSM..Keeping my
fingers crossed no one names a guest VSM until I retire   :-)

Thanks David and Alan --  as always - I keep learning from you -

Scott Rohling


On Wed, Sep 15, 2010 at 4:57 PM, Alan Altmark alan_altm...@us.ibm.comwrote:

 On Wednesday, 09/15/2010 at 06:35 EDT, Scott Rohling
 scott.rohl...@gmail.com wrote:
  Just wondering if anyone else sees the value in finding VSM -
 TCPIP as an
  entry when doing a 'CP QUERY NAMES'.

 I do, I do!

  This is described as being the users of
  the VTAM service machine ...   As someone who often writes system
 utilities
  which do a QUERY NAMES to find the active users - this is always
 something I
  have to code around.  I know there are still SNA users out there, but
 have
  always wondered if it's still relevant or even consistent to list it
 under
  QUERY NAMES (rather than say, a QUERY VSM cmd)?Always interested in
  learning from other listers...  I'm sure I'm missing something that
 pulls it
  all together.

 VM TCP/IP uses the same *CCS interface for linemode telnet sessions as
 VTAM does for its terminal sessions.  The VM book VSM references were
 all added back in VM/SP R4, and so predate any VM recognition
 (politically) of TCP/IP.  To make it a bit worse, CP can't really tell the
 difference between VTAM and TCP/IP in this regard.

 But *I* know what VSMs VTAM and TCPIP do and so know how to interpret
 the users I see following each VSM.

 I mean, haven't you thought it a bit strange that CP DISABLE SNA will stop
 linemode telnet sessions?!?  Haven't you?   Hello?  crickets

 Alan Altmark
 z/VM Development (T minus 05h 05m 42s and counting...)
 IBM Endicott



Re: VSM - TCPIP

2010-09-15 Thread Alan Altmark
On Wednesday, 09/15/2010 at 07:46 EDT, Scott Rohling 
scott.rohl...@gmail.com wrote:
 Ok - so this is about linemode sessions.   And yeah - I get the crickets 
- who 
 the heck uses linemode?   I suppose it fits.   I always have a grin on 
my face 
 when I explain virtual reader/punch/printer to non-z/VM folk.
 
 The consistency factor is me expecting the first word in front of the 
dash (-) 
 to be a guest name.   So I still think Q VSM would be better than 
stuffing it 
 into Q NAMES where I'm looking for guest names and their status.   But 
no one 
 asked me..  hmmph
 
 Sounds like I get my list of running guests by ignoring VSM..Keeping 
my 
 fingers crossed no one names a guest VSM until I retire   :-)

Perhaps it would help to know that all VSMs
1. Appear on a separate line of output on QUERY NAMES
2. Have the '-' in column 9.  User IDs have it in column 10.  (Sneaky, 
huh?)
3. Can be seen via CP QUERY IUCV *CCS 

Alan Altmark
z/VM Development (T minus 3h 50m)
IBM Endicott


Re: VSM - TCPIP

2010-09-15 Thread Rich Smrcina

 On 09/15/2010 05:57 PM, Alan Altmark wrote:

Alan Altmark
z/VM Development (T minus 05h 05m 42s and counting...)
IBM Endicott


Hours?  How time flies...

--
Rich Smrcina
Velocity Software, Inc.
Mobile: 414-491-6001
Office: 262-392-3717
http://www.velocitysoftware.com

Catch the WAVV! http://www.wavv.org
WAVV 2011 - April 15-19, 2011 Colorado Springs, CO


Re: VSM - TCPIP

2010-09-15 Thread Scott Rohling
Ok - #1 helps a little (but I'm assuming a real user can end up by itself on
a line too)  - #2 a bit more (yes, sneaky) - #3 even more, but probably
going a little far unless I'm going for 6 Sigma or something  :-)
Probably will stick with tossing VSM user cuz I'm a lazy old cuss.

The good news for me is now I know why it's there and why I'm excluding it
...   so..  thanks again...

Scott Rohling


On Wed, Sep 15, 2010 at 6:10 PM, Alan Altmark alan_altm...@us.ibm.comwrote:

 On Wednesday, 09/15/2010 at 07:46 EDT, Scott Rohling
 scott.rohl...@gmail.com wrote:
  Ok - so this is about linemode sessions.   And yeah - I get the crickets
 - who
  the heck uses linemode?   I suppose it fits.   I always have a grin on
 my face
  when I explain virtual reader/punch/printer to non-z/VM folk.
 
  The consistency factor is me expecting the first word in front of the
 dash (-)
  to be a guest name.   So I still think Q VSM would be better than
 stuffing it
  into Q NAMES where I'm looking for guest names and their status.   But
 no one
  asked me..  hmmph
 
  Sounds like I get my list of running guests by ignoring VSM..Keeping
 my
  fingers crossed no one names a guest VSM until I retire   :-)

 Perhaps it would help to know that all VSMs
 1. Appear on a separate line of output on QUERY NAMES
 2. Have the '-' in column 9.  User IDs have it in column 10.  (Sneaky,
 huh?)
 3. Can be seen via CP QUERY IUCV *CCS

 Alan Altmark
 z/VM Development (T minus 3h 50m)
 IBM Endicott



Re: VSM - TCPIP

2010-09-15 Thread Chip Davis
And I guess Scott has the honor of the last IBMVM problem solved by 
Alan as a developer... :-/


I hope Alan enjoys the deeper, more direct experience he's going to 
have with us.  If it weren't for all the traveling...


-Chip-

On 9/16/10 00:30 Scott Rohling said:
Ok - #1 helps a little (but I'm assuming a real user can end up by 
itself on a line too)  - #2 a bit more (yes, sneaky) - #3 even more, but 
probably going a little far unless I'm going for 6 Sigma or something  
:-)Probably will stick with tossing VSM user cuz I'm a lazy old cuss. 

The good news for me is now I know why it's there and why I'm excluding 
it ...   so..  thanks again...


Scott Rohling 



On Wed, Sep 15, 2010 at 6:10 PM, Alan Altmark alan_altm...@us.ibm.com 
mailto:alan_altm...@us.ibm.com wrote:


On Wednesday, 09/15/2010 at 07:46 EDT, Scott Rohling
scott.rohl...@gmail.com mailto:scott.rohl...@gmail.com wrote:
  Ok - so this is about linemode sessions.   And yeah - I get the
crickets
- who
  the heck uses linemode?   I suppose it fits.   I always have a
grin on
my face
  when I explain virtual reader/punch/printer to non-z/VM folk.
 
  The consistency factor is me expecting the first word in front of the
dash (-)
  to be a guest name.   So I still think Q VSM would be better than
stuffing it
  into Q NAMES where I'm looking for guest names and their status.
  But
no one
  asked me..  hmmph
 
  Sounds like I get my list of running guests by ignoring VSM..  
 Keeping

my
  fingers crossed no one names a guest VSM until I retire   :-)

Perhaps it would help to know that all VSMs
1. Appear on a separate line of output on QUERY NAMES
2. Have the '-' in column 9.  User IDs have it in column 10.  (Sneaky,
huh?)
3. Can be seen via CP QUERY IUCV *CCS

Alan Altmark
z/VM Development (T minus 3h 50m)
IBM Endicott




Re: VSM - TCPIP

2010-09-15 Thread Jim Bohnsack

 IBM-I've Been Moved---even if not relocated.

Jim

On 9/15/2010 9:28 PM, Chip Davis wrote:

And I guess Scott has the honor of the last IBMVM problem solved by
Alan as a developer... :-/

I hope Alan enjoys the deeper, more direct experience he's going to
have with us.  If it weren't for all the traveling...

-Chip-


--
James Bohnsack
(972) 596-6377 home/office
(972) 342-5823 cell