VM VSE linux/390 Employment Web Page

2002-11-14 Thread Dennis G. Wicks
Greetings; (Posted to VMESA-L and VSE-L and LINUX-390)

- - Now in its fifth year! - - Now includes VSE and linux/390!

I have set up a public service web page at

http://www.eskimo.com/~wix/vm/

for posting positions available and wanted for VM, VSE and linux/390.

Please visit the web page for more information and feel free to
send me any info you would like to have posted.  Please make VM
or VSE or linux/390 the first word in the subject.
Questions and comments welcome!
(Text or html OK.  No java, gifs, .DOC, etc. NO RESUMES or CVs!)

Please check the web pages for examples before sending your ad!

Good luck,
Dennis

VM  VSE  linux/390 Positions Available last updated Oct 26.
VM  VSE  linux/390 Positions Wanted last updated Oct 27.
318791 11/14/02 00:05:06



/bin/sh is needed by

2002-11-14 Thread Felix Yoyok S. Aditias
Hi,
I use suse 7.0 with kernel 2.16. When I install tomcat, the following
message came out :

rootlbii:/master/tomcat3-3.3.1-4  rpm -ihv servletapi3-3.3.1-1.noarch.rpm
error: failed dependencies:
/bin/shis needed by servletapi3-3.3.1-1
/bin/shis needed by servletapi3-3.3.1-1

I checked that file sh exists :

rootlbii:/master/tomcat3-3.3.1-4  ls -l  /bin/sh
-rwxr-xr-x2rootroot   462084 Nov 14 14:00 sh

The version of my rpm is 4.0.4. Anyone could address me where the problem
is?

Thanks
Yoyok



Re: /bin/sh is needed by

2002-11-14 Thread John Summerfield
On Thu, 14 Nov 2002, Felix Yoyok S. Aditias wrote:

 Hi,
 I use suse 7.0 with kernel 2.16. When I install tomcat, the following
 message came out :

 rootlbii:/master/tomcat3-3.3.1-4  rpm -ihv servletapi3-3.3.1-1.noarch.rpm
 error: failed dependencies:
 /bin/shis needed by servletapi3-3.3.1-1
 /bin/shis needed by servletapi3-3.3.1-1

 I checked that file sh exists :

 rootlbii:/master/tomcat3-3.3.1-4  ls -l  /bin/sh
 -rwxr-xr-x2rootroot   462084 Nov 14 14:00 sh

 The version of my rpm is 4.0.4. Anyone could address me where the problem
 is?

For some reason the rpm database doesn't have /bin/sh in it.

This is one of those times a knowledgable administrator can happily
rpm --upgrade --nodeps package-name




--


Cheers
John.

Please, no off-list mail. You will fall foul of my spam treatment.
Join the Linux Support by Small Businesses list at
http://mail.computerdatasafe.com.au/mailman/listinfo/lssb



Re: /bin/sh is needed by

2002-11-14 Thread Daniel Jarboe
I'm on a RH system, but 

$ rpm -qf /bin/sh
bash-2.05-8

If you can find whatever rpm is supposed to provide /bin/sh in your
distro then you might want to do a rpm --justdb on it so you won't get
dependency errors for this in the future.

~ Daniel

-Original Message-
From: John Summerfield [mailto:summer;computerdatasafe.com.au] 
Sent: Thursday, November 14, 2002 3:42 AM
To: [EMAIL PROTECTED]
Subject: Re: /bin/sh is needed by


On Thu, 14 Nov 2002, Felix Yoyok S. Aditias wrote:

 Hi,
 I use suse 7.0 with kernel 2.16. When I install tomcat, the following
 message came out :

 root@lbii:/master/tomcat3-3.3.1-4  rpm -ihv
servletapi3-3.3.1-1.noarch.rpm
 error: failed dependencies:
 /bin/shis needed by servletapi3-3.3.1-1
 /bin/shis needed by servletapi3-3.3.1-1

 I checked that file sh exists :

 root@lbii:/master/tomcat3-3.3.1-4  ls -l  /bin/sh
 -rwxr-xr-x2rootroot   462084 Nov 14 14:00 sh

 The version of my rpm is 4.0.4. Anyone could address me where the
problem
 is?

For some reason the rpm database doesn't have /bin/sh in it.

This is one of those times a knowledgable administrator can happily
rpm --upgrade --nodeps package-name




--


Cheers
John.

Please, no off-list mail. You will fall foul of my spam treatment.
Join the Linux Support by Small Businesses list at
http://mail.computerdatasafe.com.au/mailman/listinfo/lssb



Problems loading qeth for a Guest Lan

2002-11-14 Thread Geyer, Thomas L.
I am attempting to setup a Guest Lan on zVM 4.3 on a z800. I have one Linux
machine, lnxrtr1, up and running with a CTC connection to the zVM TCPIP
virtual machine. My goal is to have the lnxrtr1 linux machine act be a
router for my Guest Lan. I am now trying to get lnxrtr1 to communicate to
the Guest Lan. I have defined the LAN as follows:

cp q lan qdiolan2 details
LAN SYSTEM QDIOLAN2Type: QDIO Active: 1 MAXCONN: INFINITE
  PERSISTENT  RESTRICTEDMFS: 8192ACCOUNTING: OFF
Authorized userids:
  LNXRTR1  SYSTEM
Adapter Owner: LNXRTR1  NIC: 7000  Name: BEARS
Ready; T=0.01/0.01 17:34:01

In lnxrtr1, I have defined the NIC and have coupled it to the LAN, as shown
with the following query commands:

CP Q NIC DETAILS
Adapter 7000  Type: QDIO  Name: BEARS   Devices: 3
  Port 0 MAC: 00-04-AC-00-00-00  LAN: SYSTEM QDIOLAN2MFS: 8192
  RX Packets: 0  Discarded: 0  Errors: 0
  TX Packets: 0  Discarded: 0  Errors: 0
  RX Bytes: 0TX Bytes: 0
  Connection Name: HALLOLE   State: Session Established
Device: 7000  Unit: 000   Role: CTL-READ
Device: 7001  Unit: 001   Role: CTL-WRITE
Device: 7002  Unit: 002   Role: DATA

CP Q V 7000
OSA  7000 ON NIC  7000  UNIT 000 SUBCHANNEL = 0015
 7000 QDIO-ELIGIBLE

Now the linux setup information:

My /etc/chandev.conf file in lnxrtr1 contains the following:

ctc0,0x7100,0x7101
add_parms 0x10,0x7000,0x7002,portname:BEARS
qeth1,0x7000,0x7001,0x7002

My /etc/modules.conf file in lnxrtr1 contains the following:

#
alias eth0 lcs
#alias eth1 off
alias eth1 qeth
alias tr0 off

I load qdio and qeth as shown below:

lnxrtr1:~ # insmod qdio
Using /lib/modules/2.4.17/kernel/drivers/s390/net/qdio.o
lnxrtr1:~ # insmod qeth
Using /lib/modules/2.4.17/kernel/drivers/s390/net/qeth.o
lnxrtr1:~ # lsmod
Module  Size  Used by
qeth  138992   0  (unused)
qdio   40128   1  [qeth]
ipv6  249664  -1  (autoclean)
ctc53808   1  (autoclean)
fsm 1984   0  (autoclean) [ctc]
lvm-mod47280   0  (autoclean)


My current ip settings:

lnxrtr1:~ # ifconfig
ctc0  Link encap:Serial Line IP
  inet addr:147.185.179.2  P-t-P:147.185.2.158  Mask:255.255.255.128
  UP POINTOPOINT RUNNING NOARP  MTU:8992  Metric:1
  RX packets:465 errors:0 dropped:0 overruns:0 frame:0
  TX packets:422 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:100
  RX bytes:53351 (52.1 Kb)  TX bytes:53154 (51.9 Kb)

loLink encap:Local Loopback
  inet addr:127.0.0.1  Mask:255.0.0.0
  inet6 addr: ::1/128 Scope:Host
  UP LOOPBACK RUNNING  MTU:16436  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

When I define the IP configuration for the eth1 with the following command,
I lose all IP connectivity and there are no messages in the TN3270 window.

lnxrtr1:~ # ifconfig eth1 147.185.179.65

From the TC3270 window I can run ifconfig and get the following:

ifconfig
ctc0  Link encap:Serial Line IP
  inet addr:147.185.179.2  P-t-P:147.185.2.158  Mask:255.255.255.128
  UP POINTOPOINT RUNNING NOARP  MTU:8992  Metric:1
  RX packets:1438 errors:0 dropped:0 overruns:0 frame:0
  TX packets:1413 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:100
  RX bytes:162163 (158.3 Kb)  TX bytes:245515 (239.7 Kb)

eth1  Link encap:Ethernet  HWaddr 00:00:00:00:00:00
  inet addr:147.185.179.65  Mask:255.255.0.0
  inet6 addr: fe80::200:ff:fe00:0/10 Scope:Link
  UP RUNNING NOARP MULTICAST  MTU:1492  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:51 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:100
  RX bytes:0 (0.0 b)  TX bytes:14376 (14.0 Kb)
  Interrupt:21

If I bring eth1 down from the TN3270 window I can logon on with putty.

I have used presentations from Share, presentations from IBM's zVM/zOS
Technical Conference, IBM's Large Scale Linux Deployment Redbook and the
Device Drivers and Installation Commands Manual as reference in this effort.

If anyone can see what I did wrong please let me know, I have been fighing
this for days. Your help is greatly appreciated. I apologize for the length
of this email.



Thomas L. Geyer
Email:[EMAIL PROTECTED]
Phone:(330) 471-2073
Fax:(330) 471-4034



**
This message and any attachments are intended for the
individual or entity named above. If you are not the intended
recipient, please do not forward, copy, print, use or disclose this
communication to others; also please notify the sender by
replying to 

regina/rexx question

2002-11-14 Thread Mark . Pace
I am working on rexx/regina.  I want to issue a command, such as 'df'  and
then pull the results and massage them.

'df'
do queued()
   pull line
   /* edit the line */
   say line
end

df results are not put in the stack to be pulled off in this manner.   How
can I accomplish this?


Mark D Pace
Senior Systems Engineer
Mainline Information Systems
1700 Summit Lake Drive
Tallahassee, FL. 32317
[EMAIL PROTECTED]
Office: 850.219.5184
Fax: 850.219.5050
http://www.mainline.com



Re: regina/rexx question

2002-11-14 Thread Ferguson, Neale
From memory...

x = 'df'()
parse var X  '0a'x

I'm probably wrong about the CR delimiter you may have to check out what you
get by using trace i

-Original Message-
I am working on rexx/regina.  I want to issue a command, such as 'df'  and
then pull the results and massage them.

'df'
do queued()
   pull line
   /* edit the line */
   say line
end



Re: Problems loading qeth for a Guest Lan

2002-11-14 Thread Rich Smrcina
In a couple of cases I had to use:

qeth-1,0x

To have the driver pick the device automatically.

On Thursday 14 November 2002 09:57 am, you wrote:

 ctc0,0x7100,0x7101
 add_parms 0x10,0x7000,0x7002,portname:BEARS
 qeth1,0x7000,0x7001,0x7002


--
Rich Smrcina
Sytek Services, Inc.
Milwaukee, WI
[EMAIL PROTECTED]
[EMAIL PROTECTED]

Catch the WAVV!  Stay for Requirements and the Free for All!
Update your S/390 skills in 4 days for a very reasonable price.
WAVV 2003 in Winston-Salem, NC.
April 25-29, 2003
For details see http://www.wavv.org



regina/rexx question

2002-11-14 Thread Sal Torres/SBC Inc.
*** Reply to note of Thu, 14 Nov 2002 11:11:24 -0500 (EST/CDT)
*** by [EMAIL PROTECTED]

Mark,

using popen:

 rc=popen('df', list.);
 do i=1 to list.i
   say list.i
   end

or using the stack:

  q=queued()
 'df  FIFO'
  do i=1 to queued()-q;
parse pull line
say line
end

[EMAIL PROTECTED] writes:
I am working on rexx/regina.  I want to issue a command, such as 'df'  and
then pull the results and massage them.

'df'
do queued()
   pull line
   /* edit the line */
   say line
end

df results are not put in the stack to be pulled off in this manner.   How
can I accomplish this?


Mark D Pace
Senior Systems Engineer
Mainline Information Systems
1700 Summit Lake Drive
Tallahassee, FL. 32317
[EMAIL PROTECTED]
Office: 850.219.5184
Fax: 850.219.5050
http://www.mainline.com



Re: Problems loading qeth for a Guest Lan

2002-11-14 Thread Richard Hirst
On Thu, Nov 14, 2002 at 10:57:42AM -0500, Geyer, Thomas L. wrote:
 lnxrtr1:~ # ifconfig
 ctc0  Link encap:Serial Line IP
   inet addr:147.185.179.2  P-t-P:147.185.2.158  Mask:255.255.255.128
...
 lnxrtr1:~ # ifconfig eth1 147.185.179.65
...
 eth1  Link encap:Ethernet  HWaddr 00:00:00:00:00:00
   inet addr:147.185.179.65  Mask:255.255.0.0

When you ifconfig eth1, you are effectively saying 'route all
147.185.*.* to eth1', as the netmask is defaulting to 255.255.0.0.  That
range includes your CTC address, which probably stops it working.
Choosing a different address for eth1 would probably be the simplest
solution.

Richard



Re: regina/rexx question

2002-11-14 Thread Post, Mark K
Mark,

Try 'df FIFO' and see if that helps.

Note that there cannot be a space between the  and FIFO (at least on
Win2K system).  One working example from one of my programs is:

grep -i line all.names.txt | wc | sed -e 's/^ *//' | cut -f1 -d' ' FIFO


Mark Post

-Original Message-
From: [EMAIL PROTECTED] [mailto:Mark.Pace;ncgicorp.com]
Sent: Thursday, November 14, 2002 11:11 AM
To: [EMAIL PROTECTED]
Subject: regina/rexx question


I am working on rexx/regina.  I want to issue a command, such as 'df'  and
then pull the results and massage them.

'df'
do queued()
   pull line
   /* edit the line */
   say line
end

df results are not put in the stack to be pulled off in this manner.   How
can I accomplish this?


Mark D Pace
Senior Systems Engineer
Mainline Information Systems
1700 Summit Lake Drive
Tallahassee, FL. 32317
[EMAIL PROTECTED]
Office: 850.219.5184
Fax: 850.219.5050
http://www.mainline.com



Re: Problems loading qeth for a Guest Lan

2002-11-14 Thread Alan Altmark
On Thursday, 11/14/2002 at 10:57 EST, Geyer, Thomas L.
[EMAIL PROTECTED] wrote:
 I am attempting to setup a Guest Lan on zVM 4.3 on a z800. I have one
Linux
 machine, lnxrtr1, up and running with a CTC connection to the zVM TCPIP
 virtual machine. My goal is to have the lnxrtr1 linux machine act be a
 router for my Guest Lan. I am now trying to get lnxrtr1 to communicate
to
 the Guest Lan. I have defined the LAN as follows:
[snip]
 I have used presentations from Share, presentations from IBM's zVM/zOS
 Technical Conference, IBM's Large Scale Linux Deployment Redbook and the
 Device Drivers and Installation Commands Manual as reference in this
effort.

 If anyone can see what I did wrong please let me know, I have been
fighing
 this for days. Your help is greatly appreciated. I apologize for the
length
 of this email.

Routing, son, routing.  Look carefully at the subnet mask of eth1:

eth1  Link encap:Ethernet  HWaddr 00:00:00:00:00:00
  inet addr:147.185.179.65  Mask:255.255.0.0

All of your real network LAN traffic that was previously being bounced
back through the CTC connection is now flowing into the virtual bit
bucket.  Fix up the subnet mask (255.255.255.128?) and all will be well
(he said hopefully).

Alan Altmark
Sr. Software Engineer
IBM z/VM Development



Re: regina/rexx question

2002-11-14 Thread Mark . Pace
Try 'df FIFO' and see if that helps.

x = 'df'()
parse var X  '0a'x

rc=popen('df', list.);

Thanks for the suggestions!FIFO does exactly what I was looking for.


Mark D Pace
Senior Systems Engineer
Mainline Information Systems
1700 Summit Lake Drive
Tallahassee, FL. 32317
[EMAIL PROTECTED]
Office: 850.219.5184
Fax: 850.219.5050
http://www.mainline.com



Re: regina/rexx question

2002-11-14 Thread Post, Mark K
Sal,

One small correction:
 rc=popen('df', list.);
-do i=1 to list.i
+do i=1 to list.0
   say list.i


And one question.  The distribution of Regina I have doesn't document
popen at all.  Do you know where I can find a source that does?

Mark Post

-Original Message-
From: Sal Torres/SBC Inc. [mailto:cmcgst;a05jes.ameritech.com]
Sent: Thursday, November 14, 2002 11:21 AM
To: [EMAIL PROTECTED]
Subject: regina/rexx question


*** Reply to note of Thu, 14 Nov 2002 11:11:24 -0500 (EST/CDT)
*** by [EMAIL PROTECTED]

Mark,

using popen:

 rc=popen('df', list.);
 do i=1 to list.i
   say list.i
   end

or using the stack:

  q=queued()
 'df  FIFO'
  do i=1 to queued()-q;
parse pull line
say line
end

[EMAIL PROTECTED] writes:
I am working on rexx/regina.  I want to issue a command, such as 'df'  and
then pull the results and massage them.

'df'
do queued()
   pull line
   /* edit the line */
   say line
end

df results are not put in the stack to be pulled off in this manner.   How
can I accomplish this?


Mark D Pace
Senior Systems Engineer
Mainline Information Systems
1700 Summit Lake Drive
Tallahassee, FL. 32317
[EMAIL PROTECTED]
Office: 850.219.5184
Fax: 850.219.5050
http://www.mainline.com



Re: regina/rexx question

2002-11-14 Thread Sal Torres/SBC Inc.
*** Reply to note of Thu, 14 Nov 2002 12:52:54 -0500 (EST/CDT)
*** by [EMAIL PROTECTED]

You can find the Regina documentation at SourceForce.net:
  http://regina-rexx.sourceforge.net/doc/index.html

popen is documented under the REXX Standard Built-in Functions.

On newer versions of Regina you can use the Address statement:
  Address SYSTEM mypgm WITH INPUT STEM in. OUTPUT STEM out. ,
 ERROR STEM err.

sal

Post, Mark K [EMAIL PROTECTED] writes:
Sal,

One small correction:
 rc=popen('df', list.);
-do i=1 to list.i
+do i=1 to list.0
   say list.i


And one question.  The distribution of Regina I have doesn't document
popen at all.  Do you know where I can find a source that does?

Mark Post

-Original Message-
From: Sal Torres/SBC Inc. [mailto:cmcgst;a05jes.ameritech.com]
Sent: Thursday, November 14, 2002 11:21 AM
To: [EMAIL PROTECTED]
Subject: regina/rexx question


*** Reply to note of Thu, 14 Nov 2002 11:11:24 -0500 (EST/CDT)
*** by [EMAIL PROTECTED]

Mark,

using popen:

 rc=popen('df', list.);
 do i=1 to list.i
   say list.i
   end

or using the stack:

  q=queued()
 'df  FIFO'
  do i=1 to queued()-q;
parse pull line
say line
end

[EMAIL PROTECTED] writes:
I am working on rexx/regina.  I want to issue a command, such as 'df'  and
then pull the results and massage them.

'df'
do queued()
   pull line
   /* edit the line */
   say line
end

df results are not put in the stack to be pulled off in this manner.   How
can I accomplish this?


Mark D Pace
Senior Systems Engineer
Mainline Information Systems
1700 Summit Lake Drive
Tallahassee, FL. 32317
[EMAIL PROTECTED]
Office: 850.219.5184
Fax: 850.219.5050
http://www.mainline.com



Re: regina/rexx question

2002-11-14 Thread Post, Mark K
Sal,

Thanks.  That's about 4 years more current than my documentation.

Mark Post

-Original Message-
From: Sal Torres/SBC Inc. [mailto:cmcgst;a05jes.ameritech.com]
Sent: Thursday, November 14, 2002 1:26 PM
To: [EMAIL PROTECTED]
Subject: Re: regina/rexx question


*** Reply to note of Thu, 14 Nov 2002 12:52:54 -0500 (EST/CDT)
*** by [EMAIL PROTECTED]

You can find the Regina documentation at SourceForce.net:
  http://regina-rexx.sourceforge.net/doc/index.html

popen is documented under the REXX Standard Built-in Functions.

On newer versions of Regina you can use the Address statement:
  Address SYSTEM mypgm WITH INPUT STEM in. OUTPUT STEM out. ,
 ERROR STEM err.

sal

Post, Mark K [EMAIL PROTECTED] writes:
Sal,

One small correction:
 rc=popen('df', list.);
-do i=1 to list.i
+do i=1 to list.0
   say list.i


And one question.  The distribution of Regina I have doesn't document
popen at all.  Do you know where I can find a source that does?

Mark Post

-Original Message-
From: Sal Torres/SBC Inc. [mailto:cmcgst;a05jes.ameritech.com]
Sent: Thursday, November 14, 2002 11:21 AM
To: [EMAIL PROTECTED]
Subject: regina/rexx question


*** Reply to note of Thu, 14 Nov 2002 11:11:24 -0500 (EST/CDT)
*** by [EMAIL PROTECTED]

Mark,

using popen:

 rc=popen('df', list.);
 do i=1 to list.i
   say list.i
   end

or using the stack:

  q=queued()
 'df  FIFO'
  do i=1 to queued()-q;
parse pull line
say line
end

[EMAIL PROTECTED] writes:
I am working on rexx/regina.  I want to issue a command, such as 'df'  and
then pull the results and massage them.

'df'
do queued()
   pull line
   /* edit the line */
   say line
end

df results are not put in the stack to be pulled off in this manner.   How
can I accomplish this?


Mark D Pace
Senior Systems Engineer
Mainline Information Systems
1700 Summit Lake Drive
Tallahassee, FL. 32317
[EMAIL PROTECTED]
Office: 850.219.5184
Fax: 850.219.5050
http://www.mainline.com



Re: regina/rexx question

2002-11-14 Thread Sal Torres/SBC Inc.
*** Reply to note of Thu, 14 Nov 2002 13:43:32 -0500 (EST/CDT)
*** by [EMAIL PROTECTED]

Mark,
No problem. With popen you can gain access to many of the shell's
helper programs, such as basename, dirname, test, getopt. For example one
could use getopt (man getopt) to handle unix command line options:

#!/usr/bin/regina
/*-*
 |testgetopt --user id --host node --fname fn --ftype ft --punchÙ fid |
 |  -u id -h node -n fn -t ft -p Ù fid|
 *-*/
 parse arg parms
 /*short options*/
 sgopt='-o u:h:n:t:p'
 /*long options*/
 lgopt='-a -l user:,host:,fname:,ftype:,punch'
 /*name of the program*/
 ngopt='-q -n testgetopt'
 /*call getopt - type man getopt for help*/
 rc=popen('getopt' ngopt sgopt lgopt '--' parms,'gopt.')
 if rc µ=0 then do
   say 'invalid parms'
   signal usage
   end
 else do
   say 'getopt results:' gopt.1
   end
 exit rc
usage:
   say 'testgetopt --user id --host node --fname fn --ftype ft --punchÙ
   say ' -u id -h node -n fn -t ft -pÙ fid'
   exit 1

Post, Mark K [EMAIL PROTECTED] writes:
Sal,

Thanks.  That's about 4 years more current than my documentation.

Mark Post

-Original Message-
From: Sal Torres/SBC Inc. [mailto:cmcgst;a05jes.ameritech.com]
Sent: Thursday, November 14, 2002 1:26 PM
To: [EMAIL PROTECTED]
Subject: Re: regina/rexx question


*** Reply to note of Thu, 14 Nov 2002 12:52:54 -0500 (EST/CDT)
*** by [EMAIL PROTECTED]

You can find the Regina documentation at SourceForce.net:
  http://regina-rexx.sourceforge.net/doc/index.html

popen is documented under the REXX Standard Built-in Functions.

On newer versions of Regina you can use the Address statement:
  Address SYSTEM mypgm WITH INPUT STEM in. OUTPUT STEM out. ,
 ERROR STEM err.

sal

Post, Mark K [EMAIL PROTECTED] writes:
Sal,

One small correction:
 rc=popen('df', list.);
-do i=1 to list.i
+do i=1 to list.0
   say list.i


And one question.  The distribution of Regina I have doesn't document
popen at all.  Do you know where I can find a source that does?

Mark Post

-Original Message-
From: Sal Torres/SBC Inc. [mailto:cmcgst;a05jes.ameritech.com]
Sent: Thursday, November 14, 2002 11:21 AM
To: [EMAIL PROTECTED]
Subject: regina/rexx question


*** Reply to note of Thu, 14 Nov 2002 11:11:24 -0500 (EST/CDT)
*** by [EMAIL PROTECTED]

Mark,

using popen:

 rc=popen('df', list.);
 do i=1 to list.i
   say list.i
   end

or using the stack:

  q=queued()
 'df  FIFO'
  do i=1 to queued()-q;
parse pull line
say line
end

[EMAIL PROTECTED] writes:
I am working on rexx/regina.  I want to issue a command, such as 'df'  and
then pull the results and massage them.

'df'
do queued()
   pull line
   /* edit the line */
   say line
end

df results are not put in the stack to be pulled off in this manner.   How
can I accomplish this?


Mark D Pace
Senior Systems Engineer
Mainline Information Systems
1700 Summit Lake Drive
Tallahassee, FL. 32317
[EMAIL PROTECTED]
Office: 850.219.5184
Fax: 850.219.5050
http://www.mainline.com



FW: Problems loading qeth for a Guest Lan

2002-11-14 Thread Geyer, Thomas L.
THanks to all that responded. The problem was routing.

Thomas L. Geyer
Email:[EMAIL PROTECTED]
Phone:(330) 471-2073
Fax:(330) 471-4034


-Original Message-
From: Alan Altmark [mailto:Alan_Altmark;us.ibm.com]
Sent: Thursday, November 14, 2002 11:36 AM
To: [EMAIL PROTECTED]
Subject: Re: Problems loading qeth for a Guest Lan


On Thursday, 11/14/2002 at 10:57 EST, Geyer, Thomas L.
[EMAIL PROTECTED] wrote:
 I am attempting to setup a Guest Lan on zVM 4.3 on a z800. I have one
Linux
 machine, lnxrtr1, up and running with a CTC connection to the zVM TCPIP
 virtual machine. My goal is to have the lnxrtr1 linux machine act be a
 router for my Guest Lan. I am now trying to get lnxrtr1 to communicate
to
 the Guest Lan. I have defined the LAN as follows:
[snip]
 I have used presentations from Share, presentations from IBM's zVM/zOS
 Technical Conference, IBM's Large Scale Linux Deployment Redbook and the
 Device Drivers and Installation Commands Manual as reference in this
effort.

 If anyone can see what I did wrong please let me know, I have been
fighing
 this for days. Your help is greatly appreciated. I apologize for the
length
 of this email.

Routing, son, routing.  Look carefully at the subnet mask of eth1:

eth1  Link encap:Ethernet  HWaddr 00:00:00:00:00:00
  inet addr:147.185.179.65  Mask:255.255.0.0

All of your real network LAN traffic that was previously being bounced
back through the CTC connection is now flowing into the virtual bit
bucket.  Fix up the subnet mask (255.255.255.128?) and all will be well
(he said hopefully).

Alan Altmark
Sr. Software Engineer
IBM z/VM Development


**
This message and any attachments are intended for the
individual or entity named above. If you are not the intended
recipient, please do not forward, copy, print, use or disclose this
communication to others; also please notify the sender by
replying to this message, and then delete it from your system.

The Timken Company
**



Another frightening emulation trick

2002-11-14 Thread Adam Thornton
Brought to you by Robotussin DM:

http://www.fsf.net/~adam/Mac-on-S390-desktop.png

470k large, so be warned.

Adam



Re: Another frightening emulation trick

2002-11-14 Thread Wolfe, Gordon W
Some people have far too much time on their hands...

If Paradise Lost had been written by a system administrator, it would
have had the sequel 'Paradise Restored from Backup'.

Gordon Wolfe, Ph. D.   (425)865-5940
VM Technical Services, The Boeing Company

 --
 From: Adam Thornton
 Reply To: Linux on 390 Port
 Sent: Thursday, November 14, 2002 3:31 PM
 To:   [EMAIL PROTECTED]
 Subject:  Another frightening emulation trick

 Brought to you by Robotussin DM:

 http://www.fsf.net/~adam/Mac-on-S390-desktop.png

 470k large, so be warned.

 Adam





Re: Another frightening emulation trick

2002-11-14 Thread Adam Thornton
On Thu, Nov 14, 2002 at 03:00:57PM -0800, Wolfe, Gordon W wrote:
 Some people have far too much time on their hands...

Actually, not.

I already had a bootable disk image lying around from when I was playing
with Basilisk on my home system.

So the sum total of the required work was:

Put the disk and the ROM in a directory.  Unpack the Basilisk sources.
From the top level, cd src/Unix; configure; make

Then tweak .basilisk_ii_prefs to reflect the location of the disk and
ROM, and run

./BasiliskII

Took about 10 minutes exclusive of file transfers.

Adam



Re: Another frightening emulation trick

2002-11-14 Thread Rick Troth
 http://www.fsf.net/~adam/Mac-on-S390-desktop.png

Umm...   Am I understanding that correctly?
MacOS on a pseudo-Mac hosted by Linux/390?

 Put the disk and the ROM in a directory.  Unpack the Basilisk sources.
 From the top level, cd src/Unix; configure; make

 Then tweak .basilisk_ii_prefs to reflect the location
 of the disk and ROM, and run

 ./BasiliskII

But of course!
(Would that all apps were so easy!)



Linux for zSeries Informational Seminar

2002-11-14 Thread Rich Smrcina
cross-posted to vse-l, vmesa-l and linux-390, sorry for duplications.

Linux for zSeries Informational Seminar
What applications are companies moving to Linux, and why?

Computer Associates (CA), IBM, DSG,  Sytek Services cordially invites you to
a free half-day joint seminar designed to present the value of consolidating
and exploiting your Data Center.

Who:CA, IBM, DSG,  Sytek Services
When:   Wednesday, November 20, 2002
9:00 am - 1:00 pm (Lunch provided)
Where:  Computer Associates, Inc.
10333 E. Dry Creek Road, Suite 400
Englewood, CO  80112
(303) 706-1717

Agenda:
8:15 am - 9:00 am   Check in (Continental Breakfast Provided)
9:00 am - 9:45 am   Why Consolidate onto Mainframe Linux (IBM)
9:45 am - 10:30 am  Challenges of Managing the Mainframe Linux Environment (CA)
10:30 am - 10:45 am Break
10:45 am - 11:30 am Production Linux Implementation Plan (Sytek Services)
11:30 am - 12:00 pm Success Stories and Demo of Linux on the Mainframe (DSG)
12:00 pm -  1:00 pm Lunch and Q  A

One IBM zSeries  800/900, running multiple images of Linux, can do the job of
hundreds of Sun, HP or Windows NT servers.  Customer data suggests that TCO
advantage can be realized by consolidating as few as 40 Windows NT servers to
the mainframe.

The Economist reported these huge computers can replace entire server farms,
becoming in effect, ready-made data centers...  The interest in Linux on the
mainframe, coupled with a renewed focus on cutting IT costs, has brought the
mainframe front and center as a cost-reducing alternative for an increasing
number of companies. .

This seminar, hosted by CA, IBM, DSG,  Sytek Services, will share with you a
roadmap to get to Mainframe Linux; the configurations that are available; the
comprehensive portfolio of solutions to manage, secure, preserve, and
integrate Linux  VM implementations; and real-world experiences  numbers
of clients implementing Mainframe Linux.

Contact:
To register or for more information, contact:
Assam Alsabih   (303) 643-6113  [EMAIL PROTECTED]
or
Phil Rhodes (360) 715-9848  [EMAIL PROTECTED]

--
Rich Smrcina
Sytek Services, Inc.
Milwaukee, WI
[EMAIL PROTECTED]

Catch the WAVV!  Stay for Requirements and the Free for All!
Update your S/390 skills in 4 days for a very reasonable price.
WAVV 2003 in Winston-Salem, NC.
April 25-29, 2003
For details see http://www.wavv.org



Re: regina/rexx question

2002-11-14 Thread Ross Patterson
At 12:25 11/14/2002 -0600, Sal Torres/SBC Inc. wrote:

You can find the Regina documentation at SourceForce.net:
  http://regina-rexx.sourceforge.net/doc/index.html

popen is documented under the REXX Standard Built-in Functions.


That brings up one of my favorite problems with Regina - the doc lists its
extensions intermingled with the ANSI standard stuff.  So, for example, you
find popen(), chdir(), et al. where Sal says.  Likewise makebuf(),
dropbuf(), etc.  I suppose it's helpful for those who haven't used Rexx on
other platforms or in other implementations, but I expect most Regina users
are former CMS or OS/2 users, so they come with certain expectations based
on Cowlishaw's book.


On newer versions of Regina you can use the Address statement:
  Address SYSTEM mypgm WITH INPUT STEM in. OUTPUT STEM out. ,
 ERROR STEM err.


Amen to that!  I wish it took OUTPUT VAR varname as well, but that's a
minor nit.  When done this way, there's no concern about mangling the
command (as in the mypgm FIFO case, see the Regina doc for what Mike
Cowlishaw would call the corner cases).

Ross Patterson
P.S. We're using Regina a lot under NetBSD at CatchFIRE Systems
(www.catchfs.com), and it's a joy!  None of this shell everything wants to
be a filename with pattern expansion garbage :-)  RAP



Re: regina/rexx question

2002-11-14 Thread Ross Patterson
At 13:35 11/14/2002 -0600, Sal Torres/SBC Inc. wrote:

With popen you can gain access to many of the shell's
helper programs, such as basename, dirname, test, getopt. For example one
could use getopt (man getopt) to handle unix command line options:


Sure, but please be careful!  Regina doesn't have anything like Perl's 
taint mode, so it's quite possible to have your commands do unexpected 
things if you don't check their syntax carefully before issuing them.

For example (not to pick on Sal, but because it's a handy example):

/*-*
 |testgetopt --user id --host node --fname fn --ftype ft --punchÙ fid |
 |  -u id -h node -n fn -t ft -p Ù fid|
 *-*/
 parse arg parms


Type testgetopt \; mail -S Passwords! [EMAIL PROTECTED] /etc/passwd 
and this code:

 /*call getopt - type man getopt for help*/
 rc=popen('getopt' ngopt sgopt lgopt '--' parms,'gopt.')


will execute getopt -q -n testgetopt -o u:h:n:t:p -a -l 
user:,host:,fname:,punch -- ; mail -S Passwords! [EMAIL PROTECTED] 
/etc/passwd.  That's two commands - getopt ... and mail   The 
same thing will happen with ADDRESS SYSTEM, in both cases because the 
process that gets started to execute the command is actually a shell.  The 
alternatives are pretty simple, the best is probably to use ADDRESS PATH at 
all times rather than ADDRESS SYSTEM or POPEN().  That's because ADDRESS 
PATH starts the command itself, not a shell to execute the command.  You 
can also use ADDRESS COMMAND, but then you need to supply the full filename 
of the command to be executed (i.e. ADDRESS COMMAND doesn't use the current 
search path while ADDRESS PATH does).  So the above would read:

Address PATH 'getopt' ngopt sgopt lgopt '--' parms with output stem gopt.

Ross Patterson


Re: /bin/sh is needed by

2002-11-14 Thread Felix Yoyok S. Aditias
Thanks to John  Daniel, installation works fine with --nodeps

:)-Original Message-
:)From: John Summerfield [mailto:summer;computerdatasafe.com.au]
:)Sent: 14 Nopember 2002 15:42
:)To: [EMAIL PROTECTED]
:)Subject: Re: /bin/sh is needed by
:)For some reason the rpm database doesn't have /bin/sh in it.
:)
:)This is one of those times a knowledgable administrator can happily
:)rpm --upgrade --nodeps package-name
:)
:)