Hi Guru's How do I set and external program in SM36 to cause my Job status to reflect as Cancelled when the Job log picks up and error. The Job log correctly flags all the errors but the Job Overview screen still reflects as finished. Does anyone know how I can set the status to cancelled? e.g. My script executes and is supposed to FTP a file from Unix to Wintel, but if there is no connectivity to the receiver the job log is updated, but the Job overall status reflects Finished. See below logs. JOB LOG Date Time Message text Message class Message no. Message typ 2013-06-10 08:23:25 Job started 00 516 S 2013-06-10 08:23:26 Step 001 started BT 611 S 2013-06-10 08:23:26 External program: /utl/app/sh/z_transferfile.sh BT 612 S 2013-06-10 08:23:26 Related parameter: BT 613 S 2013-06-10 08:24:38 Ext. prog.: ssh: connect to host hostname.domain.com port 22: Connection timed out# BT 606 S 2013-06-10 08:24:38 Ext. prog.: lost connection BT 606 S 2013-06-10 08:24:38 Job finished BT 607 S JOB OVERVIEW Status Start date Start time Finished 2013-06-10 08:23:25 Any suggestions will be appreciated and awarded. Thanks Maahir
↧