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: 8002
Location: Bellevue, IA

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: 8002
Location: Bellevue, IA

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: 8002
Location: Bellevue, IA

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 IDC2902I Error tzeche ABENDS & Debugging 2 Tue Mar 28, 2017 11:39 am
No new posts Need help with below DB2 error ashek15 DB2 3 Sat Mar 18, 2017 5:56 am
No new posts JCL to Set Return code based on DB2 S... vinu78 DB2 17 Mon Mar 13, 2017 9:47 pm
No new posts FINDREP Syntax Error seahawk789 DFSORT/ICETOOL 4 Thu Mar 09, 2017 10:11 pm
No new posts INVOKE WEBSERVICE error danik56 CICS 11 Thu Mar 09, 2017 11:52 am


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