WRITE_PROCESS cannot handle empty data sequence reference, receive U00020791 error

Document ID : KB000088105
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Error Message :
U00020791 Runtime error in object 'SCRI.IF' line '00002': The data sequence is invalid

The WRITE_PROCESS cannot handle an empty data sequence reference and the above error message is displayed.

Investigation

Create an empty file "dfs_input.txt" and start the following Automeation Engine (AE) script. 
:set &hnd# = prep_process_file("win64", "c:\temp\sis\dfs_input.txt", , , , "UC_LOGIN=LOGIN.GP") 
:set &ret# = write_process(&hnd#, "c:\temp\sis\write_process.txt", win64, login.gp, overwrite) 
:if &ret# > 0 
: set &errnr# = sys_last_err_nr() 
: set &errins# = sys_last_err_ins() 
: set &message# = get_msg_txt(&errnr#, &errins#) 
: send_msg &$user#, &$department#, &message# 
:endif 
Environment:
OS Version: N/A
Cause:
Cause type:
Defect
Root Cause: WRITE_PROCESS with empty process not possible.
Resolution:
Update to a fix version listed below or a newer version if available.

Fix Status: Released

Fix Version(s):
Automation.Engine 11.2.3 - Available
Additional Information:
Workaround :
N/A