To make it faster to write your ILE-RPG CGI's,
we have prepared some source members
that will be included in your sources
through /copy ... statements.
Those members are automatically added to your
QRPGLESRC source file
when you run command
cgidev2/setcgilib.
They are automatically included in your prototype
CGI ILE-RPG source when you run command
cgidev2/crtcgisrc.
Here comes the list of those members:
- hspecs
It provides defaults for your CRTRPGMOD command
- hspecsbnd
It provides binding information for your CRTPGM command,
so you do not need to specify it
- prototypeb
It provides the layouts of service program subprocedures prototypes
- usec
It provides the standard layout of APIs return code
- variables1
or
variables2
or
variables3
or
They define most of the variables used to invoke
service program subprocedures.
Three member are available, depending on the combination
of "read input" and "parsing" procedures
that you may select in command
cgidev2/crtcgisrc.
- prolog1
or
prolog2
or
prolog3
They perform the read of the string inputted from
the remote browser.
Three member are available, depending on the combination
of "read input" and "parsing" procedures
that you may select in command
cgidev2/crtcgisrc.
|