Open System Services Shell and Utilities Reference Manual (G06.29+, H06.08+, J06.03+)
User Commands (p - r) pname(1)
NAME
pname - Displays the OSS pathname of a Guardian file
SYNOPSIS
pname [-s] filename
FLAGS
-s Suppresses formatting and displays only the OSS pathname.
DESCRIPTION
The pname command displays the OSS filename for the Guardian file identified by filename.
This command displays either of the following:
• The full pathname of a file in an OSS fileset when given the filename of that file in the
Guardian file system
• The full OSS pathname for a file in the Guardian file system
Operands
filename Specifies the Guardian filename whose OSS pathname is to be displayed. The follow-
ing special characters must be preceded with a backslash: dollar sign ($) and
backslash (\).
EXAMPLES
1. The command:
pname \$XPG.ZYQ00000.Z00005LN
results in the following output:
pname: $XPG.ZYQ00000.Z00005LN ---> /bin/pname
2. The command:
pname -s \\KT22.\$XPG.ZYQ00000.Z00005LS
results in the following output:
/bin/pname
3. The command:
pname -s \\KT22.\$SYSTEM.SYSTEM.FUP
results in the following output:
/G/system/system/fup
DIAGNOSTICS
The following error message is returned if an invalid filename or a nonexistent file is specified:
Failed with Guardian error: 4022
EXIT VALUES
The pname command returns the following values:
0 (zero) The command completed successfully.
>0 An error occurred.
527188-021 Hewlett-Packard Company 7−27