Kernel 8.0 APIs Banner
Office of Information and Technology (OIT) Banner
[skip navigation]

$$PWD^%ZISH: Get Current Directory

Reference Type: Supported, Category: Host Files, ICR#: 2320

Description

The $$PWD^%ZISH extrinsic function returns the name of the current working directory.

Format

  $$PWD^%ZISH

Input Parameters

none.

 

Output

returns:

Returns:

  • String—The string representing the current directory specification, including device if any.

  • NULL—If a problem occurs while retrieving the current directory.

Example

>S Y=$$PWD^%ZISH()