gtpo1m5sOperations

ZFILE export-Create or Display ZFILE Environment Variables

Use this command to create a new, permanent ZFILE environment variable, to display the environment variables that are currently defined, or to change the value associated with an existing environment variable.

Requirements and Restrictions

Format




name
is the name of the new ZFILE environment variable you want to create or the name of the variable that has a value you want to change.

value
is the value to associate with the variable.

Additional Information

Examples

In the following example, the PATH environment variable is changed or created to contain multiple directories.

+---------------------------------------------------------------------------------------------+
|User:   ZFILE export PATH="/usr/bin:/usr/local"                                              |
|                                                                                             |
|System: FILE0003I 08:14:31 export PATH... COMPLETED SUCCESSFULLY. NO OUTPUT TO DISPLAY.      |
|                                                                                             |
+---------------------------------------------------------------------------------------------+

In the following example, the environment variables that are currently available are displayed.

+--------------------------------------------------------------------------------+
|User:   ZFILE export                                                            |
|                                                                                |
|System: FILE0001I 08:14:31 START OF DISPLAY FROM export                         |
|        PWD="/usr/local"                                                        |
|        PATH="/usr/bin:/usr/local"                                              |
|        HOME="/u/usrname"                                                       |
|        END OF DISPLAY                                                          |
+--------------------------------------------------------------------------------+

Related Information