C programming and interface to another operating systems



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

C programming and interface to another operating systems

Postby walldorf65 » Wed Apr 11, 2012 4:57 pm

Hello,

I am a beginner of mainframes.
At the moment I am writing a study thesis about the C programming on the operating system z/OS.
I have to describe the difference between C on z/OS and on Linux/Windows, but I couldn't find any relevant material. Another issue are the interface to databases, transaction monitor and middleware, but I could find only informations that you can program for IMS and DB2 with C/C++. These informations are not enough, I need more background material. I looked for material but I could not find anything.

Can you name some key words or some literature which can help me, please? Thank you for your efforts.

Best Regards,

walldorf65
walldorf65
 
Posts: 2
Joined: Tue Apr 03, 2012 1:42 pm
Has thanked: 0 time
Been thanked: 0 time

Re: C programming and interface to another operating systems

Postby dick scherrer » Wed Apr 11, 2012 11:21 pm

Hello,

These informations are not enough, I need more background material.
If you tell us more specifically what you are looking for, someone may be able to post a useful reply. . .

How long/large is this thesis to be when completed? If you are not familiar with how the z/OS environment works, the task will be more about this than the C language. Much of the material i've seen assumes the reader is already familiar/fluent with the operating environment and only needs the specifics of some particular language or toolset.

You might expand your search to look for publications that talk about the difference between the IBM mainframe and the Linux/UNIX/Windows environments. Among the biggest differences my teams have found is that the collating sequence is not the same and that the mainframe used packed-decimal heavily while on the LUW systems it is far less common.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: C programming and interface to another operating systems

Postby dick scherrer » Wed Apr 11, 2012 11:33 pm

The link Robert provided in the "other"/duplicate topic (which is being locked):

Robert Sample wrote:http://www-01.ibm.com/software/awdtools/czos/ would be a good place to start -- the C/C++ bookshelf for IBM z/OS.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: C programming and interface to another operating systems

Postby walldorf65 » Thu Apr 12, 2012 11:58 pm

Hello,

C programming and interface to another operating system is only one chapter of the thesis and it should be between 10 and 15 pages.

Until now, I had only find material about EBCDIC, ASCII and enhanced ASCII support. I don't want to list the difference of header files. Then I found sentences likes IMS or CICS can develop with C/C++, but that's not enough so I need more literature/material.
The Language Environment is another possibility, but is there similar environment for Linux/Windows?

I have problems to find material or literature which describe the difference between z/OS and Linux/Windows.

Thank you for your efforts.

Best Regards,

walldorf65
walldorf65
 
Posts: 2
Joined: Tue Apr 03, 2012 1:42 pm
Has thanked: 0 time
Been thanked: 0 time

Re: C programming and interface to another operating systems

Postby enrico-sorichetti » Fri Apr 13, 2012 12:21 am

see ...
http://www.redbooks.ibm.com/abstracts/sg245992.html

there are quite a lot of similarities between the zOS Unix System Services and Linux
very little/none with Windows

and as far as the zOS side, well that's a completely different beast

the Language Environment is the set of rules and runtime Libraries
which make possible the interlanguage communication between different programming languages in the zOS environment

for a basic idea of the zOS environment I strongly suggest to read

http://www.redbooks.ibm.com/abstracts/sg246366.html
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 3006
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 165 times

Re: C programming and interface to another operating systems

Postby Robert Sample » Fri Apr 13, 2012 12:28 am

First, you really need to define your terms better. There is z/OS, there is z/VM, there is Z/Linux operating systems for z machines, so are you referring to Linux running on z-architecture machines or are you talking about Linux running on Intel-architecture machines?

Further, you can go to http://www.ibm.com and use the Search function to find all the mainframe literature that is publicly available, such as http://publib.boulder.ibm.com/infocenter/cicsts/v3r1/index.jsp?topic=%2Fcom.ibm.cics.ts31.doc%2Fdfhp3%2Fdfhp3pb.htm which includes information about writing CICS programs using C/C++. This same reference includes material about Language Environment.

You need to be aware that direct comparisons between mainframes and Linux/Windows machines is difficult for many reasons. The architectures are different, the intended use is different, the approach to security is different -- although high-level languages such as COBOL or C/C++ can run on either platform with very few (or even no) differences. The 45+ year history of mainframes does give a tremendous base of data but finding it can be difficult at times.
Robert Sample
Global moderator
 
Posts: 3720
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times


Return to C, C++