View previous topic :: View next topic |
Author |
Message |
taurian Beginner
Joined: 20 May 2004 Posts: 12 Topics: 6
|
Posted: Tue Jun 22, 2004 1:52 pm Post subject: Question on file transfer from FTP to Mainframe |
|
|
Hi,
In JCL, when we try to GET a file which is not there on the FTP server, will it return a invalid code, I am specifically looking for type of error, if any! |
|
Back to top |
|
|
superk Advanced
Joined: 19 Dec 2002 Posts: 684 Topics: 5
|
Posted: Tue Jun 22, 2004 2:09 pm Post subject: |
|
|
550 File transfer failed |
|
Back to top |
|
|
Bithead Advanced
Joined: 03 Jan 2003 Posts: 550 Topics: 23 Location: Michigan, USA
|
Posted: Tue Jun 22, 2004 2:19 pm Post subject: |
|
|
Code this:
Code: |
EXEC PGM=FTP,PARM='/(EXIT=8'
|
It will give condition code 8 on any error. |
|
Back to top |
|
|
taurian Beginner
Joined: 20 May 2004 Posts: 12 Topics: 6
|
Posted: Tue Jun 22, 2004 2:58 pm Post subject: |
|
|
Thanks Bithead |
|
Back to top |
|
|
|
|