Re: a C language question....
Well, this code compiles perfectly under SuSE Linux 9, so I think that the compiler is telling you it cannot find any function named getaddrinfo(). Make sure you have the correct MACLIBS or whatever the C compiler uses set up. Come to think of it, what C compiler are you using under VM? Is it a freebie? :) -Paul -Original Message- From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Dave Jones Sent: Tuesday, January 23, 2007 6:11 PM To: IBMVM@LISTSERV.UARK.EDU Subject: a C language question I know that this is the z/VM forum, but I have a question about compiling a C program on CMS, so I'm hoping someone here might know the answer. I've written a short C test program that invokes the new getaddrinfo C library function. However, the z/VM C/C++ compiler complains with the following error message when I attempt to compile my test program: #define _OPEN_SYS_SOCK_IPV6 #include netdb.h #include sys/socket.h #include stdio.h #include errno.h #include stdlib.h #include string.h struct addrinfo hints, *res, *res0; int main(int argc, char *argv ) { int error; int s; char *name = www.cacert.org; char *port = 80; const char *cause = NULL; memset(hints, 0, sizeof(hints)); hints.ai_family = PF_UNSPEC; hints.ai_socktype = SOCK_STREAM; error = getaddrinfo(name, port, hints, res0); ...a.. = a - CCN3023 Expecting function or pointer to function. Can anyone tell me what I'm doing wrong (besides the obvious fact that I am reduced to using C as a programming language, which has to be one of the worst tools ever devised..the use of C has set back good software development by 20 years, imho.) Thanks for any help and have a good one. DJ
Re: IBM sues PSI
I don't think they will ever target Hercules, even if someone puts out a commercial product with it. Does anyone know what PSI is using under the covers? A horrid thought just occurred to me that it might BE Hercules. -Paul -Original Message- From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of McKown, John Sent: Tuesday, December 05, 2006 2:08 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: IBM sues PSI -Original Message- From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Edward M. Martin Sent: Tuesday, December 05, 2006 2:04 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: IBM sues PSI Very Interesting article. Sounds like the Hercules War is still going on. Ed Martin But Hercules is definitely targeted to hobbyists. PSI is attempting to target businesses. That is likely (IMO) why IBM does not sue any of the Hercules developers. Although I guess that they could. I hope not because I use Hercules to learn Linux on zSeries. -- John McKown Senior Systems Programmer HealthMarkets Keeping the Promise of Affordable Coverage Administrative Services Group Information Technology This message (including any attachments) contains confidential information intended for a specific individual and purpose, and its content is protected by law. If you are not the intended recipient, you should delete this message and are hereby notified that any disclosure, copying, or distribution of this transmission, or taking any action based on it, is strictly prohibited.
Re: Another long slow decline.
Laugh back at them - how much do you pay per month in z/OS licensing? :) z/VM is a OTC (One Time Charge in this case) product, listing at something like $40K per IFL. Linux from SuSE has a $5K per year support/subscription cost, and if you don't pay the sub,you can still use the product. HLASM from Dave Rivers is *amazingly* affordable. We could probably be coerced into licensing some software. :) All in all, the reason we went this route in the first place was simply the licensing costs for z/OS and CICS. The only significant costs we have are hardware maintenance, and those are roughly equivalent to the same costs on PCs or RS6000, or even iSeries machines. On the other hand, we have had exactly 20 minutes of downtime in over three years, and that was caused by a service element. Go figure... We needed an interactive environment that would allow us to port green screen apps, do web apps, client server, and so on. The development environment we use is incredibly productive for Assembler too - easily comparable with a COBOL or Java shop. Seriously. If you are anywhere near Austin, come visit. -Paul - Original Message - From: McKown, John [EMAIL PROTECTED] To: IBMVM@LISTSERV.UARK.EDU Sent: Wednesday, November 08, 2006 7:46 AM Subject: Re: Another long slow decline. -Original Message- From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of P. Raulerson Sent: Tuesday, November 07, 2006 8:12 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Another long slow decline. Yep, I mean Linux Assembler application code driving 3270 client screens really really fast. Yes, not just assembler, but HLASM (the GOOD stuff!) running in a Linux guest. Doing all sorts of neat things, like printing, talking over the network, process control, and a whole bunch more. With an Assembler Debugger that is hands down the best Assembler development tool anyone could imagine. :) VSAM? Well- we call it GSAM because the guy who wrote it in a couple weeks is named George. Why not? It is very very fast, and does not have the overhead of a DBRMS. It handles things like variable length records and so forth, and embeds the indexes in the same physical file as the data. (Makes it very easy to move things around.) We had to write file sharing and locking, but that was not overly onerous. And did I mention this stuff runs FAST? REAL FAST? -Paul grin Man, that is a dream-come-true. But we are on the Commercial, Off-the-Shelf Software bandwagon now. Management here would likely die laughing if we suggested such an environment. Too expensive! (their mantra) Takes too long to implement! And so on as to why it is impossible. Well, the HLASM part is definately impossible around here. I have enough problems helping the programmers with COBOL questions. Oh, and the problems are not on my end. And the answers are in the COBOL manuals. They just don't have time to read it. -- John McKown Senior Systems Programmer HealthMarkets Keeping the Promise of Affordable Coverage Administrative Services Group Information Technology This message (including any attachments) contains confidential information intended for a specific individual and purpose, and its content is protected by law. If you are not the intended recipient, you should delete this message and are hereby notified that any disclosure, copying, or distribution of this transmission, or taking any action based on it, is strictly prohibited.
Re: Another long slow decline.
HLASM from IBM is available for z/Linux, and it works very well. Dave Bond sells the Tachyon Assembler, it runs on z/Linux, and also works very well. We are using the Systems/ASM that Dave Rivers sells, and are very happy with it. That's THREE HLASM products that run under z/Linux. :) We had to build a debugger we liked, since we tend to use the debugger during development much more than other shops do. That's partly because we can compile and link a few thousand line programs in two or three seconds, and partly just because that is the way we like to work. Naturally, it is written in assembler - we just captured the signals and linked the debugger in to the applications as a default. Takes a tiny bit more RAM, but since it is self contained, it doesn't affect base register space or anything like that. We are in North Austin. Not all that far away. ;) Thanks for the info on z/VM 5.2 pricing - I was unaware the list pricing had been reduced. -Paul - Original Message - From: Dave Jones [EMAIL PROTECTED] To: IBMVM@LISTSERV.UARK.EDU Sent: Wednesday, November 08, 2006 12:28 PM Subject: Re: Another long slow decline. Hi, Paul. P. Raulerson wrote: z/VM is a OTC (One Time Charge in this case) product, listing at something like $40K per IFL. Actually, z/VM 5.2 is now priced at $22,500 (OTC) for one IFL engine. As the number of engines licensed increases,the charge per engine decreases. I have a document here that explains z/VM pricing in more detail, with examples, if anyone would like a copy. Linux from SuSE has a $5K per year support/subscription cost, and if you don't pay the sub,you can still use the product. HLASM from Dave Rivers is *amazingly* affordable. We could probably be coerced into licensing some software. :) I thought HLASM was an IBM product.are you using the version for Linux on zSeries? And what debugger are you using ? Seriously. If you are anywhere near Austin, come visit. I'm on the west side of Harris County (Houston, you may have heard of it up there in Austin:-). Where are you? Have a good one, and thanks for sharing your success.. DJ -Paul
Re: Another long slow decline.
Yep, I mean Linux Assembler application code driving 3270 client screens really really fast. Yes, not just assembler, but HLASM (the GOOD stuff!) running in a Linux guest. Doing all sorts of neat things, like printing, talking over the network, process control, and a whole bunch more. With an Assembler Debugger that is hands down the best Assembler development tool anyone could imagine. :) VSAM? Well- we call it GSAM because the guy who wrote it in a couple weeks is named George. Why not? It is very very fast, and does not have the overhead of a DBRMS. It handles things like variable length records and so forth, and embeds the indexes in the same physical file as the data. (Makes it very easy to move things around.) We had to write file sharing and locking, but that was not overly onerous. And did I mention this stuff runs FAST? REAL FAST? -Paul grin - Original Message - From: David Kreuter [EMAIL PROTECTED] To: IBMVM@LISTSERV.UARK.EDU Sent: Tuesday, November 07, 2006 7:25 PM Subject: Re: Another long slow decline. linux users on a 3270? really? tell me more! assembler? Do you mean assembler code in the linux virtual machines? VSAM? Why? Dvid Paul Raulerson wrote: Same here brother. Three years ago we had no IBM equipment whatsoever on site; today we have a Z800, a Shark, an iSeries, and a bladeserver, all working together very harmoniously. And all of it put together with a lot of BST. The mainframe, for example, is running about 20 instances of zLinux under z/VM, all of which are managed by essentially one person. The Linux systems support lots of users with 3270 clients (yes, Linux and 3270 clients - much better response time this way! :) and with a really slick homebuilt debugger, VSAM, and oh yeah - it is all pretty much written in HLASM. I'm as proubd of this as I can be, and it is both cost efficient and fast fast fast fast :) It *can* be done - the doing of it is something that takes a lot of time and committment though. -Paul
Re: OpenSSH
Do you have support with Novell? If so, you can simply use YAST to bring down the latest and greatest of anything in the release. If not, support is pretty cheap - on the order of $5K per year, and it gives you upgrade rights. -Paul - Original Message - From: Austin, Alyce (CIV) [EMAIL PROTECTED] To: IBMVM@LISTSERV.UARK.EDU Sent: Monday, October 23, 2006 4:57 PM Subject: Re: OpenSSH Hi again, I had gone to the below site before I sent this note, but I didn't see anything referencing the mainframe Linux environment. Maybe, the lastest OpenSSH is already included in 8.2. (We will be upgrading our Linux in a few months to SLES10). Thanks for your help, Alyce -Original Message- From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of McKown, John Sent: Monday, October 23, 2006 2:23 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: OpenSSH -Original Message- From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Alyce Austin Sent: Monday, October 23, 2006 4:12 PM To: IBMVM@LISTSERV.UARK.EDU Subject: OpenSSH Hello, I want to download the latest version of OpenSSH for my SuSE Linux SLES 8.2 running as a guest under z/VM. Has anyone done this recently? If so, what is the best method to do this? Thanks for your help, Alyce Most likely you'll need to go to http://www.openssh.org to download the most current source, then customize (./configure), compile (make), and install (sudo make install). I doubt that anybody has the most current version already compiled into an RPM for SUSE 8.2. That is very old. -- John McKown Senior Systems Programmer HealthMarkets Keeping the Promise of Affordable Coverage Administrative Services Group Information Technology This message (including any attachments) contains confidential information intended for a specific individual and purpose, and its content is protected by law. If you are not the intended recipient, you should delete this message and are hereby notified that any disclosure, copying, or distribution of this transmission, or taking any action based on it, is strictly prohibited.
3270 Programming under z/VM
Are there any really *easy* ways to program 3270 panels under z/VM? Sort of like using REXX and ISPF panels under z/OS? I need to write a couple small but really needed applications for CMS, and onlyhave assembler available to me to do so. :) -Paul
Re: Question on Infoprint
It usually means to invert the image from left to right, or top to bottom depending. -Paul - Original Message - From: Roger Bolan To: IBMVM@LISTSERV.UARK.EDU Sent: Friday, September 29, 2006 12:30 PM Subject: Re: Question on Infoprint It depends what you are doing. For some post-processing equipment it might matter because the equipment might be binding the documents along a particular edge, for example. Regards, Roger BolanIBM Printing Systems Division Visit our Web site at http://www.ibm.com/printers. The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU wrote on 09/29/2006 08:52:21 AM: hello Everyone, I do believe that maybe someone was messing with you. 180-degree Rotation means just flip the paper, right? Ed Martin Aultman Health Foundation 330-588-4723 [EMAIL PROTECTED] ext. 40441 -Original Message- From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Shimon Lebowitz Sent: Friday, September 29, 2006 10:34 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Question on InfoprintBut seriously, to get 180-degree rotation, isnt it enough to just look at the page upside down?Shimon
Re: z/VM and SuSE Linux Ver 8
In order of probability (as in, the order this originally bit me :) (1) You have a nameserver issue (2) You have a firewall turned on in SuSE and it is easting up your traffic (pun intended) (3) This happens when the z/VM and Linux have a version conflict. -Paul P.S. You might want to consider using a VSWITCH. It makes Linux management one whole heck of a lot easier.-P - Original Message - From: Raymond Noal To: IBMVM@LISTSERV.UARK.EDU Sent: Friday, May 12, 2006 5:55 PM Subject: z/VM and SuSE Linux Ver 8 Dear Lists: Our z/VM and Linux testing goes in about 6 month cycles. The last time we used SuSE Linux under z/VM, we had z/VM 5.1. We are now using z/VM 5.2 at the 0501 RSU maintenance level. All of a sudden now (?), we can no longer connect to our Linux virtual machines using PuTTY. The network guys tell me that they can see the request going to the z/VM TCPIP address and being rerouted to the appropriate IP address for the Linux virtual machine, but there is no response from Linux. With my virtual Linux machine running I can not PING the z/VM TCPIP stack nor can I ping my Linux machine from the MAINT virtual machine. When I try to PING TCPIP from Linux, the Linux console stops working. Has anyone else had a similar problem? Have TCPIP parameters changed that much between z/VM 5.1 and 5.2? Here is my TCPIP profile statements DEVICE OSA0 OSD 00B0 PORTNAME OSACHP86 PRIROUTER LINK ETH0 QDIOETHERNET OSA0 DEVICE ZVMLAN1 OSD 10B0 PORTNAME ZVMLAN1 LINK ZVMLAN1 QDIOETHERNET ZVMLAN1 ; (End DEVICE and LINK statements) ; -- HOME 172.17.51.026 ETH0 172.17.230.1 ZVMLAN1 ; (End HOME Address information) ; -- PRIMARYINTERFACE ETH0 ; -- GATEWAY ; Network First Link MTU Subnet Subnet ; Address Hop Name Size Mask Value ; - --- - 172.17.50.1 = ETH0 1500 HOST ; 172 = ZVMLAN1 1500 0.255.255.0 0.17.230.0 172.17 = ZVMLAN1 1500 0.0.255.0 0.0.230.0 ; DEFAULTNET 172.17.50.1 ETH0 1500 0 ; (End GATEWAY Static Routing information) ; -- START OSA0 START ZVMLAN1 ; (End START statements) ; -- Here is the console log from the Linux IPL ..done"" Setting up network interfaces:"" lo ..done"" eth0 qdio: loading QDIO base support version 2 ($Revision: 1.145.4.1 $/ $Revision: 1.66.4.1 $) IPsec Security Association Database (SADB): initialized. IPsec Security Policy Database (SPD): initialized. IPsec PF_KEY V2: initialized IPv6 v0.8 (usagi-cvs/IPsec6 based StS) for NET4.0 IPv6 over IPv4 tunneling driver qeth: loading qeth S/390 OSA-Express driver ($Revision: 1.337.4.7 $/$Revision: 1 .113.4.2 $/$Revision: 1.42.4.1 $:IPv6:VLAN) qeth: allocated 0 spare buffers qeth: Trying to use card with devnos 0x10B0/0x10B1/0x10B2 qeth: Device 0x10B0/0x10B1/0x10B2 is an OSD Express card (level: V522) with link type Gigabit Eth (portname: ZVMLAN1) IP/Netmask: 172.17.230.2 / 255.255.255.0 ..done"" My Linux machine is IP address 172.17.230.2. There is also no PORT statement entry for port 22 (PuTTY SSH). I did not need one in z/VM 5.1. Has this changed in 5.2? Thanks in advance..
Re: FCP Attached Tape Drives (z/VM, z/Linux) - Help Please!
Ack! I really can spell, but my typing is terrible when I typing into a web page. Apologies to all. Thanks Eric, I will try this in the morning. I've pretty well been up all weekend and my eyes just won't stay open. Again, apologies to the list for that horrific typing. -Paul - Original Message - From: Eric R Farman To: IBMVM@LISTSERV.UARK.EDU Sent: Monday, May 08, 2006 6:03 PM Subject: Re: FCP Attached Tape Drives (z/VM, z/Linux) - Help Please! Hi Paul, When issuing a "SET EDEV TYPE FBA ATTR [paths]" command, the "" value should be an unused RDEV number that will be created. The FCP RDEV number (D200) is used later in the command, following the "FCP_DEV" operand. Hope this helps you avoid your maintenance window. Regards, EricEric Farmanz/VM I/O DevelopmentIBM Endicott, NY(607)429-4958 (tie 620) Paul Raulerson [EMAIL PROTECTED] Sent by: The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU 05/08/2006 06:17 PM Please respond toThe IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU To IBMVM@LISTSERV.UARK.EDU cc Subject Re: FCP Attached Tape Drives (z/VM, z/Linux) - Help Please! Steve Wilkin's page is a goldmine! Thanks for the pointer. :) I see I gotten myself in a conumdrum here - the FCP port if available, but I should not have defined any devices on it. "SET EDEVICE xxx xx xx xx ... " results in a complaint that 'D200 is a defined as a real device". I suppose it istime for yet another maintenance window, and bring her down again. (*sigh*) I should not be this difficult. :) :) :) :) I suppose I am going to have to start a VM User group down here - the closest one I know of the CaveMen guys up in Chigaco. :) -Paul- Message from "Alan Altmark" [EMAIL PROTECTED] on Mon, 8 May 2006 20:27:00 + - To: IBMVM@LISTSERV.UARK.EDU Subject: Re: FCP Attached Tape Drives (z/VM, z/Linux) - Help Please!On Monday, 05/08/2006 at 04:20 GMT, Paul Raulerson [EMAIL PROTECTED] wrote: I modified the IODC (using the HMC, I have not figured out how to use the z/VM software for doing so yet... :) to change a free FC channel to a FCP channel, and added a CUNUMBR line to support. I?ve included the definition file below, with the interesting bits marked in red.:) From z/VM I can do a query on the CHPID (F3 in this case) and I see that it thinks there are devices available out there. That is kind strange, because the new tapes are not yet attached there are two new 3592 TS1120 tape drives ready to connect to the SAN switch and configure. The FiCON port is also ready to connect to the SAN switch and, if necessary, do any configuration. Actually, VM doesn't see the SCSI devices. What it sees are the subchannels on the chpid. In normal ESCON attachment, the control units actively participate in the I/O process. They know which devices are available and which devices are not.For SCSI, there is no traditional control unit to manage device attachment to the I/O subsystem. There's just a cable the plugs into your FC switch. The connection to a particular drive is established dynamically via a specific protocol between the guest or CP and the switch.So as long as the chpid is active, all of the devices you defined on the chpid will appear, but they don't have active devices on them until CP (via EDEVICE) or a guest (via its own SCSI device drivers) does something. Problem is, from this point on I am lost there are WorldWidePort addresses and a lot of other terminology I am not familiar with. So any references or pointers would be very much appreciated. I have a feeling that this is not all that hard. The Shark is current attached to the same SAN switches, and provides DASD for the PC?s.See Steve Wilkins' home page: http://www.vm.ibm.com/devpages/wilkinss where you will find several of his presentations on z/VM and SCSI. These are excellent resources. (Steve is the Father of z/VM SCSI.) It helps if you can sit down with someone who has storage expertise to help round out some of the practical considerations.And get thee to a VM user group near thee! If the user group requests someone come and speak on SCSI, we are more than happy to oblige.Alan Altmarkz/VM DevelopmentIBM Endicott
Re: VMFHLASM
There is a point where things get silly, and I think this is reaching it fast. I can attest that the Systems/ASM product works great to compile and create code for z/VM. As for copying the Macros to say, a PC - solely for the purpose of compiling programs to run on VM - well - thank God IBM is NOT Microsoft. -Paul - Original Message - From: Dave Wade [EMAIL PROTECTED] To: IBMVM@LISTSERV.UARK.EDU Sent: Wednesday, May 03, 2006 1:38 PM Subject: Re: VMFHLASM Folks, I think this gets worse. I assume that technically, even if you use one one of the products mentioned previously such as the Dignus or Tachyon assemblers on a PC you are probably violating your license if you copy (and therefore use) the MACIBS required onto another platform. I also note that one product has both a) A VM/CMS version b) A 30 day trial available. Dave. P.S. Any one on zVM want to test out GCC before I release it please contact me off list. And not if you want to develop 31-bit programs with that you will need HLASM or an equivalent. Dave --- Schuh, Richard [EMAIL PROTECTED] wrote: There is also the point that sending the source is redistributing it. That is an activity that may be frowned upon. Regards, Richard Schuh __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Re: FLEX-ES and z/VM 4 or z/VM 5
You guys put out some really good points there. We are a midsize company (growing fast!) and we put in a z800, running z/ VM as a hypervisor for Linux, and are porting the business apps over to it. Naturally, we could not do it the way everyone else does it... so it is taking longer than we would like, but the results - ah... they are fantas tic. But the fact that we can do this- and that we do not have to pay signifig ant monthly license costs to IBM, while good for us, is a killer for IBM's ca sh flow. They have not yet learned how to deal with customers our size. For example - when we bought the z, we purchased it on a TSO plan, and paid cash for the Z, Shark, tapes and the whole bundle. We still get thr ee or four invoices per month for it. The money and effort IBM wastes sendin g those out, not to mention the time and effort expended to correct the errors, is astronomical. They could afford it if we were sending them $130K/month in license fees, but ... IBM has to learn how to deal, profitably, with the thousands of companies our size and slightly smaller. They are always shooting themselves in the ir own foot. Another example, when we first contacted IBM about buying a new computer, I told our sales rep we were interested in a mainframe or a pSeries machine , knowing the entire time we wanted a mainframe. They showed up and told us we were too small for a mainframe. grin The truth was they could not find the proper people to sell us the mainframe, and the sales rep they first set us up with was unwilling to do the work to get a proper order placed. He felt that we should simply take whatever he said, at whatever he said the cost was going to be. He also did not think we had any idea what we were talking about using Linux. You don't want to know the stories about the printing people or what the printing people did -- I do believe they wound up disbanding the entire group... (*sigh*) On the other hand, individuals within IBM are some of the greatest people I have ever met. Most of them are truely out there to do the job, and a lot of them are interested in interesting things. What better group of people is there on the planet? I think they are nervous to no end about Hercules, to be honest. I do not think they beleived it could happen, and yet, it has. How can they protec t their revenue source? Restrictive license policies does work, but it als o has the capability of backfiring - people will move more and more to Linu x. And while Linux does not have the same VM capabilities in it as zVM does, that could also change. IBM's greatest nightmare would be people buying j ust zSeries hardware with no software at all. And there is a real possibility that could happen if they don't change their course a bit. And oh yeah, don't forget about the group inside IBM who is still convinc ed that the Mainframe is DEAD, and can be easily replaced with a coulpe pSer ies boxes. Of course that isn't so, but they are loud, vocal, and have just enough truth in their statements to make people listen. -Paul