CA Automic Workload Automation - Automation Engine
Issue/Introduction
Job fails with the following error:
AWI Messages Window:
U00010038 Runtime error: Could not create data sequence 'FILETRANSFER'. Status: '0000001800', return code: '0000000000'. U00029007 Not all blocks (Limit '120') have been transferred from file '/path/filename'.
Environment
Product: Automic Workload Automation
Component: Automation Engine
Version: 21, 24
Cause
PRE_PROCESS command is printing out thousands of lines and AE can not handle printing thousands of lines.
Steps to reproduce the issue:
Create a file with 200000 lines in it - it can be something like /path/filename
$ mkdir scripts
$ cd scripts
$ touch script.sh
$ echo seq 1 200000 > /path/filename
$ chmod -R 777
$ ./script.sh
Run a PRE_PROCESS command in a job that cat's the file: : SET &HND_CMD_COUNT# = PREP_PROCESS(&agent#,UNIXCMD,,"CMD=cat /path/filename","UC_LOGIN=&login#")
Resolution
Use PROCESS instead of PRE_PROCESS and execute OS command.
Example:
Create a file with 200000 lines in it - it can be something like /path/filename
$ mkdir scripts
$ cd scripts
$ touch script.sh
$ echo seq 1 200000 > /path/filename
$ chmod -R 777
$ ./script.sh
Run a PROCESS command in a job that cat's the file: