Program Verifiers - ILE RPG - Data

Option Description Default
Allow null values Select one of the following items to indicate how the ILE RPG program uses records containing null-capable fields from externally described database files.
  • *NO: Select *NO if you do not want the ILE RPG program to process records with null-value fields from externally described files. If you attempt to retrieve a record containing null values, no data in the record is accessible to the ILE RPG program and a data-mapping error occurs.
  • *INPUTONLY Select *INPUTONLY if you want the ILE RPG program to read records with null-capable fields containing null values from externally described input-only database files. When a record containing null values is retrieved, no data mapping errors occur and the database default values are placed into any fields which contain null values. The program cannot do any of the following:
    • Use null-capable key fields, or create or update records containing null-capable fields
    • Determine whether a null-capable field is actually null while the program is running
    • Set a null-capable field to be null
  • *USRCTL Select *USRCTL if you want the ILE RPG program to read, write and update records with null values from externally described database files. Records with null keys can be retrieved using keyed operations. The program can determine whether a null-capable field is actually null, and it can set a null-capable field to be null for output or update. You must ensure that fields containing null values are used correctly within the program.
  • *YES: Same as *INPUTONLY.
*NO
NLSS Options Sort sequence: Select the option you use to determine the sort sequence. Possible values are:
  • *HEX: The hexadecimal values of the characters are used to determine the sort sequence.
  • *JOB: Uses the SRTSEQ value associated with the job when the RPG program is created.
  • *JOBRUN: Uses the SRTSEQ value associated with the job when the RPG program is run.
  • *LANGIDUNQ: Uses a unique weighted table. This special value is used with the LANGID parameter to select the sort sequence table.
  • *LANGIDSHR: Uses a shared weighted table. This special value is used with the LANGID parameter to select the sort sequence table.
  • sort-sequence-table-name: Type the name of the sort sequence table (SBCS only).
Off
Library: Contains the library name where the sort sequence table is located. Initially this field is blank. To indicate a library, type a name (up to 10 characters), or click the down arrow to select one of the following valid choices:
  • *LIBL: All libraries in the user and system portions of the job's library list are searched.
  • *CURLIB The current library for the job is searched. If no library is specified as the current library for the job, the QGPL library is used. library-name Enter the name (SBCS characters only) of the library in which the sort sequence table is found.
*LIBL
Language ID: Select the option you use to determine the language identifier when the sort sequence is *LANGIDUNQ or *LANGIDSHR. The LANGID parameter is used in conjunction with the SRTSEQ parameter to select the sort sequence table. Possible values are:
  • *JOBRUN Uses the LANGID value associated with the job when the RPG program is run.
  • *JOB Uses the LANGID value associated with the job when the RPG program is created. language-identifier Type the name of the language identifier (SBCS only).
*JOBRUN
Type Conversion Options: Select one or more of the following check boxes to specify how the compiler handles date, time, timestamp, and graphic data types, and variable-length fields from externally described files. Date, time, timestamp: Declares fields containing date, time, or timestamp data as fixed-length character fields. Off
DBCS graphic: Declares fields containing DBCS graphic data as fixed-length character fields. Off
Variable length: Declares fields containing variable-length character data as fixed-length character fields. Off
Variable DBCS graphic: Declares fields containing variable-length DBCS graphic data as fixed-length character fields. Off
Generate program interface: Specifies whether program interface information should be generated into a stream file. CRTBNDRPG: The Create Bound RPG (CRTBNDRPG) command creates a program object from RPG IV source in one step. It also allows you to bind in other modules or service programs using a binding directory. On
CRTRPGMOD: Off
File: The generated PCML makes it easier for Java™ programs to call this RPG program, or the procedure in this RPG module, with less Java code.

Feedback