xRPG Core Library Additional Materials - /copy members
There are a few extra Copybooks in RPGNEXTLIB/QRPGLESRC:
/copy rpgnextlib/qrpglesrc,cp_ifs - A convenience "/copy" member
that has the standard IFS prototypes for open, read, write,
close, lseek, __errno, and strerror. Also the "longPathName" datastructure and all the standard constants.
Most of the prototypes and such are courtesy the ubiquitous "Sorcerer's Guide..." (You will need to
reference the 'QC2LE' Binding Directory in order to use these prototypes).
/copy rpgnextlib/qrpglesrc,cp_mathprs - Another convenience "/copy" member that wraps most of the
advanced Math C Functions such as sine. cosine, tangent, etc. It also predefines PI as a constant
variable with value of 3.141592654. (You will need to
reference the 'QC2LE' Binding Directory in order to use these prototypes).
/copy rpgnextlib/qrpglesrc,cp_protos - These are the internal prototypes for all the procedures.
You can use this "/copy" member instead of cp_longprs if you encounter a namespace violation. Along those lines,
feel free to copy cp_longprs to another member and name the procedures whatever you like!
/copy rpgnextlib/qrpglesrc,cp_const - A small collection of standard constants that I created just so I don't have to constantly reinvent the wheel, like "true = '1'", "false = '0'", "singleQuote const('''')", etc. I'll add to this as I become aware of other that make sense.
/copy rpgnextlib/qrpglesrc,ds_rtvmbrd - Includes the three data structures defined by the QUSRMBRD API. Specifically for use with the rtvMemberD() procedure. The data structures are named QBasic, QExpanded, and QFull and each one is defined with the "Qualified" option.
/copy rpgnextlib/qrpglesrc,ds_usrprs - The user space prototypes. Specifically for use with the RNBUSRSPC service program's procedures.
/copy rpgnextlib/qrpglesrc,ds_uslfld - The prototypes for working with the QUSLFLD API.
Specifically for use with the RNBQUSLFLD service program's procedures. Includes extpgm prototypes for QUSLRCD and QUSLFLD.
This site conforms with the following W3C specifications: