workload-automation-community

Open full view…

IWS FTA in AS/400 job occur Setuid() failed

stanyang
Tue, 10 Sep 2019 16:02:13 GMT

Hi all We install a TWS FTA agent in AS/400 ( IBM i), and connect to TWS for z/OS in M/F. . We try to schedules a job in AS/400 TWS agent. But found the Setuid() failed. Below was error message. ===================================================================== AWSBHT001E The job "OPCMASTER#NBSCTWORKDAY((1900 09/09/19),(D6B245B825 800 6E5802)).J_010_NBSCTWORKDAY" in file "SUBMIT: CMD(CALL PGM(FITASOBJ/CT CCRFACCL)) JOB(CTCCRFAC) USER(IS233) JOBD(XBSER09) INLLI BL(*JOBD)" has failed with the error: Setuid() failed with errno = The re is no error.. ===================================================================== and found the TWS Agent stdlist log. also Setuid() failed. and the job was Abend. ====================================================================== ATCHMAN:06:20:12/OPCMASTER#D6B245B8256E5802.J_010_NBSCTWORKDAY#. BATCHMAN:06:20:19/Attempting to launch NBSCTWORKDAY[(1900 09/09/19), BATCHMAN:06:20:19/(D6B245B8256E5802)] on FI01. BATCHMAN:06:20:19/Changing schedule OPCMASTER#NBSCTWORKDAY[(1900 09/09/19), BATCHMAN:06:20:19/(D6B245B8256E5802)] status to EXEC JOBMAN:06:20:20/Received command Lj for run number 1265 from cpu FI01. JOBMAN:Building stdlist directory /maestro/stdlist/2019.09.10. JOBMAN:06:20:21/Sending command Us for cpu FI01 and run number 1265. BATCHMAN:06:20:21/Received Us: FI01# BATCHMAN:06:20:21/+ +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ BATCHMAN:06:20:21/+ Unable to stream job BATCHMAN:06:20:21/+ OPCMASTER#D6B245B8256E5802.J_010_NBSCTWORKDAY in file BATCHMAN:06:20:21/+ OPCMASTER#D6B245B8256E5802.J_010_NBSCTWORKDAY in file BATCHMAN:06:20:21/+ SUBMIT: CMD(CALL PGM(FITASOBJ/CTCCRFACCL)) JOB(CTCCRFAC) BATCHMAN:06:20:21/+ USER(IS233) JOBD(XBSER09) INLLIBL(*JOBD): BATCHMAN:06:20:21/+ Setuid() failed with errno = There is no error.. BATCHMAN:06:20:21/+ +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ BATCHMAN:06:20:21/* *********************************************************** BATCHMAN:06:20:21/* Schedule OPCMASTER#NBSCTWORKDAY[(1900 09/09/19), BATCHMAN:06:20:21/* (D6B245B8256E5802)] has terminated with ABENDED jobs BATCHMAN:06:20:21/* *********************************************************** BATCHMAN:06:20:21/Changing schedule OPCMASTER#NBSCTWORKDAY[(1900 09/09/19), BATCHMAN:06:20:21/(D6B245B8256E5802)] status to ABEND JOBMAN:06:20:21/+ +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JOBMAN:06:20:21/+ Error launching OPCMASTER#NBSCTWORKDAY[(1900 09/09/19), JOBMAN:06:20:21/+ (D6B245B8256E5802)].J_010_NBSCTWORKDAY: Setuid() failed JOBMAN:06:20:21/+ with errno = There is no error..# JOBMAN:06:20:21/+ +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ====================================================================== ======== . For this problem, how to solve this Setuid() Fail problem? . Any advice was welcome, thanks. . Stan Yang

enricaalberti
Wed, 11 Sep 2019 12:11:13 GMT

Do you need an FTA? Have you evaluated the possibility to install a dynamic agent instead? You can find some information on the two agents at the following link if you are interested in: http://www.workloadautomation-community.com/blogs/scheduling-on-iseries-with-workload-automation-the-frequently-asked-questions. In the meantime I'll have a look to your problem.