Re: porting Unix C code to zOS

2003-06-22 Thread Tom Kane
That's what took it. Thanks to David and Neil. I got it into the source file with a #define ALL_SOURCE I had that in originally, but not at the top. I had it right before my include for time.h Once I put it at the top it worked. And I expect that when I figure out how to change the JCL for the co

Re: porting Unix C code to zOS

2003-06-20 Thread Tom Kane
eat deal at my site. > > For information on compilation and run time library support, look in zOS > V1R4.0 C/C++ Bookshelf (CBCBS130). > > Regards, > > Neil Casey. > > > |-+> > | | Tom Kane |

porting Unix C code to zOS

2003-06-19 Thread Tom Kane
Does anybody do this regularly?I have simple unix command line programs that would be great to run on MVS.  But I can't get past things like 'timeval'. I wanted to be able to time my code and figured it out on HP, Sun and AIX.  But now I'm stumped on MVS. And that's where I started, all those

backoff process for a MQ Unix upgrade (is it possible)

2002-10-22 Thread Tom Kane
Hi,   I'm looking to document a backof process for my 5.2 to 5.3 upgrade plan.  I don't see anything in Quick Beginnings.   I have over 100 queue managers running on Unix that are going to have their own seperate upgrades.  There will be several different SA's removing 5.2 and installing 5.3

5.3 kernel parameters compared to 5.2 (HP)

2002-09-30 Thread Tom Kane
Hi, Has anybody looked at WMQ 5.3 compared to MQ 5.2 on HP?Specifically at the kernel requirements. The first parm in Quick Beginnings is shmmax.  This looks like it went from 4 MEG to 536 MEG.  And I can't find any explanation for this.  The first system that I'm going to try out 5.3 on onl

C++ makefile for HP

2002-09-17 Thread Tom Kane
Does anybody have a good C++ makefile for HP?  With the aCC compiler? I found a post from last year that had an aCC command that turned out would link it. And I also have a makefile that I created that will compile, but call ld to link and that doesn't work.   So, I can manually put them togo

MQMVS:ways to allow people to alter only one queue attribute

2002-09-17 Thread Tom Kane
Hi, Has anybody come up with ways to allow users to modify one attribute of a queue.  For example triggering. I'm not a RACF expert, but looking at the MQADMIN and MQCMDS classes but it doesn't look like you can specify it down to the attribute level.   tia Tom

Re: MQ Client throughput - 2 questions

2002-06-20 Thread Tom Kane
Paul, Sorry it's taken me so long to get back. Too many other issues to look at this one. I tried amqsgetc and got the famous 2080 data truncation error. I'm trying to get another copy compiled with say a 2k buffer. This is the most discussion that I have generated on any question to the list.

MQ Client throughput - 2 questions

2002-06-18 Thread Tom Kane
I have a situation where an MQ Client is being written to take messages off a queue on an hourly basis.  The QMGR is on OS/390 and a CICS application puts messages to a queue based on user interaction.  There can be as many as 7000 (approx 120 byte) messages per hour.   The problem comes in

Re: Re-triggering a process

2002-05-18 Thread Tom Kane
Yes, we have altered the qlocal to notrigger and then back to trigger. To change the question slightly, in my production environment the application generally does NOT have access to alter their own queues. But this is one attribute that I would think they should be able to change. However I don'

Re: Sample Program under UNIX

2002-05-17 Thread Tom Kane
I think it's /opt/mqm/samp/bin (hp and solaris) and /usr/mqm/samp/bin (aix) amqsget will get a message amqsput will put a message DON'T use any of the amqsxxxC programs like amqsgetc or amqsputc unless you are trying to use the MQ Client. It uses client channels and is the samples are very useful

Re: runmqsc on Unix platforms in general

2002-05-17 Thread Tom Kane
When I have had problems under runmqsc with the backspace key, I've also had problems outside of runmqsc. I backspace a LOT. I have a LOT of systems that I get into and find that my terminal emulation doesn't work with the default backspace action. I use stty erase ^? to get my backspace to wo