× 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.



Show the call statement to the RPG program.

Is there any limit on the number of characters that can be passed as
parms? 120000+ seems like a lot.

On 1/12/07, Richard C Carpenter <richard_c_work@xxxxxxxxx> wrote:
Here's the source statements for both the CL and RPG:

  DCL        &usr *CHAR 10
DCL        &tnbr *CHAR 7
DCL        &pro *CHAR 8
DCL        &bol *CHAR 11
DCL        &po  *CHAR 12
DCL        &emsg *CHAR 80
DCL        &rcnt *CHAR 3
DCL        &lst1 *CHAR 30000
DCL        &lst2 *CHAR 30000
DCL        &lst3 *CHAR 30000
DCL        &lst4 *CHAR 30000


  C     *Entry        Plist
 * User Name (Passed In)
C                   Parm                    @@USR            10
 * Transaction Number (Passed In)
C                   Parm                    @@TNBR            7
 * Probill Number (Passed In)
C                   Parm                    @@PRO             8
 * BOL Number (Passed Out)
C                   Parm                    @@BOL            11
 * PO Number (Passed Out)
C                   Parm                    @@PO             12
 * Error Message (Passed Out)
C                   Parm                    @@EMSG           80
 * Number of HTML Rows (Returned to Calling Pgm)
C                   Parm                    @@RCNT            3
  C                   Parm                    @@LST1        30000
C                   Parm                    @@LST2        30000
C                   Parm                    @@LST3        30000
C                   Parm                    @@LST4        30000


  Richard


Scott Klement <rpg400-l@xxxxxxxxxxxxxxxx> wrote:
  Date: Thu, 11 Jan 2007 16:00:09 -0600 (CST)
From: Scott Klement <rpg400-l@xxxxxxxxxxxxxxxx>
To: RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx>
Subject: Re: Overlaying program Parmeters

> I haven't even tried testing from the web. I am using a CL to call the
> program passing variables.
> We have no test web site to check if the program will work.

Can you please post the DCLs and CALL statement from your CL. Also please
post the *ENTRY plist and procedure interface that are giving you
problems. If you have any variables that are defined outside of the PLIST
or PI, please post their RPG definitions as well.

--
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.




---------------------------------
We won't tell. Get more on shows you hate to love
(and love to hate): Yahoo! TV's Guilty Pleasures list.
--
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 ...

Replies:

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.