× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Rob,

I'd say that the books about traditional topics (native language programming, 
SQL, system management) are pretty good to excellent with the only down point 
being that some of the information is scattered about over several different 
books. The newer topics (such as the HTTP server and WebSphere) mostly range 
from pitiful to fair. The information you need is in there but there doesn't 
appear to be much though on how to organize the information (from what I 
understand, IBM is spending less on documentation and this is a sign of that). 
Fortunately, for the books that stink, there are usually RedBooks available 
that give useful information.

Matt

-----Original Message-----
From: rob@xxxxxxxxx [mailto:rob@xxxxxxxxx]
Sent: Wednesday, February 25, 2004 2:09 PM
To: RPG programming on the AS400 / iSeries
Subject: RE: SQL Result Sets


You know, everyone seems to like knocking the IBM manuals.  However you, 
and some of the newbies here, have led me to believe that they are not as 
bad as some make them out to be.

Rob Berendt
-- 
Group Dekko Services, LLC
Dept 01.073
PO Box 2000
Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com





CWilt@xxxxxxxxxxxx 
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
02/25/2004 11:20 AM
Please respond to
RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx>


To
rpg400-l@xxxxxxxxxxxx
cc

Fax to

Subject
RE: SQL Result Sets






Rob,

May be hard to believe, but the standard iSeries DB2 manuals.

I keep PDF versions of:
SQL Reference
SQL Programming Concepts
SQL Programming with Host Languages

and just added the Redbook (mentioned in a post here)
Stored Procedures, Triggers, and UDF on DB2 UDB for iSeries.

I hit them often for my own questions. Luckily, I have a pretty good 
recall
for stuff that I simply read on the way to my own answers.

In this case, I remembered seeing  the "dynamic results sets xx"  clause
during the many times I've looked at stored procedures.  Wasn't a big deal
to open the PDF and copy-paste the example.


HTH,
Charles


> -----Original Message-----
> From: rob@xxxxxxxxx [mailto:rob@xxxxxxxxx]
> Sent: Tuesday, February 24, 2004 5:02 PM
> To: RPG programming on the AS400 / iSeries
> Subject: RE: SQL Result Sets
> 
> 
> I have to ask:  How did you figure that one out?
> - Some DB class in college?
> - Experience from other databases?
> - Standard DB2 iseries manuals?
> - Third party book on DB2 on the iSeries?
> - Someone else's code at your site?
> - This list?
> 
> Rob Berendt
> -- 
> Group Dekko Services, LLC
> Dept 01.073
> PO Box 2000
> Dock 108
> 6928N 400E
> Kendallville, IN 46755
> http://www.dekko.com
> 
> 
> 
> 
> 
> CWilt@xxxxxxxxxxxx 
> Sent by: rpg400-l-bounces@xxxxxxxxxxxx
> 02/24/2004 04:55 PM
> Please respond to
> RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx>
> 
> 
> To
> rpg400-l@xxxxxxxxxxxx
> cc
> 
> Fax to
> 
> Subject
> RE: SQL Result Sets
> 
> 
> 
> 
> 
> 
> Do you have the DYNAMIC RESULTS SETS 2 specified on the 
> create procedure
> statement?
> 
> CREATE PROCEDURE ASSEMBLY_PARTS (IN ASSEMBLY_NUM INTEGER,
> OUT NUM_PARTS INTEGER,
> OUT COST DOUBLE)
> LANGUAGE C
> PARAMETER STYLE GENERAL
> DYNAMIC RESULT SETS 2
> FENCED
> EXTERNAL NAME ASSEMBLY
> 
> HTH,
> Charles
> 
> 
> 
> > -----Original Message-----
> > From: Dave Boettcher [mailto:DBoettch@xxxxxxxxxxxxxxxx]
> > Sent: Tuesday, February 24, 2004 3:23 PM
> > To: rpg400-l@xxxxxxxxxxxx; RPGIV@xxxxxxxxxxxxxxx
> > Subject: SQL Result Sets
> > 
> > 
> > Perhaps someone out there knows how we can do this.  Thanks 
> in advance
> > for the help.
> > We have searched GOOGLE and the archives on the Midrange and RPGIV
> > sites.  The question appears a few times all the way back 
> to 1998, but
> > we have not seen an answer posted even though several posts 
> said they
> > might  try it out.  :>)
> > 
> > We want to return two result sets from an RPGIV program. 
> > We get only the last one back to the calling PHP program.
> > the RPGIV SQL code to return the result sets is below:
> > 
> >  c/exec SQL 
> >  c+  Set Result Sets Array :TaxDta for :TaxNdx rows 
> >  c/end-exec 
> > 
> >  c/exec SQL 
> >  c+  Set Result Sets Array :AssmtDta for :AssmtNdx rows 
> >  c/end-exec 
> > 
> > Does anyone know if this should work?  OR do you know of 
> > another way to
> > accomplish the same thing.
> > 
> > Any response is appreciated, especially "yes" or "it will never work
> > and here's why"
> > 
> > TIA, 
> > 
> > Dave Boettcher
> > _______________________________________________
> > This is the RPG programming on the AS400 / iSeries (RPG400-L) 
> > mailing list
> > To post a message email: RPG400-L@xxxxxxxxxxxx
> > To subscribe, unsubscribe, or change list options,
> > visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
> > or email: RPG400-L-request@xxxxxxxxxxxx
> > Before posting, please take a moment to review the archives
> > at http://archive.midrange.com/rpg400-l.
> > 
> _______________________________________________
> This is the RPG programming on the AS400 / iSeries (RPG400-L) 
> mailing list
> To post a message email: RPG400-L@xxxxxxxxxxxx
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
> or email: RPG400-L-request@xxxxxxxxxxxx
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/rpg400-l.
> 
> 
> _______________________________________________
> This is the RPG programming on the AS400 / iSeries (RPG400-L) 
> mailing list
> To post a message email: RPG400-L@xxxxxxxxxxxx
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
> or email: RPG400-L-request@xxxxxxxxxxxx
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/rpg400-l.
> 
_______________________________________________
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.


_______________________________________________
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.