:REGISTER_OUTPUT cuts off value after first blank space
book
Article ID: 88004
calendar_today
Updated On:
Products
CA Automic Workload Automation - Automation EngineAUTOMIC WORKLOAD AUTOMATION
Issue/Introduction
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.
Investigation
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
Cause type: Defect Root Cause: Refer to description
Environment
OS Version: N/A
Resolution
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
Additional Information
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”’