In order to switch between the local DMS file system and the local POSIX file system with the lcd command, you need to specify a defined string (see "lcd - Change local working directory"). If problems are encountered when using the standard strings %BS2000 and %POSIX (e.g., because a POSIX directory of the same name exists), the first character of the string can be modified with modchar.
The current string can be queried with the status command.
The relevant setting can be made on a BS2000 FTP server with the quote site modc command (see "FTP servers in BS2000").
modchar |
<character> |
<character>
New first character in the strings used for switching between the DMS and the POSIX file system.
Example
Query the local working directory.
lpwd Local directory is :4:$TEST.
Switch from the DMS HOME directory to the POSIX HOME directory.
lcd %POSIX Local directory now /home/usr. lpwd Local directory is /home/usr.
The first character in the currently set string to switch between the DMS and POSIX file systems is changed to #.
modchar # The prefix has been set to #.
Switch from the POSIX HOME directory to the DMS HOME directory.
lcd #BS2000 Local directory now :4:$TEST. lpwd Local directory is :4:$TEST.