[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Question about parm size
- From: Scott Klement <sk@xxxxxxxxxxxxxxxx>
 
- Subject: Re: Question about parm size
 
- Date: Tue, 02 Apr 2013 15:42:42 -0500
 
   Hi Teri,
   You can use WEBFORM_setPtr() for this task.  This routine allows you to
   specify up to 16 mb of data in a web form variable.  It uses pointers
   in order to remove the limitations in size that the other routines
   might have -- so it's a little trickier to call, but it will do what
   you want.
       WEBFORM_setVar( myForm
                     : 'webVarName'
                     : %addr(your1900var)
                     : %len(%trimr(your1900var)));
   If your variable is VARYING, then change %ADDR() to
   %ADDR(yourvar:*data)  (or %addr(yourvar)+2 if on V5r4 or earlier).
   Good luck!
   On 4/2/2013 3:08 PM, Teri Hughes wrote:
   I'm using WEBFORM_SetVar and WEBFORM_postData but I need peValue to be
   bigger...up to a maximum of 1900.  I know we really shouldn't modify
   the source in HTTPAPI_H.  Is there another method I should use to
   accomplish passing a field that size?
   Teri Hughes
   Programmer/Analyst
   Prime, Inc.
   2740 N Mayfair
   Springfield, MO 65803
   (417)521-3342 - work
   [1]thughes@xxxxxxxxxxxx
     __________________________________________________________________
   If you would prefer not to receive further e-mails from Prime Inc.,
   please FORWARD this email to [2]postmaster@xxxxxxxxxxxx and put
   unsubscribe in the subject or message body. Before printing this email,
   please verify it is necessary.
   This email and any files transmitted with it are confidential and
   intended solely for the use of the individual or entity to whom they
   are addressed. If you have received this email in error please reply to
   the sender of the message.
   The views expressed in this correspondence may not reflect the views of
   Prime, Inc.
   This footnote also confirms that this email message has been scanned
   for the presence of computer viruses.
     __________________________________________________________________
   Prime Inc, 2740 N Mayfair Ave Springfield, MO 65803
References
   1. mailto:thughes@xxxxxxxxxxxx
   2. mailto:postmaster@xxxxxxxxxxxx
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------