Shared documents in Samba

2009-11-19 Thread van Sleeuwen, Berry
Hello listers,
 
We have an excel document in a zOS SMB drive that needs to be shared in
write mode. Excel does support opening the document in shared mode,
where multiple users can update the file at the same time (Tools -
share workbook - allow multiple users). However, this can't be done
when it's in a zOS SMB drive. When we open the document in our zOS SBM
drive, we still get a message that the xls is locked. So we now moved
the document into a windows shared drive.
 
But it makes me wonder, can this be done in a SAMBA drive? And
obviously, if so, how can we setup such a feature?
 

Met vriendelijke groet/With kind regards, 
Berry van Sleeuwen 
Flight Forum 3000 5657 EW Eindhoven

( +31 (0)6 22564276





Atos Origin http://www.atosorigin.com/ 

MO CF SC Mainframe Services

 

 

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
image001.gifimage003.jpgÿþDit bericht is vertrouwelijk en kan 
geheime informatie bevatten enkel

bestemd voor de geadresseerde. Indien 
dit bericht niet voor u is bestemd,

verzoeken wij u dit onmiddellijk aan 
ons te melden en het bericht te

vernietigen.

Aangezien de integriteit van het 
bericht niet veilig gesteld is middels

verzending via internet, kan Atos 
Origin niet aansprakelijk worden 
gehouden

voor de inhoud daarvan.

Hoewel wij ons inspannen een virusvrij 
netwerk te hanteren, geven

wij geen enkele garantie dat dit 
bericht virusvrij is, noch aanvaarden 
wij

enige aansprakelijkheid voor de 
mogelijke aanwezigheid van een virus in 
dit

bericht.

 

Op al onze rechtsverhoudingen, 
aanbiedingen en overeenkomsten 
waaronder

Atos Origin goederen en/of diensten 
levert zijn met uitsluiting van alle

andere voorwaarden de 
Leveringsvoorwaarden van Atos Origin 
van toepassing.

Deze worden u op aanvraag direct 
kosteloos toegezonden.

 

This e-mail and the documents attached 
are confidential and intended solely

for the addressee; it may also be 
privileged. If you receive this e-mail

in error, please notify the sender 
immediately and destroy it.

As its integrity cannot be secured on 
the Internet, the Atos Origin group

liability cannot be triggered for the 
message content. Although the

sender endeavours to maintain a 
computer virus-free network, the sender

does not warrant that this transmission 
is virus-free and will not be

liable for any damages resulting from 
any virus transmitted.

 

On all offers and agreements under 
which Atos Origin supplies goods and/or

services of whatever nature, the Terms 
of Delivery from Atos Origin

exclusively apply. 

The Terms of Delivery shall be promptly 
submitted to you on your request.

 

Atos Origin Nederland B.V. / Utrecht

KvK Utrecht 30132762

Re: Shared documents in Samba

2009-11-19 Thread Richard Troth
Berry --

Last I knew, SMB service from z/OS was in fact just SAMBA.  Given that
there would have to be some churn between the latest and greatest
SAMBA and what you have on z/OS, it would be an older and stabler
version.  You might find that a newer release of SAMBA solves your
problem.  A quick Google search for SAMBA and Excel did not teach me
anything, but you may have better results if you are familiar with the
keywords which fit this particular Excel function.

I would be interested to know if z/OS SMB was actually not SAMBA under
the covers.

-- R;   






2009/11/19 van Sleeuwen, Berry berry.vansleeu...@atosorigin.com:
 Hello listers,

 We have an excel document in a zOS SMB drive that needs to be shared in
 write mode. Excel does support opening the document in shared mode,
 where multiple users can update the file at the same time (Tools -
 share workbook - allow multiple users). However, this can't be done
 when it's in a zOS SMB drive. When we open the document in our zOS SBM
 drive, we still get a message that the xls is locked. So we now moved
 the document into a windows shared drive.

 But it makes me wonder, can this be done in a SAMBA drive? And
 obviously, if so, how can we setup such a feature?


 Met vriendelijke groet/With kind regards,
 Berry van Sleeuwen
 Flight Forum 3000 5657 EW Eindhoven

 ( +31 (0)6 22564276





 Atos Origin http://www.atosorigin.com/

 MO CF SC Mainframe Services





 --
 For LINUX-390 subscribe / signoff / archive access instructions,
 send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
 http://www.marist.edu/htbin/wlvindex?LINUX-390


--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Shared documents in Samba

2009-11-19 Thread David Boyes
The zOS port of Samba is ancient enough to not support byte-range  
locking, which modern versions of MS Office use to implement shared  
write.

Your best bet if you want it on Z is a Linux guest with a modern Samba.




On Nov 19, 2009, at 3:10 AM, van Sleeuwen, Berry 
berry.vansleeu...@atosorigin.com 
  wrote:

 Hello listers,

 We have an excel document in a zOS SMB drive that needs to be shared  
 in
 write mode. Excel does support opening the document in shared mode,
 where multiple users can update the file at the same time (Tools -
 share workbook - allow multiple users). However, this can't be done
 when it's in a zOS SMB drive. When we open the document in our zOS SBM
 drive, we still get a message that the xls is locked. So we now moved
 the document into a windows shared drive.

 But it makes me wonder, can this be done in a SAMBA drive? And
 obviously, if so, how can we setup such a feature?


 Met vriendelijke groet/With kind regards,
 Berry van Sleeuwen
 Flight Forum 3000 5657 EW Eindhoven

 ( +31 (0)6 22564276





 Atos Origin http://www.atosorigin.com/

 MO CF SC Mainframe Services





 --
 For LINUX-390 subscribe / signoff / archive access instructions,
 send email to lists...@vm.marist.edu with the message: INFO  
 LINUX-390 or visit
 http://www.marist.edu/htbin/wlvindex?LINUX-390
 image001.gif
 image003.jpg
 disclaimer.txt

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: time oddity - maybe a z/VM question

2009-11-19 Thread Bruce . Lightsey
Currently it is 08:43 CST

br...@taxdbp01:~ date
Thu Nov 19 07:43:17 CST 2009

user MAINT on z/VM shows that it is 08:43





 Stricklin,
 Raymond J
 raymond.j.strick  To
 l...@boeing.com   LINUX-390@VM.MARIST.EDU
 Sent by: Linux on  cc
 390 Port
 linux-...@vm.mar Subject
 IST.EDU  Re: time oddity - maybe a z/VM
   question

 11/18/2009 05:58
 PM


 Please respond to
 Linux on 390 Port
 linux-...@vm.mar
 IST.EDU






'date' reports the current time and date, along with the current time zone.
Does 'date' show MST? Or is it CST, but an hour off?

In the case of the former:

You can set the timezone in Linux (UNIX) on a per-user basis. It's the TZ
environment variable. You may have it set for your user session.

 echo $TZ

If it's blank, you're getting the system default (what appears in YaST),
and I can't account for the difference. If it's set to MST7MDT or whatever,
then you have your answer. The next trick is to figure out where it's being
(re)set from.

Worst case, you can unset TZ for Websphere to pick up the default, or set
it outright to CST6CDT.

If the time zone is correct but the clock is off, something else is wrong.

ok
r.

 -Original Message-
 From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On
 Behalf Of bruce.light...@its.ms.gov
 Sent: Wednesday, November 18, 2009 2:56 PM
 To: LINUX-390@VM.MARIST.EDU
 Subject: time oddity - maybe a z/VM question

 can some one point me toward the setting I need to twiddle
 for getting the time on a linux guest to match the time on the z/VM ?

 hardware clock is set to UTC,
 z/VM shows the correct time for this time zone ( U.S. Central
 Standard ), yast has the correct settings, linux guest is 1
 hour slow - even though yast shows Central time, the time
 being shown is Mountain time.

 wouldn't really bother me but the WebSphere processes expect
 to be pretty closely in sync with the z/OS world that they
 are talking to


 Thanks,

 Bruce

 --
 For LINUX-390 subscribe / signoff / archive access
 instructions, send email to lists...@vm.marist.edu with the
 message: INFO LINUX-390 or visit
 http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: time oddity - maybe a z/VM question

2009-11-19 Thread Martin Schwidefsky
On Thu, 19 Nov 2009 08:48:30 -0600
bruce.light...@its.ms.gov wrote:

 Currently it is 08:43 CST

 br...@taxdbp01:~ date
 Thu Nov 19 07:43:17 CST 2009

 user MAINT on z/VM shows that it is 08:43

Is there an NTP daemon running on that system and if yes what is its
configuration?

--
blue skies,
   Martin.

Reality continues to ruin my life. - Calvin.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


assembler and LINUX

2009-11-19 Thread ghochreiter
Hello !
I am an experienced assembler programmer, BUT I do not have any clue how
to write , assemble  etc. in  LINUX  ,   where do I start   ??   Any help
is appreciated . Thanks Gunter



Email ghochrei...@tsys.com

-
The information contained in this communication (including any
attachments hereto) is confidential and is intended solely for the
personal and confidential use of the individual or entity to whom
it is addressed. If the reader of this message is not the intended
recipient or an agent responsible for delivering it to the intended
recipient, you are hereby notified that you have received this
communication in error and that any review, dissemination, copying,
or unauthorized use of this information, or the taking of any
action in reliance on the contents of this information is strictly
prohibited. If you have received this communication in error,
please notify us immediately by e-mail, and delete the original
message. Thank you

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: assembler and LINUX

2009-11-19 Thread Jack Woehr

ghochrei...@tsys.com wrote:

I am an experienced assembler programmer, BUT I do not have any clue how
to write , assemble  etc. in  LINUX  ,   where do I start   ??   Any help
is appreciated . Thanks Gunter
  

The sources for the kernel and libc have extensive bodies in assembler.

The assembler is called 'as' (traditional Unix assembler name) or 'gas' 
(for 'GNU assembler).


Brief hi-performance or specialty routines that can be coded in assembly 
files or, if brief enough,

inline right in your C source

GNU C is the lowest-level language commonly used for Linux programming 
off-z. Your needs

may be different than the world at large.

--
Jack J. Woehr# «'I know what it means well enough, when I find
http://www.well.com/~jax # a thing,' said the Duck: 'it's generally a frog or
http://www.softwoehr.com # a worm.'» - Lewis Carroll, _Alice in Wonderland_

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: assembler and LINUX

2009-11-19 Thread McKown, John
 -Original Message-
 From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On 
 Behalf Of ghochrei...@tsys.com
 Sent: Thursday, November 19, 2009 10:14 AM
 To: LINUX-390@VM.MARIST.EDU
 Subject: assembler and LINUX
 
 Hello !
 I am an experienced assembler programmer, BUT I do not have 
 any clue how
 to write , assemble  etc. in  LINUX  ,   where do I start   
 ??   Any help
 is appreciated . Thanks Gunter

The simpliest way is to get HLASM for z/Linux. Or Systems/ASM from Dignus 
http://dignus.com/dasm/ . Or Tachyon z/Assembler from Tachyon 
http://www.tachyonsoft.com/txaover.html . 

Or do you mean using the freebie assembler that comes with Linux? shudder I 
wouldn't even try. Just embed your assembler code inside C code as needed.

--
John McKown 
Systems Engineer IV
IT

Administrative Services Group

HealthMarkets(r)

9151 Boulevard 26 * N. Richland Hills * TX 76010
(817) 255-3225 phone * (817)-961-6183 cell
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

 

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: assembler and LINUX

2009-11-19 Thread Richard J Moore
There are books on Linux assembler programming,  for example: Linux
Assembly Language Programming by Bob Nevlen. However this book and similar
ones assume you're on x86. So you need to adapt what you're reading. Having
said that, most assembly code is written by dropping into in-line assembler
in gcc c-code - and I warn you the syntax is taxing. Info gcc will get you
going.
Another possibility is to use nasm (or yasm) - now I'm not sure whether
this is ported to s390. It's certainly a native assembler for x86 and based
in look and feel on MS masm.

And don't forget gas - the gnu assembler.

All of these suggestions are based on my experience with x86 assembler
programming. For s/390 I don't assemble under Linux. I use HLASM under CMS.

The may be other preferred tools for native Linux 390 assembly programming.

Richard

- -
Richard J Moore - FIET, FBCS, CEng, CITP
IBM z/VM CP Development
Member of the IBM Academy of Technology
http://www-03.ibm.com/ibm/academy/index.html

MOBEX: 37264807; Mobile (+44) (0)7739-875237
Office: (+44) (0)1962-817072

Linux on 390 Port LINUX-390@VM.MARIST.EDU wrote on 19/11/2009 16:13:33:

 From:

 ghochrei...@tsys.com

 To:

 LINUX-390@VM.MARIST.EDU

 Date:

 19/11/2009 16:31

 Subject:

 assembler and LINUX

 Hello !
 I am an experienced assembler programmer, BUT I do not have any clue how
 to write , assemble  etc. in  LINUX  ,   where do I start   ??   Any help
 is appreciated . Thanks Gunter



 Email ghochrei...@tsys.com

 -
 The information contained in this communication (including any
 attachments hereto) is confidential and is intended solely for the
 personal and confidential use of the individual or entity to whom
 it is addressed. If the reader of this message is not the intended
 recipient or an agent responsible for delivering it to the intended
 recipient, you are hereby notified that you have received this
 communication in error and that any review, dissemination, copying,
 or unauthorized use of this information, or the taking of any
 action in reliance on the contents of this information is strictly
 prohibited. If you have received this communication in error,
 please notify us immediately by e-mail, and delete the original
 message. Thank you

 --
 For LINUX-390 subscribe / signoff / archive access instructions,
 send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
visit
 http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: SLES 10 SP3, LPAR installation, Expert Partitioner, Start End info

2009-11-19 Thread Mark Post
 On 11/19/2009 at 12:06 AM, Kowalski, Steve S
steve.kowal...@standardbank.co.za wrote: 
 Hello,
 I have a problem with the initial installation of the SLES 10 SP3, LPAR
 installation, Expert Partitioner.
 I am using two 6.8 GB DASD.
 Both are formatted at the same time.
 The Expert Partitioner shows different characteristics for each device .
 For /dev/dasda/: Start 0 End 10016 
 For /dev/dasdb/: Start 0 End 275 366 369

Sounds like a bug in Partitioner.  If you have a support contract with anyone, 
please open up a problem report.


Mark Post

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: time oddity - maybe a z/VM question

2009-11-19 Thread Mark Post
 On 11/18/2009 at  5:56 PM, bruce.light...@its.ms.gov wrote: 
 can some one point me toward the setting I need to twiddle for getting the
 time on a linux guest to match the time on the z/VM ?

Do you have the most current version of the timezone package installed?  With 
all the games various governments play, it can be important to keep up.  Also, 
make sure the md5sum of /etc/localtime matches what is in 
/usr/share/zoneinfo/posix/US/Central (Assuming you selected Central during the 
install).


Mark Post

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Shared documents in Samba

2009-11-19 Thread Mark Post
 On 11/19/2009 at  6:52 AM, Richard Troth vmcow...@gmail.com wrote: 
-snip-
 I would be interested to know if z/OS SMB was actually not SAMBA under
 the covers.

IBM's SMB server for USS is not and never has been based on Samba, 
unfortunately.  It would have worked much better if it had been.  :(  (I still 
remember the pain involved with some of the PMRs I opened against it.


Mark Post

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


SIGILL problem on s390x

2009-11-19 Thread rui
Hi all,

This is my first message to this list and I am having a strange problem on
s390x system.

uname -a
Linux suse9 2.6.5-7.97-s390x #1 SMP Fri Jul 2 14:21:59 UTC 2004 s390x s390x
s390x GNU/Linux

I am building my software on this system with these compiler/linker options
as 32bit build.
CC=g++ -m31

COPTS_LINUX_OS390=-L. -Wall -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE
-D_THREAD_SAFE -D_REENTRANT -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED
-D_POSIX_C_SOURCE=199506L

LOPTS_LINUX_OS390=-L. -Wall -lpthread -lm -lnsl -lrt -ldl -lcrypt
-L/usr/X11R6/lib

The build is fine but when I execute my software and for a certain operation
i receive SIGILL, which I don't seem to understand -- it happens at a start
of a c++ based constructor in which the only difference from the rest of the
application is that stl is used.

I can't seem to get to the bottom of this, are there any compile/link flags,
which I am not using correctly or is there something else.

The code is built as 32bit  on hp, solaris, suse linux and redhat linux
without any problem and works fine, even on 64 bit version of redhat linux.

Can anybody help me out with this, please?

Regards,
Raja

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: assembler and LINUX

2009-11-19 Thread David Boyes
1) Avoid assembler. Assembler is rarely used in Linux for anything other than 
low-level kernel and device driver development. Use C wherever possible -- it 
makes your applications the most portable. 

2) Read The Unix Programming Environment by Kernigan and Plauger. It will 
help you understand the basic development environment that is ubiquitous in the 
Unix/Linux world. 

3) Find an old PC and install the distribution you want to use on it. Use that 
to experiment with the environment. 

4) Repeat 3 until happy. 

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: SIGILL problem on s390x

2009-11-19 Thread Mark Post
 On 11/19/2009 at 12:54 PM, rui guidevelo...@gmail.com wrote: 
-snip-
 Can anybody help me out with this, please?

This is just a wild guess on my part, but it sounds as though the compiler is 
generating instructions for a newer hardware generation than what you're 
running on.  So, you might want to add a march= parameter to your compile and 
see if that helps.


Mark Post

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: SIGILL problem on s390x

2009-11-19 Thread rui
Hi Mark,

Thanks for the input, I just checked the options available for g++ in
http://gcc.gnu.org/onlinedocs/gcc/S_002f390-and-zSeries-Options.html

What option should i use, I think by default it would be using g5 as it 32
bit, can you please confirm?

-march=cpu-typeGenerate code that will run on cpu-type, which is the name of
a system representing a certain processor type. Possible values for
cpu-type are
`g5', `g6', `z900', `z990', `z9-109', `z9-ec' and `z10'. When generating
code using the instructions available on z/Architecture, the default is
-march=z900. Otherwise, the default is -march=g5.
Regards,
Raja

On Thu, Nov 19, 2009 at 6:11 PM, Mark Post mp...@novell.com wrote:

  On 11/19/2009 at 12:54 PM, rui guidevelo...@gmail.com wrote:
 -snip-
  Can anybody help me out with this, please?

 This is just a wild guess on my part, but it sounds as though the compiler
 is generating instructions for a newer hardware generation than what you're
 running on.  So, you might want to add a march= parameter to your compile
 and see if that helps.


 Mark Post

 --
 For LINUX-390 subscribe / signoff / archive access instructions,
 send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
 visit
 http://www.marist.edu/htbin/wlvindex?LINUX-390


--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: SIGILL problem on s390x

2009-11-19 Thread Neale Ferguson
Just use -m31 on the gcc command line.


On 11/19/09 1:23 PM, rui guidevelo...@gmail.com wrote:

 Hi Mark,

 Thanks for the input, I just checked the options available for g++ in
 http://gcc.gnu.org/onlinedocs/gcc/S_002f390-and-zSeries-Options.html

 What option should i use, I think by default it would be using g5 as it 32
 bit, can you please confirm?

 -march=cpu-typeGenerate code that will run on cpu-type, which is the name of
 a system representing a certain processor type. Possible values for
 cpu-type are
 `g5', `g6', `z900', `z990', `z9-109', `z9-ec' and `z10'. When generating
 code using the instructions available on z/Architecture, the default is
 -march=z900. Otherwise, the default is -march=g5.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: SIGILL problem on s390x

2009-11-19 Thread rui
Hi Neale,

I am using -m31 already. CC=g++ -m31

Regards,
Raja

On Thu, Nov 19, 2009 at 6:26 PM, Neale Ferguson ne...@sinenomine.netwrote:

 Just use -m31 on the gcc command line.


 On 11/19/09 1:23 PM, rui guidevelo...@gmail.com wrote:

  Hi Mark,
 
  Thanks for the input, I just checked the options available for g++ in
  http://gcc.gnu.org/onlinedocs/gcc/S_002f390-and-zSeries-Options.html
 
  What option should i use, I think by default it would be using g5 as it
 32
  bit, can you please confirm?
 
  -march=cpu-typeGenerate code that will run on cpu-type, which is the name
 of
  a system representing a certain processor type. Possible values for
  cpu-type are
  `g5', `g6', `z900', `z990', `z9-109', `z9-ec' and `z10'. When generating
  code using the instructions available on z/Architecture, the default is
  -march=z900. Otherwise, the default is -march=g5.

 --
 For LINUX-390 subscribe / signoff / archive access instructions,
 send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
 visit
 http://www.marist.edu/htbin/wlvindex?LINUX-390


--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: SIGILL problem on s390x

2009-11-19 Thread Mark Post
 On 11/19/2009 at  1:26 PM, Neale Ferguson ne...@sinenomine.net wrote: 
 Just use -m31 on the gcc command line.

He already is doing that.


Mark Post

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: assembler and LINUX

2009-11-19 Thread Thomas David Rivers

 Hello !
 I am an experienced assembler programmer, BUT I do not have any clue how
 to write , assemble  etc. in  LINUX  ,   where do I start   ??   Any help
 is appreciated . Thanks Gunter



 Email ghochrei...@tsys.com


 You can use Systems/ASM to generate Linux programs in HLASM-style
 syntax.

 Systems/ASM generates native ELF-format files with little-to-no-change
 in the HLASM syntax, allowing one to port z/OS programs to z/Linux.

 You can also debug those programs with the GNU debugger available
 on z/Linux.

 See http://www.dignus.com/dasm/ for more info.   In particular, you
 may want grab the documentation and see the chapter on writing
 Linux programs.

- Dave Rivers -

--
riv...@dignus.comWork: (919) 676-0847
Get your mainframe programming tools at http://www.dignus.com

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: assembler and LINUX

2009-11-19 Thread Patrick Spinler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Thomas David Rivers wrote:
 Hello !
 I am an experienced assembler programmer, BUT I do not have any clue how
 to write , assemble  etc. in  LINUX  ,   where do I start   ??   Any help
 is appreciated . Thanks Gunter


gas, part of the gnu compiler suite, is the standard supported assembler
on (most? all?) linuxes.

As other posters mentioned, though, programming in assembly is
incredibly rare, and only done in very specific niches.  Otherwise, at
least program in c, if not something higher.

If you're very experienced in assembler, transitioning to c will be
relatively painless.  Many of the issues that people have a hard time
wrapping their technique around, such as pointers and memory
(de)allocation, are very familiar to assembly coders.

- -- Pat

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAksFomIACgkQNObCqA8uBswsGACfc5x2sviHZjwvYuv32jJWkPsB
Q3cAoJYRQLwAitJdPV3vFezDTngxDaKU
=fgQY
-END PGP SIGNATURE-

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Shared documents in Samba

2009-11-19 Thread Aria Bamdad
We do this with SAMBA on Linux so it can be done.  I am not familiar with
the zOS SMB but in SAMBA, there are configuration settings for types of
supported locking on a share.  You may want to check this on your server.

Aria

 -Original Message-
 From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of
 van Sleeuwen, Berry
 Sent: Thursday, November 19, 2009 3:10 AM
 To: LINUX-390@VM.MARIST.EDU
 Subject: Shared documents in Samba

 Hello listers,

 We have an excel document in a zOS SMB drive that needs to be shared in
 write mode. Excel does support opening the document in shared mode,
 where multiple users can update the file at the same time (Tools -
 share workbook - allow multiple users). However, this can't be done
 when it's in a zOS SMB drive. When we open the document in our zOS SBM
 drive, we still get a message that the xls is locked. So we now moved
 the document into a windows shared drive.

 But it makes me wonder, can this be done in a SAMBA drive? And
 obviously, if so, how can we setup such a feature?


 Met vriendelijke groet/With kind regards,
 Berry van Sleeuwen
 Flight Forum 3000 5657 EW Eindhoven

 ( +31 (0)6 22564276





 Atos Origin http://www.atosorigin.com/

 MO CF SC Mainframe Services





 --
 For LINUX-390 subscribe / signoff / archive access instructions,
 send email to lists...@vm.marist.edu with the message: INFO LINUX-390
 or visit
 http://www.marist.edu/htbin/wlvindex?LINUX-390


--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: assembler and LINUX

2009-11-19 Thread Chase, John
 -Original Message-
 From: Linux on 390 Port On Behalf Of David Boyes
 
 [ snip ]
 
 3) Find an old PC and install the distribution you want to use on it.
Use that to experiment with the
 environment.

At today's prices, probably better to just build a new one.

-jc-

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Open Office

2009-11-19 Thread Mark Post
 On 11/13/2009 at  3:35 PM, Shockley, Gerard C gsh...@bu.edu wrote: 
-snip-
 Send me an account for linuxvm.org and I will post the work in
 progress.

I don't have the ability to create accounts on the z/VM system that hosts the 
web site.  If you meant the Wiki, you can just create your own account there.


Mark

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: assembler and LINUX

2009-11-19 Thread Richard Gasiorowski
My guess is you speak of s390 assembler which gas is not. It is more
like UNIX assembler.  A good starting point for you to go to and see if
you REALLY want to venture into this
http://en.wikipedia.org/wiki/Assembly_language

I think you will agree that it lacks the versatility of BAL s390.

Richard (Gaz) Gasiorowski
Global System z Linux Virutalization and Mainframce Services Product
Manager
Americas RPE Portfolio Platform Services
CSC
3170 Fairview Park Dr., Falls Church, VA 22042
845-889-8533|Work|845-392-7889 Cell|rgasi...@csc.com|www.csc.com




This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery.
NOTE: Regardless of content, this e-mail shall not operate to bind CSC to
any order or other contract unless pursuant to explicit written agreement
or government initiative expressly permitting the use of e-mail for such
purpose.



From:
Patrick Spinler spinler.patr...@mayo.edu
To:
LINUX-390@VM.MARIST.EDU
Date:
11/19/2009 02:55 PM
Subject:
Re: assembler and LINUX



-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Thomas David Rivers wrote:
 Hello !
 I am an experienced assembler programmer, BUT I do not have any clue
how
 to write , assemble  etc. in  LINUX  ,   where do I start   ??   Any
help
 is appreciated . Thanks Gunter


gas, part of the gnu compiler suite, is the standard supported assembler
on (most? all?) linuxes.

As other posters mentioned, though, programming in assembly is
incredibly rare, and only done in very specific niches.  Otherwise, at
least program in c, if not something higher.

If you're very experienced in assembler, transitioning to c will be
relatively painless.  Many of the issues that people have a hard time
wrapping their technique around, such as pointers and memory
(de)allocation, are very familiar to assembly coders.

- -- Pat

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAksFomIACgkQNObCqA8uBswsGACfc5x2sviHZjwvYuv32jJWkPsB
Q3cAoJYRQLwAitJdPV3vFezDTngxDaKU
=fgQY
-END PGP SIGNATURE-

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390



--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: time oddity - maybe a z/VM question

2009-11-19 Thread Bruce . Lightsey
mystery solved - idiot at the keyboard !

VM lpar is set to EASTERN time, we are in Central time, STCK is GMT ( UST ?
).  Dunno how it got botched, but it does explain how several dozen z/VM
linux guests all agree that the time is 1 hour off. IPL time for the VM
lpar !


Thanks for the input from all,

Bruce




 Mark Post
 mp...@novell.com
   To
 Sent by: Linux on LINUX-390@VM.MARIST.EDU
 390 Port   cc
 linux-...@vm.mar
 IST.EDU  Subject
   Re: time oddity - maybe a z/VM
   question
 11/19/2009 11:29
 AM


 Please respond to
 Linux on 390 Port
 linux-...@vm.mar
 IST.EDU






 On 11/18/2009 at  5:56 PM, bruce.light...@its.ms.gov wrote:
 can some one point me toward the setting I need to twiddle for getting
the
 time on a linux guest to match the time on the z/VM ?

Do you have the most current version of the timezone package installed?
With all the games various governments play, it can be important to keep
up.  Also, make sure the md5sum of /etc/localtime matches what is in
/usr/share/zoneinfo/posix/US/Central (Assuming you selected Central during
the install).


Mark Post

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: assembler and LINUX

2009-11-19 Thread Richard J Moore
 If you're very experienced in assembler, transitioning to c will be
 relatively painless.

I'd much rather write in asm any day. C drives me mad. As for c++ that -
shoot me now . I understand why old mainframe hacks would rather use asm.
The instruction set is pretty high-level compared with many. And when
you've coded in horizontal microcode mainframe asm is near as damn it
COBOL.

:-)

Richard


- -
Richard J Moore - FIET, FBCS, CEng, CITP
IBM z/VM CP Development
Member of the IBM Academy of Technology
http://www-03.ibm.com/ibm/academy/index.html

MOBEX: 37264807; Mobile (+44) (0)7739-875237
Office: (+44) (0)1962-817072

Linux on 390 Port LINUX-390@VM.MARIST.EDU wrote on 19/11/2009 19:54:10:

 From:

 Patrick Spinler spinler.patr...@mayo.edu

 To:

 LINUX-390@VM.MARIST.EDU

 Date:

 19/11/2009 19:55

 Subject:

 Re: assembler and LINUX

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Thomas David Rivers wrote:
  Hello !
  I am an experienced assembler programmer, BUT I do not have any clue
how
  to write , assemble  etc. in  LINUX  ,   where do I start   ??   Any
help
  is appreciated . Thanks Gunter
 

 gas, part of the gnu compiler suite, is the standard supported assembler
 on (most? all?) linuxes.

 As other posters mentioned, though, programming in assembly is
 incredibly rare, and only done in very specific niches.  Otherwise, at
 least program in c, if not something higher.

 If you're very experienced in assembler, transitioning to c will be
 relatively painless.  Many of the issues that people have a hard time
 wrapping their technique around, such as pointers and memory
 (de)allocation, are very familiar to assembly coders.

 - -- Pat

 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.9 (Darwin)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

 iEYEARECAAYFAksFomIACgkQNObCqA8uBswsGACfc5x2sviHZjwvYuv32jJWkPsB
 Q3cAoJYRQLwAitJdPV3vFezDTngxDaKU
 =fgQY
 -END PGP SIGNATURE-

 --
 For LINUX-390 subscribe / signoff / archive access instructions,
 send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
visit
 http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: assembler and LINUX

2009-11-19 Thread John Summerfield

Chase, John wrote:

-Original Message-
From: Linux on 390 Port On Behalf Of David Boyes

[ snip ]

3) Find an old PC and install the distribution you want to use on it.

Use that to experiment with the

environment.


At today's prices, probably better to just build a new one.


++
I was researching the wares on offer at one of the local PC shops, this
one going under the hammer. I finished up not going, but on offer was an
intel mobo with preattached Atom processor. Normally retails here for
just over the $AU100. Add 2GB DDR2 RAM, a (special) case, a disk (laptop
disk?) and Bob's your uncle.

CPU power consumption? This is the greedy one of the Atom line at 8W.
Not 80, just 8. Thinks no fan, green-friendly, reasonable performance.
Probably would run Hercules well enough for small-scale zAssembly work.




--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: SIGILL problem on s390x

2009-11-19 Thread John Summerfield

rui wrote:

Hi all,

This is my first message to this list and I am having a strange problem on
s390x system.

uname -a
Linux suse9 2.6.5-7.97-s390x #1 SMP Fri Jul 2 14:21:59 UTC 2004 s390x s390x
s390x GNU/Linux

I am building my software on this system with these compiler/linker options
as 32bit build.
CC=g++ -m31

COPTS_LINUX_OS390=-L. -Wall -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE
-D_THREAD_SAFE -D_REENTRANT -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED
-D_POSIX_C_SOURCE=199506L

LOPTS_LINUX_OS390=-L. -Wall -lpthread -lm -lnsl -lrt -ldl -lcrypt
-L/usr/X11R6/lib

The build is fine but when I execute my software and for a certain operation
i receive SIGILL, which I don't seem to understand -- it happens at a start
of a c++ based constructor in which the only difference from the rest of the
application is that stl is used.

I can't seem to get to the bottom of this, are there any compile/link flags,
which I am not using correctly or is there something else.

The code is built as 32bit  on hp, solaris, suse linux and redhat linux
without any problem and works fine, even on 64 bit version of redhat linux.

Can anybody help me out with this, please?


What model of CPU are you using?
cat /proc/cpuinfo

Can you use gdb to find just what the instruction is that it's failing
on and post the hex code to the list?

Just for giggles (and if you have the time), fire up Hercules on a PC
and try on that. I don't think that you can actually choose the CPU it
emulates (I've not used it for some time, I used to specify model=3168
and that ran Linux just fine), but it's a different processor.




--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Shared documents in Samba

2009-11-19 Thread John Summerfield

Richard Troth wrote:

Berry --

Last I knew, SMB service from z/OS was in fact just SAMBA.  Given that
there would have to be some churn between the latest and greatest
SAMBA and what you have on z/OS, it would be an older and stabler
version.  You might find that a newer release of SAMBA solves your
problem.  A quick Google search for SAMBA and Excel did not teach me
anything, but you may have better results if you are familiar with the
keywords which fit this particular Excel function.

I would be interested to know if z/OS SMB was actually not SAMBA under
the covers.


When last I was an OS/390 user, there was a job running called
lanserver which I assumed was ported from OS/2. I got involved because
the folk near where I worked wanted to transfer data from Windows NT to
OS/390 and filesharing, they said, was dog-slow. I didn't put that to
the test, I just something else. The standard ftp client. Pushed the
OS/390 ftpd over a couple of times before I found how to specify MVS
filenames from the Windows client.

I think Samba then was around 1.4, I looked at it on OS/2, mainly so I
could provide information in my OS/2 pages. It wasn't until later I
switched to Linux.


--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390