ddGetTmpdirWarn
ddGetTmpdirWarn( ) =>t/nil
Description
Returns the current setting used to suppress or print a warning message for an ASSIGN statement with attribute TMP that appears in cds.lib files. The TMP attribute defines a temporary storage directory for a read-only or reference library. If you set the DD_TMPDIR_ON environment variable to NO, the temporary directory functionality is turned off and DDPI skips ASSIGN and UNASSIGN statements when parsing cds.lib files and, by default, prints the following warning: WARNING ‘<PATH_TO_CDSLIB_FILE>/cds.lib’, Line 3: skipping: ’ASSIGN’ lib1 TMP /tmp
You can change the setting for printing or suppressing warnings with the ddSetTmpdirWarn function.
Arguments
Value Returned
|
Current setting is set to |
|
|
Current setting is set to |
Example
ddGetTmpdirWarn() returns t if value is set to print warning
(Example: by ddSetTmpdirWarn(t) or by default)
ddGetTmpdirWarn() returns nil if value is set to supress warning (Example: by ddSetTmpdirWarn(nil))
Related Topics
Return to top