Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

EZA1735I Std Return Code = 15504, Error Code = 00002

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging
View previous topic :: :: View next topic  
Author Message
sampaul4u

New User


Joined: 27 Mar 2010
Posts: 19
Location: folirida

PostPosted: Wed Dec 15, 2010 6:09 pm    Post subject: EZA1735I Std Return Code = 15504, Error Code = 00002
Reply with quote

Hi,
My FTP statements:
cd /main/country
pwd
ebcdic
put 'XXXX.XX.XX.XXX' xx.txt
quit

The above FTP statements were working without any issues for years now. Currently I am trying to enhance this FTP job to capture any issues by FTP itself by coding PARM=’(EXIT=nn’. But unfortunately this new FTP command with PARM='(EXIT=nn' threw an error and terminated the FTP process.

Job spool message:
EZA1736I /main/country
EZA1701I >>> CWD /main/country
250 CWD command successful.
EZA1460I Command:
EZA1736I pwd
EZA1701I >>> PWD
257 “/main/country" is current directory.
EZA1460I Command:
EZA1736I ebcdic
EZA1701I >>> TYPE E
504 Type E not implemented.
EZA1735I Std Return Code = 15504, Error Code = 00002
EZA1701I >>> QUIT
221

Any guidance to resolve this issue would be greatly appreciated.

Thanks,
Sam.
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8057
Location: East Dubuque, Illinois, USA

PostPosted: Wed Dec 15, 2010 6:17 pm    Post subject:
Reply with quote

Do you get any clues from this:
Code:
EZA1736I ebcdic
EZA1701I >>> TYPE E
504 Type E not implemented.
especially knowing that using EXIT means any FTP error will set a step return code, whereas NOT using EXIT means you'll get a zero return code -- always?
Back to top
View user's profile Send private message
sampaul4u

New User


Joined: 27 Mar 2010
Posts: 19
Location: folirida

PostPosted: Wed Dec 15, 2010 6:38 pm    Post subject:
Reply with quote

Thank you Robert.

Yes I did see it and I guess it is because that EBCDIC is not supported/implemented on the server side. This job used to get the same error (504 Type E not implemented) and RC=0 when EXIT not coded.
Is it possible to avoid the FTP termination at this level even with EXIT parm coded?

Please advise me if I am not clear on my question.

Thanks,
Sam.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8057
Location: East Dubuque, Illinois, USA

PostPosted: Wed Dec 15, 2010 6:58 pm    Post subject:
Reply with quote

Quote:
Is it possible to avoid the FTP termination at this level even with EXIT parm coded?
Yes -- either get rid of the EBCDIC statement or change it to a supported type such as BINARY or TEXT. The whole point of the EXIT parameter is that without it, you'll get a zero return code in the job step no matter what happens to the FTP. If you need to have EXIT, then you need to validate every FTP statement to make sure they are valid statements.
Back to top
View user's profile Send private message
sampaul4u

New User


Joined: 27 Mar 2010
Posts: 19
Location: folirida

PostPosted: Wed Dec 15, 2010 7:01 pm    Post subject:
Reply with quote

That helps me a lot. I am going to get rid of EBCDIC. Thank you very much again.

Thanks,
Sam.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8057
Location: East Dubuque, Illinois, USA

PostPosted: Wed Dec 15, 2010 7:04 pm    Post subject:
Reply with quote

Glad to hear it helped!
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts DB2 Program abending without giving a... rahulgarg14 DB2 3 Mon May 29, 2017 8:10 pm
No new posts Job failing with USER = 4093 REASON C... Pradeepa S ABENDS & Debugging 1 Wed May 17, 2017 3:35 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts COBOL Code Parsers and Lineage Establ... balimanja COBOL Programming 2 Tue May 02, 2017 3:30 am
No new posts Cobol upgrade - source code missing f... gthmrj IBM Tools 1 Wed Apr 26, 2017 6:04 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us