User's Guide

CMSET

Set Default Directory

Function:

Set the user's default directory to the specified directory.

Parameters:

INDIR
Input name. The catalog manager directory name or alias name of the directory to become the default directory. The directory name may be specified in one of three ways:


  o with the user name and specify the full path name,
    including device,
  o with a "." indicating that it is a subdirectory 
    of the current directory, or
  o with a "-" indicating that it is a subdirectory 
    of the current parent directory.

Examples:

  1. LAS> cmset indir=[myname.test]

    The default directory is set to [MYNAME.TEST].

  2. LAS> cmset indir=[.newyork]

    The default directory is set to subdirectory NEWYORK of the user's current directory.

  3. LAS> cmset indir=[-.alaska]

    The default directory is set to subdirectory ALASKA of the current parent directory.

Description/Algorithm:

CMSET sets the user's default directory to the specified directory. The input parameter is received, validated for syntax, and verified that the specified directory exists before changing directories.

Nonfatal Error Messages:

    None.

Fatal Error Messages:

  1. [cmset-fatal] Fatal error encountered

    The error message that is displayed immediately preceding this message is the specific error that was encountered. Processing is terminated.

  2. [cmset-name] Specification error

    Invalid parameter specification:

        o  The directory name must be enclosed in brackets [].
        o  The directory name must begin with an alphanumeric 
           character, ".", or "-.".  
        o  No wildcard characters are permitted.
    

User Notes:

  1. To specify a different disk or partition on UNIX systems, enter [newdisk.full.path.name].

  2. After executing CMSET and upon exiting LAS, the default directory will be the original directory were LAS was entered.