DBAPP_MOBILE

Defines whether the generated application is for a mobile device.

Set to 1 (TRUE) if the generated application is for a mobile device.

The DBAPP_MOBILE environment variable is used at the application generation level, to perform checks for unsupported functionality on mobile devices. The setting of this environment variable does not influence the generated code. The generated code will be the same regardless of the front end and regardless of the setting of the DBAPP_MOBILE environment variable.

For example, if the generated code includes an INPUT ARRAY statement, setting DBAPP_MOBILE results in warning GS-13145; otherwise there is no warning. Likewise, if the generated code includes a TreeView or ScrollGrid container, warning GS-13149 will be raised when DBAPP_MOBILE is set. The application, however, is still created, and in both cases the program will fail at runtime as the feature or container is not supported on mobile devices.