Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
FTP Problem, please assists

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Other Mainframe Topics
Author Message
veena_nagesh2002
Warnings : 1

Active User


Joined: 07 May 2005
Posts: 60
Location: hyderabad

PostPosted: Mon May 12, 2008 2:13 pm    Post subject: FTP Problem, please assists
Reply with quote

what's wrong in my code, more over how i can debug FTP error codes is there any help in the sites

//STEP010 EXEC PGM=FTP,REGION=4M,PARM='148.171.100.2 (EXIT TIMEOUT 1440'
//*
//OUTPUT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSMDUMP DD SYSOUT=*
//*
//NETRC DD *
MACHINE 148.171.100.2 LOGIN PU70XXX PASSWORD XXXXX
//*
//INPUT DD *
CD C:\NAGESH
ASCII
PUT 'SSR.VPLUS.APR09' NAG.TXT
DIR
QUIT
//*

ERROR MESSAGE

EZA1701I >>> LANG en
200 - Language is en-US (United States English)
EZA1701I >>> USER PU7052A
331 Send password please.
EZA1701I >>> PASS
530 PASS command failed
EZA1735I Std Return Code = 26530, Error Code = 00011
EZA1701I >>> QUIT
221 Quit command received. Goodbye.

have been tried in the below methods also

Try 2:

//INPUT DD *
CD NAGESH
ASCII
GET 'SSR.VPLUS.APR09' NAGES1
DIR
QUIT
//*

Error 2:

EZA1460I Command:
EZA1736I CD NAGESH
EZA1701I >>> CWD NAGESH 00260001
501 A qualifier in "NAGESH 00260001" contains an invalid character
EZA1735I Std Return Code = 07501, Error Code = 00002
EZA1701I >>> QUIT
221 Quit command received. Goodbye.

Try 3:

//INPUT DD *
CD NAGESH
ASCII
GET 'SSR.VPLUS.APR09' NAGESH.TXT
DIR
QUIT
//*

Error 3:

EZA1460I Command:
EZA1736I CD NAGESH
EZA1701I >>> CWD NAGESH 00260001
501 A qualifier in "NAGESH 00260001" contains an invalid character
EZA1735I Std Return Code = 07501, Error Code = 00002
EZA1701I >>> QUIT
221 Quit command received. Goodbye.
Back to top
View user's profile Send private message
References
PostPosted: Mon May 12, 2008 2:13 pm    Post subject: Re: FTP Problem, please assists Reply with quote

Moved: Mon May 12, 2008 4:35 pm by superk From JCL to Other Mainframe Topics
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 2999
Location: Charlotte,NC USA

PostPosted: Mon May 12, 2008 5:09 pm    Post subject: Re: FTP Problem, please assists
Reply with quote

veena_nagesh2002 wrote:
how i can debug FTP error codes is there any help in the sites


As always, you can lookup IBM error codes using their LookAt - z/OS message help facility:

http://www-03.ibm.com/systems/z/os/zos/bkserv/lookat/

For FTP reply codes, you have to go to the internet standard source document, RFC959:

http://www.faqs.org/rfcs/rfc959.html

Basically, I would guess that your password is incorrect. For the other ones, it looks like you have line numbers turned on in your code, hence the 00260001 value being shown.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 2295
Location: italy

PostPosted: Mon May 12, 2008 5:12 pm    Post subject: Reply to: FTP Problem, please assists
Reply with quote

Quote:
ZA1701I >>> CWD NAGESH 00260001


at a quick glance it looks like Your source jcl has "number on" ???
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1