FATAL error when using Uniupgrade -check
search cancel

FATAL error when using Uniupgrade -check

book

Article ID: 86957

calendar_today

Updated On:

Products

CA Automic Dollar Universe

Issue/Introduction

Error Message :
FATAL | Error generating uxgetinfo. Error is: "Failed to extract uxgetinfo file name" and then the scrpt exit code is Command aborted: return code [1]. visible directly in the script's output

Patch level detected:Dollar Universe Upgrade Toolkit 6.6.01
Product Version: Dollar.Universe 6.6.01

Description :When launching the uniupgrade -check command from the Toolkit, it fails with a fatal error on the uxgetinfo

Environment

OS: Sun Solaris Sparc
OS Version: Solaris 10 Sparc

Cause

Cause type:
Configuration
Root Cause: If the answer of the OS command:
l_data_size=`du -sk /universe/TST50T/exp/data/u_u_fmsp[0-9][0-9].dta | cut -f1`
give an answer with a space instead of a tabulation between words, the cut will not work and then the script aborts.
To check if the answer is correct, you can use the following command:The answer must be the size of the file only due to the cut -f1 parameter.

Resolution

To solve it, you can modify the uxgetinfo file in the bin directory of the Upgrade Toolkit line 419.
Replace the existing line
l_data_size=`du -sk /universe/TST50T/exp/data/u_u_fmsp[0-9][0-9].dta | cut -f1`
by
l_data_size=`du -sk ${l_data_dir_path}/u_${l_file}[0-9][0-9].dta | awk '{print $1}'`

Fix Status: No Fix

Additional Information

Workaround :
N/A