How to do error handle while executing commands through "PREP_PROCESS"?

Discussion created by karthikeayan_9058 on May 4, 2017
Latest reply on May 5, 2017 by Wolfgang_Brueckler_1288

I have created a script object and executing few commands through "PREP_PROCESS".
Since many of my commands returns other than 0, am getting below error. How to handle this and prevent from exiting?

5/4/2017 12:12:28 PM
U00010038 Runtime error: Could not create data sequence 'FILETRANSFER'. Status: '0000001820', return code: '0000000000'.
5/4/2017 12:12:28 PM
U00029003 Cannot open file '/home/karthik/EAACHQMT.TXT(ReadFileAuthority())', error code '2', error description: 'No such file or directory'.
5/4/2017 12:12:28 PM
U00011000 'REPORT' (RunID: '0001048132') could not be started on 'MYAGENT'. See next message.
5/4/2017 12:12:28 PM
U00011003 Job 'EVENT.UNIXCMD' (RunID '0001047255') on Host 'MYAGENT' aborted (return code='0000000255'). Remote ID=20120