I need to use PREP_PROCESS_REPORT and I think it is bad work
Original Message:
Sent: 12-08-2021 12:48 PM
From: Pete Wirfs
Subject: No return code with JFTP ? (OA 12.3)
When you click into the "copy" command of your FTP job, there is also an "Options" drop down.
You should experiment with those options. We typically turn on the option to "Abort the job when source files are not found".
------------------------------
Pete Wirfs
SAIF Corporation
Salem Oregon USA
Original Message:
Sent: 12-08-2021 06:17 AM
From: marc broussard
Subject: No return code with JFTP ? (OA 12.3)
hello
our environnement:
OA: 12.3
on windows servers (windows 2019 and MSQL 2017)
we have a JFTP between an agent (linux) and a FTPCONN object (it is some sftp)
When it is in error, I have the information in the report, but not as a return code:
error in the report:
...
....
No such filecom.uc4.ftpjob.DataTransferException: Unable to open file
???
I need to know if the JFTP works.
I try to catch the return code in the post process:
:SET &STATUT# = GET_UC_OBJECT_STATUS(,,"STATUS")
:PRINT le statut pour le transfert est &STATUT#
And I get always 1900 (If the JFTP works or not).
The question:
Is it possible to catch the information of success or failure in a RETURN CODE
Or I have no choice and I have to read the report of the JFTP to get the information ?
Thanks for your help