How widespread is C/C++ on z/OS???



Help for C/C++ for MVS, OS/390 C/C++, z/OS C/C++ and C/C++ Productivity Tools for OS/390

Re: How widespread is C/C++ on z/OS???

Postby NicC » Sun Aug 15, 2010 3:41 pm

those are not just C libraries - they are Language Environment (LE) libraries and are required by any program in any language that was written to take advantage of the LE facilities.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 3025
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisies (almost)
Has thanked: 4 times
Been thanked: 136 times

Re: How widespread is C/C++ on z/OS???

Postby Duffy » Mon Aug 16, 2010 10:45 am

Thanks people for all the help. As far as upgrading, no. The kind of software we write, it is good to be way behind. Thanks to good ol' IBM, upward compatibility is always guaranteed. If we are behind, good - so we don't end up using some new command or instruction that is not yet on a customer machine.
Duffy
 
Posts: 2
Joined: Sat Aug 14, 2010 12:54 am
Has thanked: 0 time
Been thanked: 0 time

Re: How widespread is C/C++ on z/OS???

Postby rivers » Tue Aug 24, 2010 9:32 pm

C/C++ is used a great deal on the mainframe.

As well as the IBM routines that others have mentioned, there are also many people
using the Dignus tools, and the Dignus runtime library.

Not to get too close to "advertising" - but see http://www.dignus.com; or feel
free to give us a call!
rivers
 
Posts: 3
Joined: Tue Aug 24, 2010 9:28 pm
Has thanked: 0 time
Been thanked: 0 time

Re: How widespread is C/C++ on z/OS???

Postby steve-myers » Sat Aug 28, 2010 10:24 pm

Duffy wrote:... As far as upgrading, no. The kind of software we write, it is good to be way behind. Thanks to good ol' IBM, upward compatibility is always guaranteed. If we are behind, good - so we don't end up using some new command or instruction that is not yet on a customer machine.
IBM has gone to a great deal of trouble to encourage their customers to be more or less current with z/OS and other major products; many customers demand their software vendors keep up to date.

As I mentioned before, the C++ runtime seems to be quite fluid; upwards compatibility is not always possible. Since I do not do mainframe C++ I'm not a real good authority in this matter.

Your comment about "new" commands and instructions is well taken. I know of at least one vendor product that had trouble for that very reason. On the other hand, I know of one vendor product that broke quite severely on a z/OS upgrade simply because the vendor forgot to check it out while the vendor was using the pre-release version of the z/OS system. This product had to be nearly rewritten on an extremely tight schedule! What's worse, the vendor itself used the product on their production systems and it responded by removing the product from their systems and using an alternate method to accomplish the same goal.
steve-myers
Global moderator
 
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 243 times

Re: How widespread is C/C++ on z/OS???

Postby mwilliams » Sat Aug 03, 2013 10:09 am

Well,
I wonder, what was the final conclusion from this thread? :roll:

Just curious, since it’s been almost 3 years when the OP created this thread.
I gather, the vendor: Dignus now has a mature C/C++ compiler for the z/OS environment. Though, I’m not sure the pro & cons of this product verses that of the IBM C/C++ compiler. What I can tell, it appears that Dignus compiler may generate clearer assembler code from source C code.

As C begat C++, C++ begat C# (c-sharp). Several win-based developers i've worked with greatly prefer Visual C# to other C implementations as well as over Visual Basic. Visual Studio supports them both quite well.


Well, I thought C/C++ were more so as low level as compared to C# or Java.
Based on my observation of code written in C/C++ verses Java, it appears that the C programmer is burden with more detail than with the Java programmer. Therefore, my impression is that C code is more suitable for maintaining utilities and software packages than for typical business applications.

I would think a main advantage of C/C++ on z/OS is to tap into vast source libraries written C/C++ for other systems, and tweak them to run on the mainframe. I would imagine, how did they get LINUX or Java implemented on the mainframe? I hate to think, one had to manually convert millions & millions lines of code from C to Assembler.

As for the integrated development environment (IDE), it would be nice if IBM’s rational developer for z/OS (RDz) had features like that of Visual Studio.

Though, the neatest thing I’ve experienced is (by using conditional compile macros), I had developed and tested the same code interchangeable between Visual C/C++ Express and C/C++ for z/OS. I’ve used IBM’s debugger of LE compliant languages such as Cobol and C, but using Visual’s debugger seems so much nicer.

Too bad, I couldn’t a get a position with the requirement of C on the z/OS environment. ;)
mwilliams
 
Posts: 11
Joined: Thu Feb 07, 2013 8:55 am
Has thanked: 0 time
Been thanked: 1 time

Previous

Return to C, C++