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
 

 

JCL for ftp file tranfer from mainframe to PC

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
Arun Aravind

New User


Joined: 20 Jun 2008
Posts: 14
Location: Bangalore

PostPosted: Fri Oct 10, 2008 11:03 am    Post subject: JCL for ftp file tranfer from mainframe to PC
Reply with quote

Hi

Pls help me with JCL for ftp file tranfer from mainframe to PC .I have submitted the JCL:

//User0xxL JOB 'FTP TRANSFER',NOTIFY=&SYSUID,REGION=0M
//FTP EXEC PGM=FTP,PARM=' xx.xx.xx.xx 21 (EXIT=8'
//OUTPUT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//INPUT DD *
userabc
passwordnnn
CD dirabc
PUT 'User0xx.dataset.data'
QUIT
/*
//

and got the following error in SPOOL:

EZA1736I FTP xx.xx.xx.xx 21 (EXIT=8
EZA1450I IBM FTP CS V1R8
EZA1772I FTP: EXIT has been set.
EZA1554I Connecting to: xx.xx.xx.xx port: 21.
220 domainabc Microsoft FTP Service (Version 5.0).
EZA1459I NAME (xx.xx.xx.xx:Userxx):
EZA1701I >>> USER userabc
331 Password required for userabc.
EZA1701I >>> PASS
530 User userabc cannot log in.
EZA1735I Std Return Code = 26530, Error Code = 00011
EZA1701I >>> QUIT
221 Thank You

Even though the password was specified in the jcl,it still doesn't login.I am trying to transfer the files from Mainframe to FTP server running Windows OS.
Back to top
View user's profile Send private message

dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Fri Oct 10, 2008 12:12 pm    Post subject:
Reply with quote

Hello,

Using that id and password, are you able to log on to that ftp server from a desktop pc? It sounds as though the id/pwd is not valid for that server?

Keep in mind that most Windows passwords are mixed case (not just upper-case as on the mainframe).
Back to top
View user's profile Send private message
Arun Aravind

New User


Joined: 20 Jun 2008
Posts: 14
Location: Bangalore

PostPosted: Fri Oct 10, 2008 1:04 pm    Post subject:
Reply with quote

yes i am able to login to ftp server from Desktop PC.I am able to access the FTP server from ISPF command shell.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


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

PostPosted: Fri Oct 10, 2008 4:46 pm    Post subject:
Reply with quote

The 26530 indicates you cannot log in because of a password failure. Can you start on OMVS session and use FTP to log into the Windows server from it using the userabc/passwordnnn ? Note: just getting to the server from OMVS FTP means nothing; you get to the server in your batch job output. It is the signon that is in question.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Fri Oct 10, 2008 7:14 pm    Post subject:
Reply with quote

Hello,

Possibly (as suggested earlier) the Win-based system has a mixed-case password and you are sending all upper case. . .
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 -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Split file based on comparsion to 2 f... Div Grad DFSORT/ICETOOL 3 Thu Jul 27, 2017 9:16 pm
No new posts Extra character appears in file when ... Balu5491 All Other Mainframe Topics 1 Wed Jul 26, 2017 2:39 pm
No new posts SSH - known_hosts file configuration vasanthz All Other Mainframe Topics 2 Wed Jul 26, 2017 2:10 am
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts Mainframe Opening in Chennai ( 2 to 4... muralikrishnan_new Mainframe Jobs 0 Tue Jul 18, 2017 2:20 pm


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