Product Documentation
Virtuoso Studio Design Environment SKILL Reference
Product Version IC23.1, November 2023

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.

This function does not apply to OpenAccess ddpi.

Arguments

None

Value Returned

t

Current setting is set to t, implying that the warning will be printed.

nil

Current setting is set to nil, implying that the warning will be suppressed.

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

ddSetTmpdirWarn


Return to top
 ⠀
X