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 image001.gifimage003.jpgÿþD i t b e r i c h t i s v e r t r o u w e l i j k e n k a n g e h e i m e i n f o r m a t i e b e v a t t e n e n k e l b e s t e m d v o o r d e g e a d r e s s e e r d e . I n d i e n d i t b e r i c h t n i e t v o o r u i s b e s t e m d , v e r z o e k e n w i j u d i t o n m i d d e l l i j k a a n o n s t e m e l d e n e n h e t b e r i c h t t e v e r n i e t i g e n . A a n g e z i e n d e i n t e g r i t e i t v a n h e t b e r i c h t n i e t v e i l i g g e s t e l d i s m i d d e l s v e r z e n d i n g v i a i n t e r n e t , k a n A t o s O r i g i n n i e t a a n s p r a k e l i j k w o r d e n g e h o u d e n v o o r d e i n h o u d d a a r v a n . H o e w e l w i j o n s i n s p a n n e n e e n v i r u s v r i j n e t w e r k t e h a n t e r e n , g e v e n w i j g e e n e n k e l e g a r a n t i e d a t d i t b e r i c h t v i r u s v r i j i s , n o c h a a n v a a r d e n w i j e n i g e a a n s p r a k e l i j k h e i d v o o r d e m o g e l i j k e a a n w e z i g h e i d v a n e e n v i r u s i n d i t b e r i c h t . O p a l o n z e r e c h t s v e r h o u d i n g e n , a a n b i e d i n g e n e n o v e r e e n k o m s t e n w a a r o n d e r A t o s O r i g i n g o e d e r e n e n / o f d i e n s t e n l e v e r t z i j n m e t u i t s l u i t i n g v a n a l l e a n d e r e v o o r w a a r d e n d e L e v e r i n g s v o o r w a a r d e n v a n A t o s O r i g i n v a n t o e p a s s i n g . D e z e w o r d e n u o p a a n v r a a g d i r e c t k o s t e l o o s t o e g e z o n d e n . T h i s e - m a i l a n d t h e d o c u m e n t s a t t a c h e d a r e c o n f i d e n t i a l a n d i n t e n d e d s o l e l y f o r t h e a d d r e s s e e ; i t m a y a l s o b e p r i v i l e g e d . I f y o u r e c e i v e t h i s e - m a i l i n e r r o r , p l e a s e n o t i f y t h e s e n d e r i m m e d i a t e l y a n d d e s t r o y i t . A s i t s i n t e g r i t y c a n n o t b e s e c u r e d o n t h e I n t e r n e t , t h e A t o s O r i g i n g r o u p l i a b i l i t y c a n n o t b e t r i g g e r e d f o r t h e m e s s a g e c o n t e n t . A l t h o u g h t h e s e n d e r e n d e a v o u r s t o m a i n t a i n a c o m p u t e r v i r u s - f r e e n e t w o r k , t h e s e n d e r d o e s n o t w a r r a n t t h a t t h i s t r a n s m i s s i o n i s v i r u s - f r e e a n d w i l l n o t b e l i a b l e f o r a n y d a m a g e s r e s u l t i n g f r o m a n y v i r u s t r a n s m i t t e d . O n a l l o f f e r s a n d a g r e e m e n t s u n d e r w h i c h A t o s O r i g i n s u p p l i e s g o o d s a n d / o r s e r v i c e s o f w h a t e v e r n a t u r e , t h e T e r m s o f D e l i v e r y f r o m A t o s O r i g i n e x c l u s i v e l y a p p l y . T h e T e r m s o f D e l i v e r y s h a l l b e p r o m p t l y s u b m i t t e d t o y o u o n y o u r r e q u e s t . A t o s O r i g i n N e d e r l a n d B . V . / U t r e c h t K v K U t r e c h t 3 0 1 3 2 7 6 2
Re: Shared documents in Samba
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
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
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
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
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
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
-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
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
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
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
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
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
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
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
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
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
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
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
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
-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
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
-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
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
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
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
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
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
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
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