Exit code 2 for FDM job scheduled by UC4
search cancel

Exit code 2 for FDM job scheduled by UC4

book

Article ID: 258992

calendar_today

Updated On:

Products

CA Test Data Manager (Data Finder / Grid Tools)

Issue/Introduction

Using same user with same permission to execute the job from FDM and from Automic UC4 agent. 

It seems that when the job is run via UC4, the scramble values for FIXED function are not being retrieved, also there is an additional log(as below) entry at the beginning and deleteFile commands are not triggered.

2023-01-26 10:03:42.311 Thread-2 - Interrupt request detected - the masking will be stopped 

Environment

Release : 4.10

Cause

Working as designed for batch job execution.

Resolution

FDM interrupts the masking if its standard input is closed and UC4 agent is doing exactly this after the process is spawned.

Use INTERRUPTIONDISABLED=Y in the options file for the batch(UC4) masking jobs ( can use it for the interactive jobs also but in that case the job can't be interrupted by pressing CTRL+Z).