Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

IBM i cd (Change Directory) Command

When you authenticate with a UDM Server running under IBM i, the current library is set to the default library for that user.

In file operations where the library is not identified explicitly as a part of the file specification, the current library is used instead.


Example:

With a current library set to MYUSER, this command will result in a destination file specification name of MYUSER/MYFILE(MYMEMB).


You can change the current library by issuing the cd (Change Directory) command with the new library name as in this example:


There is a special case, when using UDM from one IBM i machine to another, where the source library name can be used instead. In order for this to work, you must first clear the destination current library by issuing the following command:

 

  • No labels