I see the same thing.  The RPG program takes a 2-character string as input
and returns a result set.
Returning a result set is not a problem.  It's the DS input that is in
question.
Thanks,
Todd
                                                                           
             "Walden H.                                                    
             Leverich"                                                     
             <WaldenL@TechSoft                                          To 
             Inc.com>                  "Java Programming on and around the 
             Sent by:                  iSeries / AS400"                    
             java400-l-bounces         <java400-l@xxxxxxxxxxxx>            
             @midrange.com                                              cc 
                                                                           
                                                                   Subject 
             01/08/2008 11:10          RE: data structure input parameter  
             AM                                                            
                                                                           
                                                                           
             Please respond to                                             
             Java Programming                                              
             on and around the                                             
              iSeries / AS400                                              
             <java400-l@midran                                             
                  ge.com>                                                  
                                                                           
                                                                           
Um, where's it take a DS as a parameter? I see it uses a DS to return a
result set, but that's different.
--
Walden H Leverich III
Tech Software
(516) 627-3800 x3051
WaldenL@xxxxxxxxxxxxxxx
http://www.TechSoftInc.com
Quiquid latine dictum sit altum viditur.
(Whatever is said in Latin seems profound.)
-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx
[mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of Paul Holm
Sent: Tuesday, January 08, 2008 11:04 AM
To: java400-l@xxxxxxxxxxxx
Subject: data structure input parameter
Here is an example  of an RPG program created as an external stored
procedure that takes in a datastructure as a single field.
http://www.planetjavainc.com/wow400/runApp?id=382&_pj_lib=wowsamp6x
Look at the menu items to see the source for both sql and rpg.
Thanks, Paul
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.17.13/1207 - Release Date:
1/2/2008
11:29 AM
--
This is the Java Programming on and around the iSeries / AS400
(JAVA400-L) mailing list
To post a message email: JAVA400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: 
http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at 
http://archive.midrange.com/java400-l.
--
This is the Java Programming on and around the iSeries / AS400 (JAVA400-L)
mailing list
To post a message email: JAVA400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: 
http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at 
http://archive.midrange.com/java400-l.
As an Amazon Associate we earn from qualifying purchases.