UC4AGENT crashed on AS400 and showing error PF1338 Errors occurred on SBMJOB command
search cancel

UC4AGENT crashed on AS400 and showing error PF1338 Errors occurred on SBMJOB command

book

Article ID: 196938

calendar_today

Updated On: 01-22-2025

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

UC4AGENT crashed on AS400 and showing error  PF1338 Errors occurred on SBMJOB command

Environment

Component : AS400 Agent

Cause

Log Shows : 

CEE9901    Escape                  30   01/07/20  13:58:53.926869  QLEAWI       QSYS        *STMT    QCMD        QSYS        01C8    
                                     From module . . . . . . . . :   QLETOOL                                                         
                                     From procedure  . . . . . . :   Q LE AWIRaise                                                   
                                     Statement . . . . . . . . . :   176                                                             
                                     Message . . . . :   Application error.  *N unmonitored by *N at statement *N,                   
                                       instruction X'4000'.                                                                          
                                     Cause . . . . . :   The application ended abnormally because an exception                       
                                       occurred and was not handled.  The name of the program to which the                           
                                       unhandled exception is sent is *N *N . The program was stopped at the                         
                                       high-level language statement number(s) *N at the time the message was sent.                  
                                        If more than one statement number is shown, the program is an optimized ILE                  
                                       program.  Optimization does not allow a single statement number to be            

 

To procedure  . . . . . . . :   __crashHandler__FP21_INTRPT_Hndlr_Parms_T                       
                                     Statement . . . . . . . . . :   57           *PRCLT                                             
                                     Message . . . . :   Signal SIGABRT raised (abnormal termination).                               
                                     Cause . . . . . :   The signal SIGABRT was raised to indicate an abnormal  

Around same time 

U02000358 Unable to resolve ip address '<servername>:2218' given from CP during CP selection. Error: 'The name does not resolve for the supplied parameters. >InetAddress.cpp#net::InetAddress::getAddrInfoLogged(const char *, const char *

Resolution

For some reason, the agent is not able to resolve the hostname of the host and crashes.

The workaround consists of populating either Host file or DNS with Hostame and IP of the system. To add a new entry into the host file instruction ADDTCPHTE can be used. 

Additional Information

The same problem with the AS400 agent can encountered with following error message appearing in the logs:

20230801/093118.723 - U02000360 Agent 'PCA' has been started with process ID 'UC4AGENT'.
20230801/093118.798 -           Unable to determine hostname: reason 'The name does not resolve for the supplied parameters. >InetAddress.cpp#net::InetAddress::getAddrInfoLogged(const char *, const char *, int, int, int):834<'.
20230801/093118.977 -           Unexpected exception occured, Agent forces a trace.

Reason : The Hostname of the AS 400 is not correctly defined either in the internal system configuration or on DNS level:

Actions to verify these settings can be one of the two:

The content of Host table entries confirming the host name

Command CFGTCP ==> option 10 (Work with TCP/IP host table entries)

On the AS400 system enter the Unix interface of this AS400 host (command 'QSH')

What does the instruction 'hostname' return?