|
Dear Jevgeni/All Question1: CRTBNDC PGM(OSNPM64/CPROG) SRCFILE(OSNPM64/CNSLRPT) While compiling the C program it is giving this error message. Suggest me...... Message . . . . : Program CPROG in library OSNPM64 was not created. Cause . . . . . : Program CPROG in library OSNPM64 has encountered an unrecoverable compile time error. Recovery . . . : See the job log for details. If an internal compiler error occurred, then use the CL command Analyze Problem (ANZPRB) to determine the cause of the compiler error. Question2: Where we can see the C header file in the as/400. And what about the compiler? Whether it is inbuilt with the OS/400 Operating system or it should be seperatly installed in the server. Regards Ashok Kumar V Information system analyst MIS | IT ------------------------------------ Tel: +91 22 5647 9140 Mob: +91 9833188926 Fax: +91 22 5649 2106 (Powai Branch) -----Original Message----- From: c400-l-bounces+ashok.kumar=tata-aig.com@xxxxxxxxxxxx [mailto:c400-l-bounces+ashok.kumar=tata-aig.com@xxxxxxxxxxxx] On Behalf Of c400-l-request@xxxxxxxxxxxx Sent: Wednesday, August 03, 2005 10:31 PM To: c400-l@xxxxxxxxxxxx Subject: C400-L Digest, Vol 3, Issue 57 Send C400-L mailing list submissions to c400-l@xxxxxxxxxxxx To subscribe or unsubscribe via the World Wide Web, visit http://lists.midrange.com/mailman/listinfo/c400-l or, via email, send a message with subject or body 'help' to c400-l-request@xxxxxxxxxxxx You can reach the person managing the list at c400-l-owner@xxxxxxxxxxxx When replying, please edit your Subject line so it is more specific than "Re: Contents of C400-L digest..." Today's Topics: 1. Re: Data Area API (Simon Coulter) 2. RE: C400-L Digest, Vol 3, Issue 56 (Kumar, Ashok (MIS)) 3. RE: RE: C400-L Digest, Vol 3, Issue 56 (Jevgeni Astanovski) 4. PASE and ILEC integration (Stephen More) ---------------------------------------------------------------------- message: 1 date: Wed, 3 Aug 2005 10:05:53 +1000 from: Simon Coulter <shc@xxxxxxxxxxxxxxxxx> subject: Re: [C400-L] Data Area API On 02/08/2005, at 3:40 AM, Elvis Budimlic wrote: > It would be nice to find a list of exceptions it can throw, but it > doesn't > look like IBM lists those out. A good starting point would be the same exceptions listed in the help for the CHGDTAARA command. Regards, Simon Coulter. -------------------------------------------------------------------- FlyByNight Software AS/400 Technical Specialists http://www.flybynight.com.au/ Phone: +61 3 9419 0175 Mobile: +61 0411 091 400 /"\ Fax: +61 3 9419 0175 \ / X ASCII Ribbon campaign against HTML E-Mail / \ -------------------------------------------------------------------- ------------------------------ message: 2 date: Wed, 3 Aug 2005 15:09:18 +0800 from: "Kumar, Ashok (MIS)" <Ashok.Kumar@xxxxxxxxxxxx> subject: [C400-L] RE: C400-L Digest, Vol 3, Issue 56 Dear All, I'm working in AS/400 I need to wok with C compiler in AS/400 Is there anybody can suggest me how to work in this environment. Thanks Ashok Kumar V Information system analyst MIS | IT ------------------------------------ Tel: +91 22 5647 9140 Mob: +91 9833188926 Fax: +91 22 5649 2106 (Powai Branch) -----Original Message----- From: c400-l-bounces+ashok.kumar=tata-aig.com@xxxxxxxxxxxx [mailto:c400-l-bounces+ashok.kumar=tata-aig.com@xxxxxxxxxxxx] On Behalf Of c400-l-request@xxxxxxxxxxxx Sent: Tuesday, August 02, 2005 10:30 PM To: c400-l@xxxxxxxxxxxx Subject: C400-L Digest, Vol 3, Issue 56 Send C400-L mailing list submissions to c400-l@xxxxxxxxxxxx To subscribe or unsubscribe via the World Wide Web, visit http://lists.midrange.com/mailman/listinfo/c400-l or, via email, send a message with subject or body 'help' to c400-l-request@xxxxxxxxxxxx You can reach the person managing the list at c400-l-owner@xxxxxxxxxxxx When replying, please edit your Subject line so it is more specific than "Re: Contents of C400-L digest..." Today's Topics: 1. RE: Data Area API (Elvis Budimlic) ---------------------------------------------------------------------- message: 1 date: Mon, 1 Aug 2005 12:40:46 -0500 from: "Elvis Budimlic" <ebudimlic@xxxxxxxxxxxxxxxxxxxxxxxxx> subject: RE: [C400-L] Data Area API Good question. I don't know for sure. I peeked at the include file and looks like they link to a system program (linkage) so I have to assume they throw exceptions in case of errors. It would be nice to find a list of exceptions it can throw, but it doesn't look like IBM lists those out. Elvis -----Original Message----- Subject: RE: [C400-L] Data Area API Do you perhaps know how this API reports errors? -----Original Message----- From: c400-l-bounces+steven=solve400problems.com@xxxxxxxxxxxx Subject: RE: [C400-L] Data Area API QXXCHGDA - change data area API http://publib.boulder.ibm.com/iseries/v5r2/ic2924/books/c415607107.htm#HDRQX XCHGD Elvis -----Original Message----- Subject: [C400-L] Data Area API All, I am currently using the API QWCRDTAA to read data from a data area. Which API can I use to write data? I know I can call CHGDTAARA using system("QSYS/CHGDTAARA ...") but it does not seem very flexible. Steven ------------------------------ _______________________________________________ This is the C programming iSeries / AS400 (C400-L) digest list To post a message email: C400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/c400-l or email: C400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/c400-l. End of C400-L Digest, Vol 3, Issue 56 ************************************* IMPORTANT NOTICE: The information in this email (and any attachments) is confidential. If you are not the intended recipient, you must not use or disseminate the information. If you have received this email in error, please immediately notify me by "Reply" command and permanently delete the original and any copies or printouts thereof. Although this email and any attachments are believed to be free of any virus or other defect that might affect any computer system into which it is received and opened, it is the responsibility of the recipient to ensure that it is virus free and no responsibility is accepted by American International Group, Inc. or its subsidiaries or affiliates either jointly or severally, for any loss or damage arising in any way from its use. ------------------------------ message: 3 date: Wed, 3 Aug 2005 13:28:36 +0300 from: "Jevgeni Astanovski" <Jevgeni.Astanovski@xxxxxxxx> subject: RE: [C400-L] RE: C400-L Digest, Vol 3, Issue 56 If you are familiar with C in general and with AS/400 in general, then it is pretty easy. You create a source physical file for program sources CRTSRCPF YOURLIB/YOURNAME. Then you start SEU (STRSEU YOURLIB/YOURNAME). You create a new member by placing a name on the "New member" line (HELLO) and set type for new member to "C". Now you get an empty space, where you have to key in you program. I assume, that you know how to use SEU. It can be something like: #include <stdio.h> #include <stdlib.h> int main() { printf("Hello World!\n") ; return(0) ; } Looks familiar? Now you press F3 to save your program. You exit SEU and key in compile command: CRTBNDC YOURLIB/HELLO SRCFILE(YOURLIB/YOURNAME). If OK, you can run CALL YOURLIB/HELLO That's all so simple. Jevgeni. > -----Original Message----- > From: Kumar, Ashok (MIS) [mailto:Ashok.Kumar@xxxxxxxxxxxx] > Sent: Wednesday, August 03, 2005 10:09 AM > To: c400-l@xxxxxxxxxxxx > Subject: [C400-L] RE: C400-L Digest, Vol 3, Issue 56 > > > Dear All, > > I'm working in AS/400 > I need to wok with C compiler in AS/400 > Is there anybody can suggest me how to work in this environment. > > Thanks > Ashok Kumar V > Information system analyst MIS | IT > ------------------------------------ > Tel: +91 22 5647 9140 > Mob: +91 9833188926 > Fax: +91 22 5649 2106 > (Powai Branch) > > > -----Original Message----- > From: c400-l-bounces+ashok.kumar=tata-aig.com@xxxxxxxxxxxx > [mailto:c400-l-bounces+ashok.kumar=tata-aig.com@xxxxxxxxxxxx] > On Behalf Of > c400-l-request@xxxxxxxxxxxx > Sent: Tuesday, August 02, 2005 10:30 PM > To: c400-l@xxxxxxxxxxxx > Subject: C400-L Digest, Vol 3, Issue 56 > > Send C400-L mailing list submissions to > c400-l@xxxxxxxxxxxx > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.midrange.com/mailman/listinfo/c400-l > or, via email, send a message with subject or body 'help' to > c400-l-request@xxxxxxxxxxxx > > You can reach the person managing the list at > c400-l-owner@xxxxxxxxxxxx > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of C400-L digest..." > > > Today's Topics: > > 1. RE: Data Area API (Elvis Budimlic) > > > ---------------------------------------------------------------------- > > message: 1 > date: Mon, 1 Aug 2005 12:40:46 -0500 > from: "Elvis Budimlic" <ebudimlic@xxxxxxxxxxxxxxxxxxxxxxxxx> > subject: RE: [C400-L] Data Area API > > Good question. I don't know for sure. > > I peeked at the include file and looks like they link to a > system program > (linkage) so I have to assume they throw exceptions in case of errors. > > It would be nice to find a list of exceptions it can throw, > but it doesn't > look like IBM lists those out. > > Elvis > > > -----Original Message----- > Subject: RE: [C400-L] Data Area API > > > Do you perhaps know how this API reports errors? > > -----Original Message----- > From: c400-l-bounces+steven=solve400problems.com@xxxxxxxxxxxx > Subject: RE: [C400-L] Data Area API > > QXXCHGDA - change data area API > > http://publib.boulder.ibm.com/iseries/v5r2/ic2924/books/c41560 > 7107.htm#HDRQX > XCHGD > > Elvis > > -----Original Message----- > Subject: [C400-L] Data Area API > > All, > > I am currently using the API QWCRDTAA to read data from a data area. > > Which API can I use to write data? > > I know I can call CHGDTAARA using system("QSYS/CHGDTAARA > ...") but it does > not seem very flexible. > > Steven > > > > > > ------------------------------ > > _______________________________________________ > This is the C programming iSeries / AS400 (C400-L) digest list > To post a message email: C400-L@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo/c400-l > or email: C400-L-request@xxxxxxxxxxxx > Before posting, please take a moment to review the archives > at http://archive.midrange.com/c400-l. > > > > End of C400-L Digest, Vol 3, Issue 56 > ************************************* > IMPORTANT NOTICE: > > The information in this email (and any attachments) is confidential. > If you are not the intended recipient, you must not use or > disseminate the > information. > If you have received this email in error, please immediately > notify me by > "Reply" command > and permanently delete the original and any copies or > printouts thereof. > Although this email and any attachments are believed to be > free of any virus > or > other defect that might affect any computer system into which > it is received > and opened, > it is the responsibility of the recipient to ensure that it > is virus free > and no responsibility > is accepted by American International Group, Inc. or its > subsidiaries or > affiliates either > jointly or severally, for any loss or damage arising in any > way from its > use. > -- > This is the C programming iSeries / AS400 (C400-L) mailing list > To post a message email: C400-L@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo/c400-l > or email: C400-L-request@xxxxxxxxxxxx > Before posting, please take a moment to review the archives > at http://archive.midrange.com/c400-l. > > ------------------------------ message: 4 date: Wed, 3 Aug 2005 12:48:05 -0400 from: Stephen More <stephen.more@xxxxxxxxx> subject: [C400-L] PASE and ILEC integration I have followed examples to call Call OS/400 Procedures from OS/400 PASE http://www-03.ibm.com/servers/enable/site/education/labs/os400/index.html#2 I used CRTCMOD to compile the ILE C source and it is working. I am trying to write a similar program that calls a module that is compiled with the CRTSQLC command, and I am running into problems. Does anyone know if you can call an embedded SQL ILE program from the PASE environment ? -Thanks Steve More ------------------------------
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.