-p[refix] prefix
Used with -POST and -form to specify the prefix to use when creating
environment variable names. The default is FORM_.
-c[ount]
Used with -keywords,-form, and -value, returns a count of items in the target
buffer that is related to these flags:
-keywords
Returns the number of keywords.
-form
Returns the number of unique fields (multiple values are counted as one)
-value field-name
Returns the number of values for field-name. If there is no field that is
named field-name, the output is 0.
-number
Used with -keywords,-form, and -value. Returns the specified occurrence in
the target buffer related to the following flags:
-keywords
Returns the nth keyword. For example, -2 -keywords writes the second
keyword.
-form
Returns all the values of the nth field.
-value field-name
Returns the nth of the multiple values of field field-name.
-POST
Information from standard input is directly decoded and parsed into values
that can be used to set environment variables. This flag is the equivalent to
consecutive use of the -init and -form options.
-F[sccsid] FileCCSID
The FileCCSID is the name of the file system CCSID used in CCSID conversion
when processing the CGI input data. The CGI program wants the data to be
returned in this CCSID. It only applies when the server is using
%%BINARY%% CGI conversion mode. When an unknown CCSID is set, the
current value of the CGI_EBCDIC_CCSID environment variable is used.
-N[etccsid] NetCCSID
The NetCCSID is the network CCSID used in CCSID conversion when
processing the CGI input data. This is the CCSID that the data is presumed to
be in at this time (as assumed or as set in a charset tag). It only applies when
the server is using %%BINARY%% CGI Input mode. When an unknown
CCSID is set, the current value of the CGI_ASCII_CCSID environment variable
is used.
Output format
INPUT:CHAR(*)
The format of the data to be returned in the target buffer.You must use one of
the following format names:
vCGII0100 This format is the free-form format returned to standard output on
other platforms.
vCGII0200 CGI form variable format. This format only applies to the -form
and -POST option.
34 WebProgramming Guide V4R5