ASNA.QSys.Runtime Enumerations
Estimated reading time: 2 minutes
Remarks
The ASNA.QSys.Runtime
assembly contains a collection of enumerations that are used throughout the ASNA QSys system. These enumerations provide a set of predefined constants that make the code more readable and less prone to errors.
These enumerations cover a wide range of functionalities, from defining the valid values for date/time fixed types, specifying the type of Cycle routine to call, to describing the flag that records the status of a workstation dataset as it is processed.
Here are some key points to remember when working with these enumerations:
- Readability: Using these enumerations makes your code more readable, as they provide meaningful names for a set of related values.
- Error Prevention: By using enumerations, you can reduce the likelihood of errors caused by passing in invalid values.
- Consistency: These enumerations provide a consistent way to handle sets of related values across your application.
Remember to refer to the individual enumeration documentation for specific details about each enumeration’s values and usage.
Type | Description |
---|---|
DateTimeDataKind | Describes the valid values for Kind in a date/time fixed type. |
DateTimeSeparator | DateTimeSeparator describes the character separator to use. |
DbcsType | Defines values that describe the kind of DBCS character string of a DBCS field. |
DecimalKind | Indicates the kind of decimal field. |
DurationCode | Describes the valid durations to use in date/time operations. |
EditCodes | Name of Edit-Codes which define output formatting patterns for business numeric data. |
InfSrReturnPoint | Defines the possible execution state where the program cycle is at any given time. |
LayoutType | Contains enumeration values to identify the type of data in a layout. |
Limits | Defines the maximum limits for decimal values, including the maximum number of digits, integral digits, and decimal positions. |
NameStoreOptions | Defines flags that tell the name store which name sources to use. |
OpenAccessDspF | Enumerates the various supported files for Open Access RPG. |
Routine | Specifies the type of Cycle routine to call. |
SearchType | Type of search to perform. |
ServerSupport | For interactive applications that use a virtual terminal, this enum is used to select whether to start a server on the IBMi side. |
TestNumericResult | The possible results of a TestNumeric operation. |
VirtualTerminal | Available virtual terminal options for Monarch applications against the IBMi. |
vxAdjust | Half adjust options. |
WrfOptions | For future expansion, options when obtaining the record format of a display file. |
WsDsStatus | Describes the flag that records the status of a workstation dataset as it is processed. |