[SPAM] [DB2 z/OS] Requeste for a C program(s)

Daniel Luksetich

[SPAM] [DB2 z/OS] Requeste for a C program(s)
Max,
There is a sample c program on the db2expert.com site, download page. The
purpose of the program is to demonstrate an RRSAF connection. However, I'm
sure you can use it for simple testing. No file I/O, however.

It's a bit more involved than what you were looking for, but if you can't
find anything else then it can be your second choice.

The DB2 installation libraries have sample applications. There is a C
program sample. Use that! It's al ready to go.

cheers,
Dan

On Thu, 16 Dec 2010 15:51:17 +0100, Max Scarpa <[login to unmask email]> wrote:
> Esteemed listers
>
> Is there anyone who can provide a sample of a C program to be used in
z/OS
> environment ? I need a simple program performing a SELECT and
> INSERT/UPDATE (and a C program reading/writing a trivial sequential file

> would be very appreciated as well). I need them for test purposes, so
even
> a very simple programs is enough.
>
> Contact me offline if you want to reply to this post.
>
> Thank you in advance and best regards
>
> Max Scarpa
> Hubble's expansion law applied to DB2: 'An expert is one who knows more
> and more about less and less until he knows absolutely everything about
> offset x'20' of IFCID 225.'
>
>
> _____________________________________________________________________
> * IDUG EMEA * Prague, Czech Republic * 14-18 November 2011 *
> http://IDUG.ORG/EMEA *
> * If you are going to attend only one conference this year, this is
it!
> *
> _____________________________________________________________________
> http://www.IDUG.org/mentor
> Mentoring should be a rewarding experience for everyone...
> IDUG is offering up to 80% off when you both come to the conference!
> _____________________________________________________________________
>
> If you need to change settings, http://www.idug.org/cgi-bin/wa?A0=DB2-L
is
> the home of IDUG's Listserv

_____________________________________________________________________
* IDUG EMEA * Prague, Czech Republic * 14-18 November 2011 * http://IDUG.ORG/EMEA *
* If you are going to attend only one conference this year, this is it! *
_____________________________________________________________________
http://www.IDUG.org/mentor
Mentoring should be a rewarding experience for everyone...
IDUG is offering up to 80% off when you both come to the conference!
_____________________________________________________________________

If you need to change settings, http://www.idug.org/cgi-bin/wa?A0=DB2-L is the home of IDUG's Listserv

Sam Baugh

Re: [SPAM] [DB2 z/OS] Requeste for a C program(s)
(in response to Daniel Luksetich)
Seems like I just saw some samples in the DB2v10 Performance Redbook in the section describing how "system time" archiving works.

-----Original Message-----
From: IDUG DB2-L [mailto:[login to unmask email] On Behalf Of Dan Luksetich
Sent: Thursday, December 16, 2010 9:17 AM
To: [login to unmask email]
Subject: Re: [DB2-L] [SPAM] [DB2 z/OS] Requeste for a C program(s)

Max,
There is a sample c program on the db2expert.com site, download page. The
purpose of the program is to demonstrate an RRSAF connection. However, I'm
sure you can use it for simple testing. No file I/O, however.

It's a bit more involved than what you were looking for, but if you can't
find anything else then it can be your second choice.

The DB2 installation libraries have sample applications. There is a C
program sample. Use that! It's al ready to go.

cheers,
Dan

On Thu, 16 Dec 2010 15:51:17 +0100, Max Scarpa <[login to unmask email]> wrote:
> Esteemed listers
>
> Is there anyone who can provide a sample of a C program to be used in
z/OS
> environment ? I need a simple program performing a SELECT and
> INSERT/UPDATE (and a C program reading/writing a trivial sequential file

> would be very appreciated as well). I need them for test purposes, so
even
> a very simple programs is enough.
>
> Contact me offline if you want to reply to this post.
>
> Thank you in advance and best regards
>
> Max Scarpa
> Hubble's expansion law applied to DB2: 'An expert is one who knows more
> and more about less and less until he knows absolutely everything about
> offset x'20' of IFCID 225.'
>
>
> _____________________________________________________________________
> * IDUG EMEA * Prague, Czech Republic * 14-18 November 2011 *
> http://IDUG.ORG/EMEA *
> * If you are going to attend only one conference this year, this is
it!
> *
> _____________________________________________________________________
> http://www.IDUG.org/mentor
> Mentoring should be a rewarding experience for everyone...
> IDUG is offering up to 80% off when you both come to the conference!
> _____________________________________________________________________
>
> If you need to change settings, http://www.idug.org/cgi-bin/wa?A0=DB2-L
is
> the home of IDUG's Listserv

_____________________________________________________________________
* IDUG EMEA * Prague, Czech Republic * 14-18 November 2011 * http://IDUG.ORG/EMEA *
* If you are going to attend only one conference this year, this is it! *
_____________________________________________________________________
http://www.IDUG.org/mentor
Mentoring should be a rewarding experience for everyone...
IDUG is offering up to 80% off when you both come to the conference!
_____________________________________________________________________

If you need to change settings, http://www.idug.org/cgi-bin/wa?A0=DB2-L is the home of IDUG's Listserv

_____________________________________________________________________
* IDUG EMEA * Prague, Czech Republic * 14-18 November 2011 * http://IDUG.ORG/EMEA *
* If you are going to attend only one conference this year, this is it! *
_____________________________________________________________________
http://www.IDUG.org/mentor
Mentoring should be a rewarding experience for everyone...
IDUG is offering up to 80% off when you both come to the conference!
_____________________________________________________________________

If you need to change settings, http://www.idug.org/cgi-bin/wa?A0=DB2-L is the home of IDUG's Listserv

Max Scarpa

Re: [SPAM] [DB2 z/OS] Request for a C program(s)
(in response to Sam Baugh)
Hi all

Thank you all for your replis, I'll have a look.

Max 'C' Scarpa



_____________________________________________________________________
* IDUG EMEA * Prague, Czech Republic * 14-18 November 2011 * http://IDUG.ORG/EMEA *
* If you are going to attend only one conference this year, this is it! *
_____________________________________________________________________
http://www.IDUG.org/mentor
Mentoring should be a rewarding experience for everyone...
IDUG is offering up to 80% off when you both come to the conference!
_____________________________________________________________________

If you need to change settings, http://www.idug.org/cgi-bin/wa?A0=DB2-L is the home of IDUG's Listserv

James Campbell

Re: [DB2 z/OS] Requeste for a C program(s)
(in response to Max Scarpa)
One of the SDSNSAMP(DSNTEJ2*) jobs compiles and runs such a program.

James Campbell

On 16 Dec 2010 at 15:51, Max Scarpa wrote:

>
> Esteemed listers
>
> Is there anyone who can provide a sample of a C program to be used in z/OS environment ? I
> need a simple program performing a SELECT and INSERT/UPDATE (and a C program
> reading/writing a trivial sequential file would be very appreciated as well). I need them for test
> purposes, so even a very simple programs is enough.
>
> Contact me offline if you want to reply to this post.
>
> Thank you in advance and best regards
>
> Max Scarpa

_____________________________________________________________________
* IDUG North America * Anaheim, California * May 2-6 2011 * http://IDUG.ORG/NA *
* Your only source for independent, unbiased, and trusted DB2 information. *
** The most DB2 technical sessions of any conference
** Access IBM experts and developers
_____________________________________________________________________

If you need to change settings, http://www.idug.org/cgi-bin/wa?A0=DB2-L is the home of IDUG's Listserv