SQL/MX 2.x Reference Manual (H06.04+)

SQL/MX Utilities
HP NonStop SQL/MX Reference Manual540440-003
5-20
Examples of GOAWAY
\FIGARO.$DATA09.ZSDLLS6G.WKPRKR00 but a resource fork
exists \FIGARO.$DATA09.ZSDLLS6G.WKPRKR01.
Attempt to drop only a resource fork of a file with both forks:
mxtool goaway \$DATA09.ZSDLLS6G.WKPRKR01 -rf
*** ERROR[20451] You asked to drop only the resource fork
\FIGARO.$DAT09.ZSDLLS6G.WKPRKR01 but a data fork exists
\FIGARO.$DAT09.ZSDLLS6G.WKPRKR00.
Attempt to drop a Guardian file on a remote system:
mxtool goaway \\SQUAW.\$DATA09.ZSDLLSRG.GJ1GNR00
*** ERROR[20452] GOAWAY cannot be used to remove a Guardian
file on a remote system \SQUAW.
Attempt to drop a file, but the operation times out:
mxtool goaway \$DATA09.ZSDKJWZP.BG4QTN00 !
*** ERROR[20453] Operation failed on
\FIGARO.$DATA09.ZSDKJWZP. BG4QTN00 due to timeout.
Attempt to drop a file, then abort attempt:
mxtool goaway \$DATA09.ZSDKJWZP.BG4QTN00
*** WARNING[20456] The following file will be removed
\FIGARO.$DATA09.ZSDKJWZP.BG4QTN00. Are you sure? (Enter YES or NO):
no
*** WARNING[20457] GOAWAY aborted at the request of the user.
Attempt to drop a file whose resource fork has been deleted:
mxtool goaway \$data09.ZSDT6TG2.HMVV3500
*** ERROR[20459] You specified -both for the GOAWAY request.
However, only \FIGARO.$DATA09.ZSDT6TG2.HMVV3500 exists. You must use
-df or -rf option to GOAWAY the label.
Attempt to drop both fork files, but specify the resource fork file name:
mxtool goaway \$DATA09.ZSDLLS6G.WKPRKR01 -both
*** ERROR[20460] You specified -both for GOAWAY request of
\FIGARO.$DATA09.ZSDLLS6G.WKPRKR01. You must specify
\FIGARO.$DATA09.ZSDLLS6G.WKPRKR00 to GOAWAY the label.
Attempt to drop the data fork, but specify the resource fork file name:
mxtool goaway \$DATA09.ZSDKJWZP.BG4QTN01 -df
*** ERROR[20461] Option -df does not match label
\FIGARO.$DATA09.ZSDKJWZP.BG4ATN01. Use -rf option to GOAWAY the label.
Attempt to drop the resource fork, but specify the data fork file name:
mxtool goaway \$DATA09.ZSDKJWZP.BG4QTN00 -rf
*** ERROR[20462] Option -rf does not match label
\FIGARO.$DATA09.ZSDKJWZP.BG4ATN00. Use -df option to GOAWAY the label.