OpenTP1 Version 7 Operation

[Contents][Index][Back][Next]

prcpath (Change search path names for user server and for command activated from user server)

Format

prcpath changed-path-name [:changed-path-name]...

Function

The prcpath command changes to a specified path name the search path used when a user server process is started and the search path used for a command to be activated from the user server.

The user server before the search path change and the user server started by the search path change both exist after the prcpath command executes. If this is not desirable, the search path change must be executed after terminating one of the user servers.

Command arguments

changed-path-name~<path name> <<$DCDIR/aplib:$DCDIR/bin>>

Specifies the changed search path name.

More than one search path name can be specified, with a colon (:) placed between names. If specified, additional search path names must include the existing paths. The allowable number of search path names that can be specified is 255 characters including colon (:).

Notes

The following explains the procedure for creating a new user server under a separate directory from the one containing the currently active user server:

  1. Terminate the currently active user server with the dcsvstop command.
  2. Define a user server under a separate directory.
  3. Change the path to the new directory with the prcpath command.
  4. Start the new user server with the dcsvstart command.

Output messages

Message ID Description Output destination
KFCA00710-E Shared memory cannot be used. Standard error output
KFCA00712-E Unexpected error occurred. Standard error output
KFCA00750-E Memory is inadequate. Standard error output
KFCA00755-E Communication cannot be established between processes. Standard error output
KFCA00756-E An argument is invalid. Standard error output
KFCA00757-E File was not found. Standard error output
KFCA00758-E Specification information is not a directory. Standard error output
KFCA00792-I Help message Standard output