Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

modchar - Modify character string

&pagelevel(4)&pagelevel

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

  1. Query the local working directory.

    lpwd
    Local directory is :4:$TEST.
    
  2. Switch from the DMS HOME directory to the POSIX HOME directory.

    lcd %POSIX 
    Local directory now /home/usr.
    lpwd
    Local directory is /home/usr.
    
  3. 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 #.
    
  4. Switch from the POSIX HOME directory to the DMS HOME directory.

    lcd #BS2000 
    Local directory now :4:$TEST.
    lpwd
    Local directory is :4:$TEST.