In this blog post, let’s learn about the error message “20459 You specified -both for the GOAWAY request. However, only file exists. You must use -df or -rf option to GOAWAY the label.” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.
Error Message
20459 You specified -both for the GOAWAY request. However, only file exists. You must use -df or -rf option to GOAWAY the label.
Reason for the Error
The GOAWAY operation failed because only the data fork or resource fork exists, and the -both option was specified.
Solution
If file ends in 00, rerun the request with the -df option. If file ends in 01, rerun the request with the -rf option