:REGISTER_OUTPUT cuts off value after first blank space
Article ID: 88004
CA Automic Workload Automation - Automation EngineAUTOMIC WORKLOAD AUTOMATION
Error Message : N/A
When using the script function :REGISTER_OUTPUT with a file name which contains a blank space, the registered file name is cut off at the first blank and everything after the space is lost.
1. Create a file named "test space.txt" on a Windows box 2. Create a windows job 3. On the process tab, add the following script: :REGISTER_OUTPUTFILE "C:\test space.txt","N" 4. Execute the job 5. Open the job report 6. The results of the script appear as: C:\test 7. Attempts to open the job report results in an error stating the file cannot be found
If spaces are used in file names you will need to implement the workaround outlined below or upgrade to a version containing the fix.
Cause type: Defect Root Cause: Refer to description
OS Version: N/A
Update to a fix version listed below or a newer version if available.
Fix Status: Released
Fix Version(s): Component(s): AE Server and Initialdata
Automation Engine 11.2.1 - Available Automation Engine 11.1.3 - Available Automation Engine 10.0.8 - Available Automation Engine 10.0.7 - Available
Workaround : Change the includes REGISTER_OUTPUTFILE.UNIX and REGISTER_OUTPUTFILE.WINDOWS. Search for the string:
‘OUTFILE=&uc_register_ofile’ and change it to ‘OUTFILE=”&uc_register_ofile”’