Managed File Transfer

Sterling Managed File Transfer

Come for answers, stay for best practices. All we're missing is you.


#Sterling
#Supplychain
 View Only
  • 1.  IBM Connect Direct v6.3.0.6_ifix044 Process Monitor

    Posted 05/04/26 07:15 AM

    Hi guys

    Did anyone experience the issue where after sending a file in Connect Direct v6.3.0.6_ifix044 the process gets stuck in the process monitor. This started after installing the v6.3.0.6-ifix044, all the processes are not clearing as they used to in v6.1.0 and v6.3.0. 

    Regards

    Fumani



    ------------------------------
    Fumani Hlungwani
    ------------------------------


  • 2.  RE: IBM Connect Direct v6.3.0.6_ifix044 Process Monitor

    Posted 05/05/26 07:22 AM

    Hi Fumani,

    which platform are you running Connect Direct on? Is it Windows?

    Once a process completes - successfully or with failures - it will be automatically removed from the TCQ.

    Processes you see in the TCQ are not completed yet. Typically, they are scheduled, waiting for a connection, executing, retrying or hold in error. For further details, see TCQ Logical Queues - IBM Documentation.

    To get more insight of your processes, I suggest to check their TCQ status and statistics.



    ------------------------------
    Volker Friedrich
    ------------------------------



  • 3.  RE: IBM Connect Direct v6.3.0.6_ifix044 Process Monitor

    Posted 05/05/26 08:51 AM

    Hi Volker

    Thank you for feedback, so I went back to check exactly what happened since it was working fine in CD 6.1.0 and 6.3.0. I'm running CD in Windows.

    I have picked up these:

    1. All our outbound processes have a step to log an entry in the specific folder, which was used in CD 4.6, 4.7, 6.1 and it was working in CD 6.3.0, code below

    IF (STEP1 EQ 0) THEN
    LOGOK RUN TASK PNODE (PGM=WINDOWS)
    SYSOPTS="cmd(C:\Connect\Process\logstamp.bat) args(~"&F~" &D &T OK)"
    ELSE 
    LOGNOTOK RUN TASK PNODE (PGM=WINDOWS)
    SYSOPTS="cmd(C:\Connect\Process\logstamp.bat) args(~"&F~" &D &T NOTOK)"
    EIF 
    PEND
    2. The script is saved is in this C:\Connect\Process\logstamp.bat) and the logs are saved here C:\Connect\FileAgent\Logs
    Script:
    @echo off
    rem Script to generate a logentry
    rem ------------------------------
    set LOGDIR=C:\Connect\FileAgent\Logs
    set LOGFILE=ConnectDirect.log
    set FILENAM=%1
    set FDATE=%2
    set FTIME=%3
    set FSTATUS=%4
    echo Filename=%FILENAME%
    Fdate=&FDATE%
    echo %FDATE%%FTIME% FILE processed: %FILENAM%, Status: %FSTATUS% >> %LOGDIR%\%FDATE%_%LOGFILE%

    3. It looks like after installing 6.3.0.6_iFix044, CD can't log the entries in that folder hence we have processes not completing and gets stuck in the process monitor.
    4. In the Process Monitor the step name highlighted point to the LOGOK which is the last step after transferring the file to the client.
    5. The service account has permission to the folders, I'm not sure if these log entries are being logged somewhere.





    ------------------------------
    Fumani Hlungwani
    ------------------------------



  • 4.  RE: IBM Connect Direct v6.3.0.6_ifix044 Process Monitor

    Posted 05/06/26 07:16 AM
    Hi Fumani,
    There appears to be an issue with "cmd() args()". IBM Support is currently investigating.
    Since you are calling a batch file, you can simply overcome this by replacing cmd() with pgm() in your RUN TASK.

    LOGOK RUN TASK PNODE (PGM=WINDOWS)
    SYSOPTS="pgm(C:\Connect\Process\logstamp.bat) args(~"&F~" &D &T OK)"
    LOGNOTOK RUN TASK PNODE (PGM=WINDOWS)
    SYSOPTS="pgm(C:\Connect\Process\logstamp.bat) args(~"&F~" &D &T NOTOK)



    ------------------------------
    Volker Friedrich
    ------------------------------



  • 5.  RE: IBM Connect Direct v6.3.0.6_ifix044 Process Monitor

    Posted 05/07/26 01:39 AM

    Hi Volker

    I have updated few processes to test with replacing cmd() with pgm(). All the processes I have tested with are now logged in the log file (C:\Connect\FileAgent\Logs) and cleared in the Process Monitor.

    Thank you, hopefully when IBM finds the solutions won't require us to change again.

    Regards

    Fumani



    ------------------------------
    Fumani Hlungwani
    ------------------------------



  • 6.  RE: IBM Connect Direct v6.3.0.6_ifix044 Process Monitor

    Posted 05/26/26 11:30 AM

    The issue has been fixed in CD Windows 6.3.0.6_iFix060 and 6.4.0.4_iFix033, available on IBM Fix Central.



    ------------------------------
    Volker Friedrich
    ------------------------------



  • 7.  RE: IBM Connect Direct v6.3.0.6_ifix044 Process Monitor

    Posted 05/27/26 06:36 AM

    Hi Volker

    I have installed the fix 6.3.0.6_iFix060, tested and all good both pgm() and cmd() are working perfectly.

    Thank you for the assistance.

    Regards

    Fumani



    ------------------------------
    Fumani Hlungwani
    ------------------------------



  • 8.  RE: IBM Connect Direct v6.3.0.6_ifix044 Process Monitor

    Posted 07/08/26 12:09 PM
      |   view attached

    Hi Volker. 

    We have 2 computers PRE and 2 in PRO 

    Entorno Versión Resultado
    PRE 6.1.0.2_iFix050 ✔ OK
    PRE 6.4.0.3_iFix019 ✖ Error LSMR014I
    PRO 6.1.0.2_iFix050 ✔ OK
    PRO 6.4.0.0 ✖ Error LSMR014I

    Lo que se ejecuta desde HOST es enr esument esto

    RUN TASK (PGM='NT')
    SYSOPTS=&CMDXP
    
    CMD(D:\APLIC\CONNECT\PAPYRUS\APP\CONVPAPYRUS.CMD ...)

    The initial COPYs end correctly.
    The RUN TASK returns LSMR014I File exe not found during RUN JOB/RUN TASK - rc 2.
    Below is LSMG415I Runtask wait failed.
    The files that would be generated TXT and AFP do not exist because the process never generates them.
    Manual execution of the CMD ends correctly.

    I have read about changing CMD to PGM and also that making an update to 6.4.0.4 ifix 33 or higher should be fixed

    I have uploaded from 6.4.0.0 to 6.4.0.5 fp 5 (last available) and the error that occurs is the same



    ------------------------------
    MIGUEL ANGEL PUENTE
    ------------------------------

    Attachment(s)

    txt
    incidencia.txt   16 KB 1 version


  • 9.  RE: IBM Connect Direct v6.3.0.6_ifix044 Process Monitor

    Posted 07/08/26 12:09 PM
      |   view attached

    Hi Volker could help me ?

    2. Executive Summary

    The same PROCESS and the same CONVPAPYRUS script. CMDs work correctly in Connect:Direct 6.1.0.2_iFix050, but systematically fail in 6.4.0.0 and 6.4.0.3_iFix019 only when executed using RUN TASK (PGM='NT') using SYSOPTS="CMD(...)".

    3. Results matrix

    Environment Version Result
    PRE 6.1.0.2_iFix050 ✔ Correct
    PRE 6.4.0.3_iFix019 ✖ Error LSMR014I
    PRO 6.1.0.2_iFix050 ✔ Correct
    PRO 6.4.0.0 ✖ Error LSMR014I

    4. Evidence

    • The initial COPY ends successfully.
    • The RUN TASK returns LSMR014I File exe not found during RUN JOB/RUN TASK - rc 2.
    • Then LSMG415I Runtask wait failed.
    • TXT and AFP files do not exist because the process never generates them.
    • The manual execution of the CMD completes successfully.

    5. Hypotheses evaluated

    Hypothesis Status Justification
    Error in CONVPAPYRUS. Commander Discarded The script works outside of Connect:Direct.
    Error in data or parameters Discarded The same data works in 6.1.
    Windows Permissions Unlikely It does not explain the change between versions.
    Change in RUN TASK/SYSOPTS CMD() Very likely Matches IBM documentation and incidents.

    6. Technical analysis

    RUN TASK (PGM='NT')
    SYSOPTS=&CMDXP
    
    CMD(D:\APLIC\CONNECT\PAPYRUS\APP\CONVPAPYRUS.CMD ...)

    The difference in behavior occurs exclusively after the upgrade to the 6.4 branch, maintaining the same PROCESS, script, parameters, and data.

    7. IBM References

    8. Recommendations

    1. Upgrade to at least 6.4.0.4_iFix033 or later.
    2. As a test, temporarily replace CMD(...) with PGM(...) if the PROCESS allows it.* (Its impossible it's Production )
    Conclusion: The available evidence suggests that the problem is associated with the treatment of SYSOPTS="CMD(...)" in Connect:Direct 6.4 and not to the CONVPAPYRUS script. CMD. The correlation with IBM-documented issues and the difference between versions make it advisable to validate the behavior after applying the most recent maintenance.

    9. Compatibility of recommended versions and levels

    Operating System Branch Recommended level
    Windows Server 2016 6.3.x 6.3.0.6_iFix060
    Windows Server 2019 6.3.x 6.3.0.6_iFix060
    Windows Server 2022 6.4.x 6.4.0.5
    Windows Server 2025 6.4.x Latest Fix Pack available

    10. Branch Reference 6.1

    Branch Validated level
    6.1.x 6.1.0.2_iFix050

    11. Migration recommendations

    1. Windows Server 2016/2019: Use 6.3.0.6_iFix060.
    2. Windows Server 2022: Upgrade directly to 6.4.0.5.
    3. Do not recommend 6.4.0.0 or 6.4.0.3_iFix019 for this scenario.
    4. If the problem persists, open IBM case by attaching PROCESS, statistics and logs.


      After update from 6.4.0.0 to 6.4.0.5 fp 5 a new execution obtain the same error

      could be a syntax change in 6.4.X.X from 6.1.0.2 in host invocation command? 


    ------------------------------
    Miguel A. Puente
    ------------------------------

    Attachment(s)

    txt
    incidencia.txt   16 KB 1 version


  • 10.  RE: IBM Connect Direct v6.3.0.6_ifix044 Process Monitor

    Posted 07/17/26 11:21 AM

    Hi,

    this sounds like a different issue. 

    As the LSMR014I "rc 2" message states, Connect:Direct could not find the file to be executed during the RUN TASK step. As a result, the RUN TASK step will fail as indicated by LSMG415I.

    For a RUN TASK using PGM, this is likely the file specified with the PGM parameter.

    For a RUN TASK using CMD, the file to be executed under the cover is CMD.EXE. Now, if you have a Program Directory restriction configured for your local user or your remote proxy, then this restricts execution to files in the configured directory only. It may not find a CMD.EXE there and hence fail.
      



    ------------------------------
    Volker Friedrich
    Senior Technical Lead | IBM Sterling Connect:Direct & Connect:Express
    Capgemini Engineering
    ------------------------------