IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

SFTP Return Codes


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
NEW2MAIN

New User


Joined: 20 Apr 2023
Posts: 7
Location: United States

PostPosted: Thu Apr 24, 2025 11:49 pm
Reply with quote

I am using COZBATCH as my SFTP utility
5650-ZOS
ISPF 7.4

No matter what I do to try to get my SFTP job to fail, I keep getting the following:

CoZBatchÝI¨: returning rc=exitcode=0

I have changed the server address (incorrect )
I have changed the remote directory (non-existent)
I have changed the file name (incorrect and non-existent)

Any combination of those changes should result in a condition or exitcode of 1. It does not. I am consistently getting a code of 0.

Can someone please tell me why this is happening. I am trying to make the job fail so i can manipulate the in conditions of a dependent job so it will not run if the previous job (SFTP job) has a condition code greater than 0000.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts purge jobs with return code 0 and ret... JCL & VSAM 6
No new posts batch SFTP job using AOPBATCH unable ... All Other Mainframe Topics 7
No new posts BPXBATCH SFTP to remote path having s... All Other Mainframe Topics 6
No new posts Binary File format getting change whi... All Other Mainframe Topics 7
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
Search our Forums:

Back to Top