Re: z10, z/VM 5.4 and OSA Express 3

2011-01-06 Thread Alan Altmark
On Thursday, 01/06/2011 at 09:46 EST, "Hughes, Jim" 
 wrote:
> Would we be able to put 2 IODEVICE statements following one controller 
and use 
> different channel addresses on them?
> 
> Would be valid to define address E000-E00F on one IODEVICE statement and 

> addresses C010-C01F on the other and point them at the same Controlunit? 
If so, 
> could either channel address be used along with the Pnn to select the 
desired 
> osa port?

Yes, to both questions. 

But let's look at a more complicated example, where you need to worry 
about the last two digits of the device address and its relationship to 
the unit address.

Here you see that the two address ranges (E000-E00F and C000-C00F) have 
the same last two digits.  If not specified, UNITADD will default to the 
last two digits of the ADDRESS.  Left to its own, you would end up with 
overlapping UNITADDs, a no-no.  So you have either specify a different set 
of UAs (example 1) or you have to define a 2nd control unit (example 2).

Example 1
  CHPID PATH=(CSS(0),F8),PCHID=370,   *
PART=((PROD1,PROD2,TEST1,TEST2),  *
(PROD3,PROD4,PROD5)),TYPE=OSD,SHARED
  CNTLUNIT CUNUMBR=F800,PATH=(CSS(0),F8), *
UNIT=OSA
  IODEVICE CUNUMBER=F800,ADDRESS=(E000,16), *
UNIT=OSA,UNITADD=00
  IODEVICE CUNUMBER=F800,ADDRESS=(C000,16), *
UNIT=OSA,UNITADD=10

Example 2
  CHPID PATH=(CSS(0),F8),PCHID=370,   *
PART=((PROD1,PROD2,TEST1,TEST2),  *
(PROD3,PROD4,PROD5)),TYPE=OSD,SHARED
  CNTLUNIT CUNUMBR=F800,PATH=(CSS(0),F8), *
UNIT=OSA
  IODEVICE CUNUMBER=F800,ADDRESS=(E000,16), *
UNIT=OSA,UNITADD=00
  IODEVICE CUNUMBER=F801,ADDRESS=(C000,16), *
UNIT=OSA,UNITADD=00

Paul Feller's post implies that you need/should create separate CUs for 
each port.  That isn't necessary.

BTW, if using OSA/SF, then you must code CUNUMBR=0 in order to use the 
OSAD (0xFE) device.

> Sorry asking questions I should know the answer to. We don't do much 
IOCP work. 
> Once we get the new hardware installed and running, we normally never 
touch the 
> IOCP.

This kind of thing is rather esoteric, even for those who do IOCP all the 
time.  Of course, one wonders WHY you're using different ranges!

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: z10, z/VM 5.4 and OSA Express 3

2011-01-06 Thread Hughes, Jim
Thanks Paul.  Things are getting clearer now.
 
_
Jim Hughes
x5586
"It is fun to do the impossible." Quote from Walt Disney



From: The IBM z/VM Operating System on behalf of Feller, Paul
Sent: Thu 1/6/2011 9:35 PM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: z10, z/VM 5.4 and OSA Express 3



 I do all of my IOGEN work from z/OS so my answer is partly base on z/OS HCD.  
I defined two control units on the one channel.  The first control unit had 8 
devices and the second has another 8 devices.

  Control Unit List Row 1 of 2
Select one or more control units, then press Enter.  To add, use F11.
Processor ID . . : SYSC   CSS ID . : 0   Channel path ID  : 0A
   ---#---
/ CU   Type +CUADD CSS MC  Serial-# + Description
_ E000 OSA   0 1   __ OSAE-3 GbE SX QDIO SYSC P0
_ E020 OSA   1 1   __ OSAE-3 GbE SX QDIO SYSC P1 VSWCH
*** Bottom of data ***

  Control Unit List Row 1 of 2
Select one or more control units, then press Enter.  To add, use F11.
Processor ID . . : SYSC   CSS ID . : 0   Channel path ID  : 0D

   ---#---
/ CU   Type +CUADD CSS MC  Serial-# + Description
_ E030 OSA   0 1   __ OSAE-3 GbE SX QDIO SYSC P0
_ E050 OSA   1 1   __ OSAE-3 GbE SX QDIO SYSC P1 VSWCH
*** Bottom of data ***


In the SYSTEM CONFIG my define statement looks like this.

DEFINE VSWITCH ADCVS01 ETHERNET RDEV E020.P01 E050.P01

I hope this helps..

Paul Feller
AIT Mainframe Technical Support

-Original Message-
From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf 
Of Hughes, Jim
Sent: Thursday, January 06, 2011 4:37 PM
To: IBMVM@LISTSERV.UARK.EDU
Subject: z10, z/VM 5.4 and OSA Express 3

We have a new Z10 with 2 four port OSA Express 3 cards and 1 two port
OSA Express cards.

I am a little confused about the IOCP for these devices.

I am reading the IOCP manual and I am a little confused about having two
ports on a card.

Would I define one CNTLUNIT and one IODEVICE for each pair of ports? If
so, would the address.Pnn come into play with Pnn being 00 or 01 for the
port number?  I am referring to the DEFINE VSWITCH command.

Continuing on, if the above is true, could I put 64 addresses on a
single IODEVICE statement and the use the Pnn format of the DEFINE
VSWITCH RDEV statement to control the addresses I use on each of the two
ports?

Example:

RDEV E000.P00 and RDEV E010.P01

I hope my question makes sense.

Regards,


James R. Hughes
TSG, Problem Solver
NH Department of Information Technology
603-271-5586(w); 603-491-3071(c)
www.nh.gov/doit

"Statement of Confidentiality: The contents of this message are
confidential. Any unauthorized disclosure, reproduction, use or
dissemination (either whole or in part) is prohibited. If you are not
the intended recipient of this message, please notify the sender
immediately and delete the message from your system."

It is fun to do the impossible.


Re: z10, z/VM 5.4 and OSA Express 3

2011-01-06 Thread Hughes, Jim
Thanks Alan.
 
Would we be able to put 2 IODEVICE statements following one controller and use 
different channel addresses on them? 
 
Would be valid to define address E000-E00F on one IODEVICE statement and 
addresses C010-C01F on the other and point them at the same Controlunit? If so, 
could either channel address be used along with the Pnn to select the desired 
osa port?
 
Sorry asking questions I should know the answer to. We don't do much IOCP work. 
Once we get the new hardware installed and running, we normally never touch the 
IOCP.
 
Regards,
 
_
Jim Hughes
x5586
"It is fun to do the impossible." Quote from Walt Disney



From: The IBM z/VM Operating System on behalf of Alan Altmark
Sent: Thu 1/6/2011 5:54 PM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: z10, z/VM 5.4 and OSA Express 3



On Thursday, 01/06/2011 at 05:42 EST, "Hughes, Jim"
 wrote:
> We have a new Z10 with 2 four port OSA Express 3 cards and 1 two port
> OSA Express cards.

The two-port card is an OSA Express 2.

> I am a little confused about the IOCP for these devices.
>
> I am reading the IOCP manual and I am a little confused about having two
> ports on a card.
>
> Would I define one CNTLUNIT and one IODEVICE for each pair of ports? If
> so, would the address.Pnn come into play with Pnn being 00 or 01 for the
> port number?  I am referring to the DEFINE VSWITCH command.

Yes.

> Continuing on, if the above is true, could I put 64 addresses on a
> single IODEVICE statement and the use the Pnn format of the DEFINE
> VSWITCH RDEV statement to control the addresses I use on each of the two
> ports?
>
> Example:
>
> RDEV E000.P00 and RDEV E010.P01
>
> I hope my question makes sense.

Well, 64 addresses is overkill, since I don't think you want to share the
OSA with anything else, but you could put 6 addresses, e.g.
   RDEV E000.P00 E003.P01

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: z10, z/VM 5.4 and OSA Express 3

2011-01-06 Thread Feller, Paul
 I do all of my IOGEN work from z/OS so my answer is partly base on z/OS HCD.  
I defined two control units on the one channel.  The first control unit had 8 
devices and the second has another 8 devices.

  Control Unit List Row 1 of 2
Select one or more control units, then press Enter.  To add, use F11.
Processor ID . . : SYSC   CSS ID . : 0   Channel path ID  : 0A
   ---#---
/ CU   Type +CUADD CSS MC  Serial-# + Description
_ E000 OSA   0 1   __ OSAE-3 GbE SX QDIO SYSC P0
_ E020 OSA   1 1   __ OSAE-3 GbE SX QDIO SYSC P1 VSWCH
*** Bottom of data ***

  Control Unit List Row 1 of 2
Select one or more control units, then press Enter.  To add, use F11.
Processor ID . . : SYSC   CSS ID . : 0   Channel path ID  : 0D

   ---#---
/ CU   Type +CUADD CSS MC  Serial-# + Description
_ E030 OSA   0 1   __ OSAE-3 GbE SX QDIO SYSC P0
_ E050 OSA   1 1   __ OSAE-3 GbE SX QDIO SYSC P1 VSWCH
*** Bottom of data ***


In the SYSTEM CONFIG my define statement looks like this.

DEFINE VSWITCH ADCVS01 ETHERNET RDEV E020.P01 E050.P01

I hope this helps..

Paul Feller
AIT Mainframe Technical Support

-Original Message-
From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf 
Of Hughes, Jim
Sent: Thursday, January 06, 2011 4:37 PM
To: IBMVM@LISTSERV.UARK.EDU
Subject: z10, z/VM 5.4 and OSA Express 3

We have a new Z10 with 2 four port OSA Express 3 cards and 1 two port
OSA Express cards.

I am a little confused about the IOCP for these devices.

I am reading the IOCP manual and I am a little confused about having two
ports on a card.

Would I define one CNTLUNIT and one IODEVICE for each pair of ports? If
so, would the address.Pnn come into play with Pnn being 00 or 01 for the
port number?  I am referring to the DEFINE VSWITCH command.

Continuing on, if the above is true, could I put 64 addresses on a
single IODEVICE statement and the use the Pnn format of the DEFINE
VSWITCH RDEV statement to control the addresses I use on each of the two
ports?

Example:

RDEV E000.P00 and RDEV E010.P01

I hope my question makes sense.

Regards,


James R. Hughes
TSG, Problem Solver
NH Department of Information Technology
603-271-5586(w); 603-491-3071(c)
www.nh.gov/doit

"Statement of Confidentiality: The contents of this message are
confidential. Any unauthorized disclosure, reproduction, use or
dissemination (either whole or in part) is prohibited. If you are not
the intended recipient of this message, please notify the sender
immediately and delete the message from your system."

It is fun to do the impossible.


Re: z10, z/VM 5.4 and OSA Express 3

2011-01-06 Thread Alan Altmark
On Thursday, 01/06/2011 at 05:42 EST, "Hughes, Jim" 
 wrote:
> We have a new Z10 with 2 four port OSA Express 3 cards and 1 two port
> OSA Express cards.

The two-port card is an OSA Express 2.

> I am a little confused about the IOCP for these devices.
> 
> I am reading the IOCP manual and I am a little confused about having two
> ports on a card.
> 
> Would I define one CNTLUNIT and one IODEVICE for each pair of ports? If
> so, would the address.Pnn come into play with Pnn being 00 or 01 for the
> port number?  I am referring to the DEFINE VSWITCH command.

Yes.
 
> Continuing on, if the above is true, could I put 64 addresses on a
> single IODEVICE statement and the use the Pnn format of the DEFINE
> VSWITCH RDEV statement to control the addresses I use on each of the two
> ports?
> 
> Example:
> 
> RDEV E000.P00 and RDEV E010.P01
> 
> I hope my question makes sense.

Well, 64 addresses is overkill, since I don't think you want to share the 
OSA with anything else, but you could put 6 addresses, e.g.
   RDEV E000.P00 E003.P01 

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


z10, z/VM 5.4 and OSA Express 3

2011-01-06 Thread Hughes, Jim
We have a new Z10 with 2 four port OSA Express 3 cards and 1 two port
OSA Express cards.

I am a little confused about the IOCP for these devices.

I am reading the IOCP manual and I am a little confused about having two
ports on a card.

Would I define one CNTLUNIT and one IODEVICE for each pair of ports? If
so, would the address.Pnn come into play with Pnn being 00 or 01 for the
port number?  I am referring to the DEFINE VSWITCH command.

Continuing on, if the above is true, could I put 64 addresses on a
single IODEVICE statement and the use the Pnn format of the DEFINE
VSWITCH RDEV statement to control the addresses I use on each of the two
ports? 

Example:

RDEV E000.P00 and RDEV E010.P01

I hope my question makes sense.

Regards,


James R. Hughes
TSG, Problem Solver
NH Department of Information Technology
603-271-5586(w); 603-491-3071(c)
www.nh.gov/doit

"Statement of Confidentiality: The contents of this message are
confidential. Any unauthorized disclosure, reproduction, use or
dissemination (either whole or in part) is prohibited. If you are not
the intended recipient of this message, please notify the sender
immediately and delete the message from your system."

It is fun to do the impossible.


Re: ZOS Guest Console Not Working

2011-01-06 Thread George Henke/NYLIC
ty all:

I just forced the guest ZOS and XAUTOLOGed it and it came up fine.

I disconnected via PA1 and reconnected np.

Earlier today someone disconnected by hitting ATTN twice and got the weird 
console display when they reconnected.

Could that have caused the problem?

They claim that is how they always DISC..

Everything appears to be defined correctly.

Here are some more console definitions from the ZOS guest side:

CONSOLE DEVNUM(440),UNIT(3270-X),AUTH(MASTER),USE(FC), 
  ALTGRP(ALTMSTR),ROUTCODE(1,2,9),MSCOPE(SY&SYSCLONE.), 
  SEG(19),DEL(R),AREA(NONE),NAME(MSTR&SYSCLONE.), 
  RNUM(19),MFORM(J,T),PFKTAB(PFK00),MONITOR(JOBNAMES-T) 


CNZ4100I16.42.18 CONSOLE DISPLAY 101  
CONSOLES MATCHING COMMAND: D C 
MSG:CURR=0LIM=5000 RPLY:CURR=1LIM=99SYS=SY79 PFK=00 
HARDCOPY  LOG=(SYSLOG)  CMDLEVEL=CMDS 
  ROUT=(1-10,12-128) 
MSTR79TYPE=MCS  STATUS=ACT-SY79 
  DEFINED=(*ALL) 
  MATCHED=(*ALL) 
   ATTRIBUTES ON SY79 
  AUTH=(MASTER)CMDSYS=*NBUF=0 
  DEV=0440 LOGON=OPTIONAL  USERID=N/A 
  MFORM=(T,J)  AREA=(Z)PFKTAB=PFK00 
  USE=FC  DEL=RRTME=*RNUM=19   SEG=19CON=N 
  LEVEL=(ALL) 
  MONITOR=(JOBNAMES)   INTIDS=Y  UNKNIDS=Y 
  ROUT=(1-2,9) 





Alan Altmark  
Sent by: The IBM z/VM Operating System 
01/06/2011 04:27 PM
Please respond to
The IBM z/VM Operating System 


To
IBMVM@LISTSERV.UARK.EDU
cc

Subject
Re: ZOS Guest Console Not Working






On Thursday, 01/06/2011 at 04:13 EST, George Henke/NYLIC 
 wrote:

> 'cp sleep 5 sec' 

Gag.  Sleep?  Is there something asynchronous happening that you need to 
wait for?
 
> "CP DET 01E""CP DEF CON 440 3270""CP SET MACH ESA""CP I" ADDRESS 
"LOADPARM 
> ||SYSNAME||"M" 

You could help yourself a bit by
1. Changing the CONSOLE statement in the directory to use 440 instead of 
01E since CMS doesn't care what address you use.  Then you can get rid of 
DETACH and DEFINE.
2. Getting rid of SET MACHINE ESA as you already have MACHINE ESA in the 
directory. 
 
> 'cp sleep 1 MIN' 

This last SLEEP will never be issued because the preceding IPL will blow 
away CMS and the exec.  An appropriate comment in your PROFILE would be 
good.  :-)
 
> We are, however, using CF: 
> 
> The only SPECIALs in the z/OS guest are: 
> 
> SPECIAL 420 MSGP CFSRV04 
> SPECIAL 424 MSGP CFSRV01 
> SPECIAL 428 MSGP CFSRV05 

If you want multiple z/OS consoles, you could add SPECIAL nnn 3270 
entries.  Just make sure that MVS is configured to require authentication 
on its consoles since anyone can DIAL MVSGUEST.

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: ZOS Guest Console Not Working

2011-01-06 Thread Alan Altmark
On Thursday, 01/06/2011 at 04:13 EST, George Henke/NYLIC 
 wrote:

> 'cp sleep 5 sec'   

Gag.  Sleep?  Is there something asynchronous happening that you need to 
wait for?

> "CP DET 01E""CP DEF CON 440 3270""CP SET MACH ESA""CP I" ADDRESS 
"LOADPARM 
> ||SYSNAME||"M"  

You could help yourself a bit by
1. Changing the CONSOLE statement in the directory to use 440 instead of 
01E since CMS doesn't care what address you use.  Then you can get rid of 
DETACH and DEFINE.
2. Getting rid of SET MACHINE ESA as you already have MACHINE ESA in the 
directory. 
  
> 'cp sleep 1 MIN' 

This last SLEEP will never be issued because the preceding IPL will blow 
away CMS and the exec.  An appropriate comment in your PROFILE would be 
good.  :-)

> We are, however, using CF: 
> 
> The only SPECIALs in the z/OS guest are: 
> 
> SPECIAL 420 MSGP CFSRV04 
> SPECIAL 424 MSGP CFSRV01 
> SPECIAL 428 MSGP CFSRV05   

If you want multiple z/OS consoles, you could add SPECIAL nnn 3270 
entries.  Just make sure that MVS is configured to require authentication 
on its consoles since anyone can DIAL MVSGUEST.

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: ZOS Guest Console Not Working

2011-01-06 Thread George Henke/NYLIC
Is there some way I can display the attributes of the ZOS guest console 
from MAINT?

I am still connected to the ZOS guest console.





Alan Altmark  
Sent by: The IBM z/VM Operating System 
01/06/2011 04:07 PM
Please respond to
The IBM z/VM Operating System 


To
IBMVM@LISTSERV.UARK.EDU
cc

Subject
Re: ZOS Guest Console Not Working






On Thursday, 01/06/2011 at 03:53 EST, George Henke/NYLIC 
 wrote:
> tyvm, all. 
> 
> Looks like console is defined as 3215 
> 
> Guess this has not been working for some time and just noticed now. 
> 
> I suppose I can just change this to 3270 and all will be well. 
> 
> PROFILE MVSID 
> * OPTION TODENABLE 
> OPTION TODEN 
> SHARE RELATIVE 100 LIMITSOFT 
> MACHINE ESA 4 
> IPL CMS 
> CONSOLE 01E 3215 

You can, but it won't help, as CMS will set it back to a 3215 since CMS 
doesn't know how to speak to a 3270.  When the PROFILE EXEC is ready to 
IPL MVS, it needs to issue "CP TERMINAL CONMODE 3270" immediately prior to 

"IPL".  Add commentary to the exec to tell future sysprogs not to insert 
anything between the two commands.

Since you don't have OPTION D8ONECMD, you can actually do the TERMINAL 
CONMODE 3270 and IPL in the same CP command:
  "CP TERMINAL CONMODE 3270" || x2c(15) || "IPL whatever"

This tends to help avoid accidents.

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: ZOS Guest Console Not Working

2011-01-06 Thread George Henke/NYLIC
Yeah, ty Alan and Mike, really sorry for missing the obvious.

Too much ZOS without a helmet.

Please ignore my last email.

The 3215 console is, of course, for CMS.

Our console is defined correctly as 3270:

'cp sleep 5 sec' 
"CP DET 01E""CP DEF CON 440 3270""CP SET MACH ESA""CP I" ADDRESS "LOADPARM
||SYSNAME||"M" 
'cp sleep 1 MIN' 

We are, however, using CF:

The only SPECIALs in the z/OS guest are:

SPECIAL 420 MSGP CFSRV04 
SPECIAL 424 MSGP CFSRV01 
SPECIAL 428 MSGP CFSRV05 

It is not SuperSession because I can access both ways directly from RUMBA.




Mike Walter  
Sent by: The IBM z/VM Operating System 
01/06/2011 04:01 PM
Please respond to
The IBM z/VM Operating System 


To
IBMVM@LISTSERV.UARK.EDU
cc

Subject
Re: ZOS Guest Console Not Working






No, you want to leave the CONSOLE statement alone.  That's for VMS to use 
as a 3215.

If you want z/OS to use the same device address as its console, before the 

CP IPL command, enter:
CP TERM CONSOLE 3270
then enter the IPL command. 

Or, write an EXEC with the commands concatenated with a "LineEnd" (hex 
'15') character in between, ala:
 parse value diag(08,'CP QUERY VIRTUAL CONSOLE') with , 
  . 'TERM ' . contype . 
 If contype='VSM' 
then brkkey=''  /* BRKKEY not supported on SNA terminals */ 
else brkkey='#CP TERMINAL BRKKEY PF13' 
 iplcmds=, 
'#CP M * IPLing z/OS'|| , 
'#CP M OP IPLing z/OS'   || , 
'#CP M MAINT IPLing z/OS'|| , 
'#CP Q T'|| , 
'#CP TERM CON 3270'  || , 
 brkkey  || , 
'#CP IPL' loadaddr loadparms 
 'CP SET PF24 DELAY' iplcmds 
 'CP QUERY PF24'
Exit

If you are using a virtual coupling facility, I can send a much more 
fool-proof IPLZOS EXEC which first checks for z/OS's CFRM volumes being 
online, and that the virtual Coupling Faclity servers are active before 
continuing.

Mike Walter
Aon Corporation
The opinions expressed herein are mine alone, not my employer's.




"George Henke/NYLIC"  

Sent by: "The IBM z/VM Operating System" 
01/06/2011 02:51 PM
Please respond to
"The IBM z/VM Operating System" 



To
IBMVM@LISTSERV.UARK.EDU
cc

Subject
Re: ZOS Guest Console Not Working






tyvm, all. 

Looks like console is defined as 3215 

Guess this has not been working for some time and just noticed now. 

I suppose I can just change this to 3270 and all will be well. 

PROFILE MVSID 
* OPTION TODENABLE 
OPTION TODEN 
SHARE RELATIVE 100 LIMITSOFT 
MACHINE ESA 4 
IPL CMS 
CONSOLE 01E 3215 
* 


"McKown, John"  
Sent by: The IBM z/VM Operating System  
01/06/2011 03:42 PM 

Please respond to
The IBM z/VM Operating System 


To
IBMVM@LISTSERV.UARK.EDU 
cc

Subject
Re: ZOS Guest Console Not Working








I'm not a z/VM person. I'm a z/OS sysprog. I don't know how SuperSession 
works. A z/OS console is not BTAM, per se, a z/OS console is usually 
associated with a local non-SNA 3270 device. Note that the z/VM DIAL 
command (which is what I am used to) presents a 3270, however connected to 

z/VM, as a local non-SNA 3270. If this is the 3270 where you did a LOGON 
to start up the z/OS guest, then the console is likely in CONMODE 3215. 
That is the very old style printer keyboard console. z/OS does not support 

3215 consoles any more at all. In this case, before IPL'ing z/OS, enter 
the command #CP CONMODE 3270 to set the console mode to 3270. If your z/OS 

guest first IPLs CMS (as many do), this will "blow away" CMS. And you'll 
need to enter the IPL  command where "" is the virtual address of 
the z/OS IPL volume by hand. 
 
Another possibility is that the CONSOLnn member of PARMLIB is messed up. 
Make sure that the CONSOLE statements either don't specify the USE 
parameter or it is set to USE(FC). USE(MS) and USE(SD) won't work right 
for a normal console. 
 
Hope this was of at least some help. I only use z/VM when we do a D.R. 
test. 
 
John McKown 
Systems Engineer IV 
IT 
 
Administrative Services Group 
 
HealthMarkets® 
 
9151 Boulevard 26 ? N. Richland Hills ? TX 76010 
(817) 255-3225 phone ? 
john.mck...@healthmarkets.com ? www.HealthMarkets.com 
 
Confidentiality Notice: This e-mail message may contain confidential or 
proprietary information. If you are not the intended recipient, please 
contact the sender by reply e-mail and destroy all copies of the original 
message. HealthMarkets® is the brand name for products underwritten and 
issued by the insurance subsidiaries of HealthMarkets, Inc. ?The 
Chesapeake Life Insurance Company®, Mid-West National Life Insurance 
Company of TennesseeSM and The MEGA Life and Health Insurance Company.SM 
 

From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On 
Behalf Of George Henke/NYLIC
Sent: Thursday, January 06, 2011 2:28 PM
To: IBMVM@LISTSERV.UARK.EDU
Subject: ZOS Guest Console Not Working

The ZOS console does not have the command line at the bottom. 

There is no way to input data

Re: ZOS Guest Console Not Working

2011-01-06 Thread Alan Altmark
On Thursday, 01/06/2011 at 03:53 EST, George Henke/NYLIC 
 wrote:
> tyvm, all. 
> 
> Looks like console is defined as 3215 
> 
> Guess this has not been working for some time and just noticed now. 
> 
> I suppose I can just change this to 3270 and all will be well. 
> 
> PROFILE MVSID 
> * OPTION TODENABLE   
> OPTION TODEN 
> SHARE RELATIVE 100 LIMITSOFT 
> MACHINE ESA 4 
> IPL CMS   
> CONSOLE 01E 3215   

You can, but it won't help, as CMS will set it back to a 3215 since CMS 
doesn't know how to speak to a 3270.  When the PROFILE EXEC is ready to 
IPL MVS, it needs to issue "CP TERMINAL CONMODE 3270" immediately prior to 
"IPL".  Add commentary to the exec to tell future sysprogs not to insert 
anything between the two commands.

Since you don't have OPTION D8ONECMD, you can actually do the TERMINAL 
CONMODE 3270 and IPL in the same CP command:
  "CP TERMINAL CONMODE 3270" || x2c(15) || "IPL whatever"

This tends to help avoid accidents.

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: ZOS Guest Console Not Working

2011-01-06 Thread Mike Walter
No, you want to leave the CONSOLE statement alone.  That's for VMS to use 
as a 3215.

If you want z/OS to use the same device address as its console, before the 
CP IPL command, enter:
CP TERM CONSOLE 3270
then enter the IPL command. 

Or, write an EXEC with the commands concatenated with a "LineEnd" (hex 
'15') character in between, ala:
 parse value diag(08,'CP QUERY VIRTUAL CONSOLE') with , 
  . 'TERM ' . contype .  
 If contype='VSM' 
then brkkey=''  /* BRKKEY not supported on SNA terminals */ 
else brkkey='#CP TERMINAL BRKKEY PF13' 
 iplcmds=, 
'#CP M * IPLing z/OS'|| , 
'#CP M OP IPLing z/OS'   || , 
'#CP M MAINT IPLing z/OS'|| , 
'#CP Q T'|| , 
'#CP TERM CON 3270'  || , 
 brkkey  || , 
'#CP IPL' loadaddr loadparms 
 'CP SET PF24 DELAY' iplcmds 
 'CP QUERY PF24'
Exit

If you are using a virtual coupling facility, I can send a much more 
fool-proof IPLZOS EXEC which first checks for z/OS's CFRM volumes being 
online, and that the virtual Coupling Faclity servers are active before 
continuing.

Mike Walter
Aon Corporation
The opinions expressed herein are mine alone, not my employer's.




"George Henke/NYLIC"  

Sent by: "The IBM z/VM Operating System" 
01/06/2011 02:51 PM
Please respond to
"The IBM z/VM Operating System" 



To
IBMVM@LISTSERV.UARK.EDU
cc

Subject
Re: ZOS Guest Console Not Working






tyvm, all. 

Looks like console is defined as 3215 

Guess this has not been working for some time and just noticed now. 

I suppose I can just change this to 3270 and all will be well. 

PROFILE MVSID 
* OPTION TODENABLE 
OPTION TODEN 
SHARE RELATIVE 100 LIMITSOFT 
MACHINE ESA 4 
IPL CMS   
CONSOLE 01E 3215 
* 


"McKown, John"  
Sent by: The IBM z/VM Operating System  
01/06/2011 03:42 PM 

Please respond to
The IBM z/VM Operating System 


To
IBMVM@LISTSERV.UARK.EDU 
cc

Subject
Re: ZOS Guest Console Not Working








I'm not a z/VM person. I'm a z/OS sysprog. I don't know how SuperSession 
works. A z/OS console is not BTAM, per se, a z/OS console is usually 
associated with a local non-SNA 3270 device. Note that the z/VM DIAL 
command (which is what I am used to) presents a 3270, however connected to 
z/VM, as a local non-SNA 3270. If this is the 3270 where you did a LOGON 
to start up the z/OS guest, then the console is likely in CONMODE 3215. 
That is the very old style printer keyboard console. z/OS does not support 
3215 consoles any more at all. In this case, before IPL'ing z/OS, enter 
the command #CP CONMODE 3270 to set the console mode to 3270. If your z/OS 
guest first IPLs CMS (as many do), this will "blow away" CMS. And you'll 
need to enter the IPL  command where "" is the virtual address of 
the z/OS IPL volume by hand. 
  
Another possibility is that the CONSOLnn member of PARMLIB is messed up. 
Make sure that the CONSOLE statements either don't specify the USE 
parameter or it is set to USE(FC). USE(MS) and USE(SD) won't work right 
for a normal console. 
  
Hope this was of at least some help. I only use z/VM when we do a D.R. 
test. 
  
John McKown 
Systems Engineer IV 
IT 
  
Administrative Services Group 
  
HealthMarkets® 
  
9151 Boulevard 26 ? N. Richland Hills ? TX 76010 
(817) 255-3225 phone ? 
john.mck...@healthmarkets.com ? www.HealthMarkets.com 
  
Confidentiality Notice: This e-mail message may contain confidential or 
proprietary information. If you are not the intended recipient, please 
contact the sender by reply e-mail and destroy all copies of the original 
message. HealthMarkets® is the brand name for products underwritten and 
issued by the insurance subsidiaries of HealthMarkets, Inc. ?The 
Chesapeake Life Insurance Company®, Mid-West National Life Insurance 
Company of TennesseeSM and The MEGA Life and Health Insurance Company.SM 
 

From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On 
Behalf Of George Henke/NYLIC
Sent: Thursday, January 06, 2011 2:28 PM
To: IBMVM@LISTSERV.UARK.EDU
Subject: ZOS Guest Console Not Working

The ZOS console does not have the command line at the bottom. 

There is no way to input data. 

I can dial into TSO np, even look at the console in EJES (we are JES3), 
and everything else looks fine. 

But just logging onto to ZOS guest through SuperSession and entering *b* 
shows the ZOS console output only without any command line at the bottom. 

We do have a VTAM vsm, but ZOS consoles are BTAM, not VTAM terminals. 




The information contained in this e-mail and any accompanying documents may 
contain information that is confidential or otherwise protected from 
disclosure. If you are not the intended recipient of this message, or if this 
message has been addressed to you in error, please immediately alert the sender 
by reply 

Re: ZOS Guest Console Not Working

2011-01-06 Thread George Henke/NYLIC
tyvm, all.

Looks like console is defined as 3215

Guess this has not been working for some time and just noticed now.

I suppose I can just change this to 3270 and all will be well.

PROFILE MVSID 
* OPTION TODENABLE 
OPTION TODEN 
SHARE RELATIVE 100 LIMITSOFT 
MACHINE ESA 4 
IPL CMS 
CONSOLE 01E 3215 
* 



"McKown, John"  
Sent by: The IBM z/VM Operating System 
01/06/2011 03:42 PM
Please respond to
The IBM z/VM Operating System 


To
IBMVM@LISTSERV.UARK.EDU
cc

Subject
Re: ZOS Guest Console Not Working






I'm not a z/VM person. I'm a z/OS sysprog. I don't know how SuperSession 
works. A z/OS console is not BTAM, per se, a z/OS console is usually 
associated with a local non-SNA 3270 device. Note that the z/VM DIAL 
command (which is what I am used to) presents a 3270, however connected to 
z/VM, as a local non-SNA 3270. If this is the 3270 where you did a LOGON 
to start up the z/OS guest, then the console is likely in CONMODE 3215. 
That is the very old style printer keyboard console. z/OS does not support 
3215 consoles any more at all. In this case, before IPL'ing z/OS, enter 
the command #CP CONMODE 3270 to set the console mode to 3270. If your z/OS 
guest first IPLs CMS (as many do), this will "blow away" CMS. And you'll 
need to enter the IPL  command where "" is the virtual address of 
the z/OS IPL volume by hand. 
 
Another possibility is that the CONSOLnn member of PARMLIB is messed up. 
Make sure that the CONSOLE statements either don't specify the USE 
parameter or it is set to USE(FC). USE(MS) and USE(SD) won't work right 
for a normal console.
 
Hope this was of at least some help. I only use z/VM when we do a D.R. 
test.
 
John McKown 
Systems Engineer IV
IT
 
Administrative Services Group
 
HealthMarkets®
 
9151 Boulevard 26 • N. Richland Hills • TX 76010
(817) 255-3225 phone • 
john.mck...@healthmarkets.com • www.HealthMarkets.com
 
Confidentiality Notice: This e-mail message may contain confidential or 
proprietary information. If you are not the intended recipient, please 
contact the sender by reply e-mail and destroy all copies of the original 
message. HealthMarkets® is the brand name for products underwritten and 
issued by the insurance subsidiaries of HealthMarkets, Inc. –The 
Chesapeake Life Insurance Company®, Mid-West National Life Insurance 
Company of TennesseeSM and The MEGA Life and Health Insurance Company.SM
 

From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On 
Behalf Of George Henke/NYLIC
Sent: Thursday, January 06, 2011 2:28 PM
To: IBMVM@LISTSERV.UARK.EDU
Subject: ZOS Guest Console Not Working

The ZOS console does not have the command line at the bottom. 

There is no way to input data. 

I can dial into TSO np, even look at the console in EJES (we are JES3), 
and everything else looks fine. 

But just logging onto to ZOS guest through SuperSession and entering *b* 
shows the ZOS console output only without any command line at the bottom. 

We do have a VTAM vsm, but ZOS consoles are BTAM, not VTAM terminals. 



Re: ZOS Guest Console Not Working

2011-01-06 Thread McKown, John
I'm not a z/VM person. I'm a z/OS sysprog. I don't know how SuperSession works. 
A z/OS console is not BTAM, per se, a z/OS console is usually associated with a 
local non-SNA 3270 device. Note that the z/VM DIAL command (which is what I am 
used to) presents a 3270, however connected to z/VM, as a local non-SNA 3270. 
If this is the 3270 where you did a LOGON to start up the z/OS guest, then the 
console is likely in CONMODE 3215. That is the very old style printer keyboard 
console. z/OS does not support 3215 consoles any more at all. In this case, 
before IPL'ing z/OS, enter the command #CP CONMODE 3270 to set the console mode 
to 3270. If your z/OS guest first IPLs CMS (as many do), this will "blow away" 
CMS. And you'll need to enter the IPL  command where "" is the virtual 
address of the z/OS IPL volume by hand.

Another possibility is that the CONSOLnn member of PARMLIB is messed up. Make 
sure that the CONSOLE statements either don't specify the USE parameter or it 
is set to USE(FC). USE(MS) and USE(SD) won't work right for a normal console.

Hope this was of at least some help. I only use z/VM when we do a D.R. test.

John McKown
Systems Engineer IV
IT

Administrative Services Group

HealthMarkets(r)

9151 Boulevard 26 * N. Richland Hills * TX 76010
(817) 255-3225 phone *
john.mck...@healthmarkets.com * www.HealthMarkets.com

Confidentiality Notice: This e-mail message may contain confidential or 
proprietary information. If you are not the intended recipient, please contact 
the sender by reply e-mail and destroy all copies of the original message. 
HealthMarkets(r) is the brand name for products underwritten and issued by the 
insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance 
Company(r), Mid-West National Life Insurance Company of TennesseeSM and The 
MEGA Life and Health Insurance Company.SM



From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf 
Of George Henke/NYLIC
Sent: Thursday, January 06, 2011 2:28 PM
To: IBMVM@LISTSERV.UARK.EDU
Subject: ZOS Guest Console Not Working

The ZOS console does not have the command line at the bottom.

There is no way to input data.

I can dial into TSO np, even look at the console in EJES (we are JES3), and 
everything else looks fine.

But just logging onto to ZOS guest through SuperSession and entering *b* shows 
the ZOS console output only without any command line at the bottom.

We do have a VTAM vsm, but ZOS consoles are BTAM, not VTAM terminals.


Re: ZOS Guest Console Not Working

2011-01-06 Thread Mike Walter
George,

How are the consoles defined in the directory entry for the z/OS guest?
I.e. usually with something like:
SPECIAL vdev 3270

Then your terminal emulator must be set to display the same 3270 model 
(Mod2=32 lines x 80; mod4=43 lines x 80, etc.).
Then, the z/OS terminal must be varied online as a console.  For example, 
if the 'vdev' was '0100', then at a z/OS console, enter: V 0100,console

There's some z/OS parmlib member for consoles, too - perhaps CONSOL00?

Mike Walter
Aon Corporation
The opinions expressed herein are mine alone, not my employer's.



"George Henke/NYLIC"  

Sent by: "The IBM z/VM Operating System" 
01/06/2011 02:28 PM
Please respond to
"The IBM z/VM Operating System" 



To
IBMVM@LISTSERV.UARK.EDU
cc

Subject
ZOS Guest Console Not Working






The ZOS console does not have the command line at the bottom. 

There is no way to input data. 

I can dial into TSO np, even look at the console in EJES (we are JES3), 
and everything else looks fine. 

But just logging onto to ZOS guest through SuperSession and entering *b* 
shows the ZOS console output only without any command line at the bottom. 

We do have a VTAM vsm, but ZOS consoles are BTAM, not VTAM terminals. 




The information contained in this e-mail and any accompanying documents may 
contain information that is confidential or otherwise protected from 
disclosure. If you are not the intended recipient of this message, or if this 
message has been addressed to you in error, please immediately alert the sender 
by reply e-mail and then delete this message, including any attachments. Any 
dissemination, distribution or other use of the contents of this message by 
anyone other than the intended recipient is strictly prohibited. All messages 
sent to and from this e-mail address may be monitored as permitted by 
applicable law and regulations to ensure compliance with our internal policies 
and to protect our business. E-mails are not secure and cannot be guaranteed to 
be error free as they can be intercepted, amended, lost or destroyed, or 
contain viruses. You are deemed to have accepted these risks if you communicate 
with us by e-mail. 


Re: ZOS Guest Console Not Working

2011-01-06 Thread Alan Altmark
On Thursday, 01/06/2011 at 03:28 EST, George Henke/NYLIC 
 wrote:
> The ZOS console does not have the command line at the bottom. 
> 
> There is no way to input data. 
> 
> I can dial into TSO np, even look at the console in EJES (we are JES3), 
and 
> everything else looks fine. 
> 
> But just logging onto to ZOS guest through SuperSession and entering *b* 
shows 
> the ZOS console output only without any command line at the bottom. 
> 
> We do have a VTAM vsm, but ZOS consoles are BTAM, not VTAM terminals. 

1. Is the virtual console address recognized by your z/OS guest as a 
console?
2. Is the virtual console defined as a 3270 instead of the usual 3215?

I think MVS will fall back to the integrated console, so you can use #CP 
VINPUT VMSG to enter commands.  In particular, use that to enter the VARY 
commando activate the console once you get the configuration straightened 
out. 

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


ZOS Guest Console Not Working

2011-01-06 Thread George Henke/NYLIC
The ZOS console does not have the command line at the bottom.

There is no way to input data.

I can dial into TSO np, even look at the console in EJES (we are JES3), 
and everything else looks fine. 

But just logging onto to ZOS guest through SuperSession and entering *b* 
shows the ZOS console output only without any command line at the bottom.

We do have a VTAM vsm, but ZOS consoles are BTAM, not VTAM terminals.


Re: REXX code for UR

2011-01-06 Thread Jeff Gribbin
Hi Frank,
I have code buried somewhere in my attic that does exactly this - saving the
status in GLOBALV. Robert's DEFINE is good if you only need to, 'stack' one
level - apart from anything else it's guaranteed to be release-independent -
but if you'd like me to go climbing around in the rafters and hunt down
those routines for you then I'd be happy to do so - just contact me off-list
and I'll be on my way :-)

Regards
Jeff Gribbin


Re: SORTING DIRECTORY GAPS BY USER

2011-01-06 Thread Bruce Hayden
The DIRMAP utility is smart enough that if a full pack minidisk is
defined that matches the size of a device, it doesn't flag it as an
overlap.  So, I define a userid named $DASD$ (mainly because this is
how internal IBM systems were set up) that defines the full size of
each disk.  For example:
USER $DASD$ NOLOG
   MDISK 0A00 3390 0 3339 610RES R
   MDISK 0A01 3390 0 3339 610SPL R
   MDISK 0A02 3390 0 3339 610PAG R
   MDISK 0A03 3390 0 3339 610W01 R
   MDISK 0A04 3390 0 3339 610W02 R
The easy way to do this is copy $ALLOC$ and change the end cylinder.
Now DIRMAP knows the true size of each dasd and shows any gap at the
end.

On Wed, Jan 5, 2011 at 4:23 PM, Tom Duerbusch
 wrote:
> For decades I've been using $ENDPAK$ userid to define the last cylinder of 
> each pack.  That, along with $ALLOC$ for cylinder 0, has allowed DISKMAP to 
> show trailing gaps.
>
> I never thought about it, but I should have defined the last cylinder to be 
> (last cylinder + 1)  i.e. 3340 cylinders for a 3390-3.  Currently, I get the 
> *OVERLAP* flag when I do use the last cylinder.
>
> Tom Duerbusch
> THD Consulting
>
 "Frank M. Ramaekers"  1/5/2011 3:12 PM >>>
> These tools (DIRMAP and MDISKMAP) have no ideas how many cylinders a
> device has (unless you told it by defining a full pack mini-disk).
>
>
>
>
>
> Frank M. Ramaekers Jr.
>
>
>
>
>
> 
>
> From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On
> Behalf Of George Henke/NYLIC
> Sent: Wednesday, January 05, 2011 2:51 PM
> To: IBMVM@LISTSERV.UARK.EDU
> Subject: Re: SORTING DIRECTORY GAPS BY USER
>
>
>
> This is great, George, ty.
>
> Just one problem.
>
> It does not show the GAPs after the last extent on a VOLSER.
>
> It would be nice to know the GAPS on the tailend of a VOLSER also.
>
> Must I put a dummy entry on the last cylinder to generate a GAP in
> DIRMAP and/or DISKMAP?
>
> Is there a workaround for this on VM Tools?
>
>
>
>
> gclo...@br.ibm.com
> Sent by: The IBM z/VM Operating System 
>
> 01/05/2011 07:26 AM
>
> Please respond to
> The IBM z/VM Operating System 
>
> To
>
> IBMVM@LISTSERV.UARK.EDU
>
> cc
>
>
>
> Subject
>
> Re: SORTING DIRECTORY GAPS BY USER
>
>
>
>
>
>
>
>
>
>
> George:
> Not sure we understand the question, but...
>
> Without DIRMAINT, try "DIRMAP (GAPFILE DEVSORT"
>  - Generate two files, one with only the Gaps and other with the
> allocated cylinders, both classified by VOLSER.
>
> With DIRMAINT, try "DIRM FREE" and "DIRM USED" to get files like the
> same proposal... Or, "DIRM DIRMAP (GAPFILE DEVSORT"
>
>
> "DIRM HELP DIRMAP" shows:
>
>
> Devsort
>
>   requests that the report is to be sorted by device type followed by
> volume
>   label. The default is to sort by volume label.
>
>
>
> Gapfile
>
>   Generate a file listing gaps in addition to a report detailing the
> current
>   DASD utilization.
>
>
>
>   Note:  If you use the GAPFILE option without using the EXCLUDE option
> and
>          excluded full volume overlays are defined on your system no
> gap
>          data will be returned.  Use the EXCLUDE option to eliminate
> the
>          excluded full volume overlays from consideration when building
> the
>          gap data.
>
>   The gapfile is listed in the following format:
>
>   Field Use
>
>   1    volid of disk
>
>   2    device type of disk.
>
>   3    start cylinder/block of gap
>
>   4    end cylinder/block of gap
>
>   5    number of cylinders/blocks in gap
>
>
>
>        Note:  All fields are blank delimited and not bound to a
> specific
>               column range.
>
>
> __
> Clovis
>
> From:
>
> Mike Walter 
>
> To:
>
> IBMVM@LISTSERV.UARK.EDU
>
> Date:
>
> 04/01/2011 19:33
>
> Subject:
>
> Re: SORTING DIRECTORY GAPS BY USER
>
> Sent by:
>
> The IBM z/VM Operating System 
>
>
>
> 
>
>
>
>
>
> Or better yet... _why_?
>
> It sounds as if you want to display users and mdisks, sorted by user
> (and perhaps mdisk, too) which reside between gaps.
> But _why_?  What are you attempting to do?
>
> Mike Walter
> Aon Corporation
> The opinions expressed herein are mine alone, not my employer's.
>
> "Tom Huegel" 
>
> Sent by: "The IBM z/VM Operating System" 
>
> 01/04/2011 03:26 PM
>
> Please respond to
> "The IBM z/VM Operating System" 
>
>
>
> To
>
> IBMVM@LISTSERV.UARK.EDU
>
> cc
>
>
>
> Subject
>
> Re: SORTING DIRECTORY GAPS BY USER
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> I don't understand your question.. If there is a GAP then there is no
> USER. ???
>
> On Tue, Jan 4, 2011 at 1:13 PM, George Henke/NYLIC
>  wrote:
> Does anybody have anything like a PIPE command or a utility to do this
> sort of thing, sort the DIRECTORY DISKMAP on USER within GAPS?
>
> I am sure DIRMAINT would obviate the necessity for such a thing, but
> right now this is all I can do.
>
> 
>
>
> The information contained in this e-mail and any accompanying documents
> may contain information that is confiden

Re: PIPE locate question

2011-01-06 Thread Berry van Sleeuwen
I was close but not quite correct. Here is the result after testing:

/* */
parse upper arg input  
 

'PIPE (END ?) CP QUERY NAMES',   /* Get UID's */
  '| SPLIT at str /,/',  /* split into lines  */
  '| LOCATE /- DSC/',/* Only disconnected */
  '| specs w1 1',/* get names */
  '| strip', /* remove blanks */
  '| sort 1-8',  /* sort  */
  '| pad 8', /* Make sure length 8*/
  '| a: lookup 1.8 1.8 master',  /* Compare   */
  '| count lines',   /* how many found*/
  '| var iffound',   /* number of names found */
  '? var input', /* names parsed from cmdline */
  '| split', /* split into lines  */
  '| pad 8', /* make sure length 8*/
  '| a:',/* into lookup   */
  '| hole',  /* drop names not in input   */
  '? a:',/* tert.  output unref   */
  '| cons',  /* display   */
  '| count lines',   /* How many not found*/
  '| var ifnotfound' /* number of names not found */

Regards, Berry.