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
 

 

FTP from mainframes

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

Active User


Joined: 14 Dec 2008
Posts: 103
Location: India

PostPosted: Thu Feb 25, 2010 12:41 pm    Post subject: FTP from mainframes
Reply with quote

Hi All,
I am trying to FTP a file from mainframes to a windows server. This job was running fine till i a made a change in the parm card used for login into the server. I added teh exit parameter to this parm card so that the job will abend when ther is some problem with FTP
Code:
<ipaddress> (EXIT
<userid>     
<password>     

This parm card is concatenated with another parm card,
Code:
 ASCII                                                 
 SITE CYLINDERS PRIMARY=10 SECONDARY=2 DIRECTORY=50     
 CD \AM-PM\GLDATA\DAILY                                 
 PUT 'GL.xxxx.yyyy(ACTIVITY)' ACTIVITY.DAT
 QUIT       
   



The spool message is
Code:
EZA1460I Command:                                                   
EZA1736I CD \AM-PM\GLDATA\DAILY                                     
EZA1701I >>> CWD \AM-PM\GLDATA\DAILY                               
550 /AM-PM/GLDATA/DAILY: The system cannot find the path specified.
EZA1735I Std Return Code = 07550, Error Code = 00002               
EZA1701I >>> QUIT                                                   

what could be the problem? will it be solved if i remove the CD \AM-PM\GLDATA\DAILY command?
Please help

Thank you
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10274
Location: italy

PostPosted: Thu Feb 25, 2010 12:50 pm    Post subject: Reply to: FTP from mainframes
Reply with quote

Code:
550 /AM-PM/GLDATA/DAILY: The system cannot find the path specified.


doesn' t the message itself hints You about the problem?? seems clear to me!

ask Your support about the right requirements and proper path specifications

we do not belong to Your organization so we cannot tell the consequences
taking away the change directory command will get rid of the error message,
butt we cannot tell if the final location of the dataset will be the right one
Back to top
View user's profile Send private message
hiravibk
Warnings : 1

Active User


Joined: 14 Dec 2008
Posts: 103
Location: India

PostPosted: Thu Feb 25, 2010 1:07 pm    Post subject:
Reply with quote

Thnaks Enrico for your quick reply. But i have a question here. I checked inthe server, and found that the directory is existing and we been recieving files in this directory in the past. Why is throwing an Abend now but ftpying successfully to this directory in teh past??
Thank you
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


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

PostPosted: Thu Feb 25, 2010 4:57 pm    Post subject:
Reply with quote

hlravibhk, your FTP commands are attempting to write to the directory. In which case, it doesn't really matter if you've been retrieving ("recieving" sic) in the past since this is a different operation and you may (or may not) have permission to write to the directory. You need to work with whoever owns the server to resolve the issue -- this is not a mainframe problem, it is a Windows server problem.
Back to top
View user's profile Send private message
hiravibk
Warnings : 1

Active User


Joined: 14 Dec 2008
Posts: 103
Location: India

PostPosted: Thu Feb 25, 2010 6:10 pm    Post subject:
Reply with quote

I will get in touch with sever engineers here. Thank you for your suggestion Robert.
Back to top
View user's profile Send private message
hiravibk
Warnings : 1

Active User


Joined: 14 Dec 2008
Posts: 103
Location: India

PostPosted: Tue Mar 02, 2010 12:41 pm    Post subject:
Reply with quote

Hi All,

I got this problem resolved. It was the issue with CD command.
The ip address, login id for this server directly takes me to the directory
/AM-PM/GLDATA/DAILY . The CD command is again trying to find /AM-PM/GLDATA/DAILY in the directory /AM-PM/GLDATA/DAILY. This CD command is unnecessary and i removed it. It worked fine and file was ftped to /AM-PM/GLDATA/DAILY.

Thank you all...
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


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

PostPosted: Tue Mar 02, 2010 7:24 pm    Post subject:
Reply with quote

Glad to hear you got it resolved!
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 Are there any Freeware utilties for i... johnmull IBM Tools 2 Wed Dec 21, 2016 8:29 am
No new posts creating a physical sequential file i... Shaheen Shaik JCL & VSAM 8 Wed Jun 29, 2016 3:46 pm
No new posts How to read a excel sheet and load it... Radhika Nambiar Java & MQSeries 10 Wed Mar 30, 2016 4:49 pm
No new posts NDM Packed Data file from Mainframes ... santhosh5983 IBM Tools 2 Wed Mar 30, 2016 2:36 am
This topic is locked: you cannot edit posts or make replies. Need a JCL for FTP the text file to D... Hareesh Verma JCL & VSAM 7 Fri Mar 25, 2016 12:11 pm


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