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
 
Put command in FTP card

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Other Mainframe Topics
Author Message
vaishali tambe

New User


Joined: 16 Apr 2008
Posts: 24
Location: pune

PostPosted: Wed Oct 08, 2008 11:24 am    Post subject: Put command in FTP card
Reply with quote

Hi ,
In my control card command is :
PUT 'F1ZHPB.CPMJ9300.GROUP.LVL.SUMMARY(+0)' 'F142.HCRA.NOCSA.GRP'

Please tell me whether this will replace 'F142.HCRA.NOCSA.GRP' file?
or I have to give replace command in FTP card before above command to replace this output file.
Back to top
View user's profile Send private message
References
Robert Sample

Senior Member


Joined: 06 Jun 2008
Posts: 941
Location: Atlanta, GA

PostPosted: Wed Oct 08, 2008 4:42 pm    Post subject:
Reply with quote

Since there's no REPLACE option on the PUT statement, you would find it difficult to get FTP to accept it. The Communications Server User's Guide for the FTP PUT command answers this question:
Quote:
If the remote host already has a file with the name specified by foreign_file, the remote host overwrites the existing file. If the remote host does not have a file with the same name specified by foreign_file, the remote host creates a new file.
Back to top
View user's profile Send private message
vaishali tambe

New User


Joined: 16 Apr 2008
Posts: 24
Location: pune

PostPosted: Wed Oct 08, 2008 4:49 pm    Post subject:
Reply with quote

Thanks icon_smile.gif
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