IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Cobol code to FTP to server


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
syed-sameer-ahmed
Warnings : 2

New User


Joined: 22 Feb 2007
Posts: 45
Location: Bangalore

PostPosted: Wed Oct 24, 2007 3:24 pm
Reply with quote

Could anybody help or provide me with Cobol code to FTP it to server.

or Source to look up for cobol code which can FTP

thanks

Syed
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Wed Oct 24, 2007 3:38 pm
Reply with quote

FTP can be run as a TSO command. Look for examples on how to run TSO commands from COBOL. There are a lot of examples in this forum as in Google.

O.
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Wed Oct 24, 2007 3:44 pm
Reply with quote

O,

Quote:
There are a lot of examples in this forum as in Google.

Good say.
Back to top
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Wed Oct 24, 2007 4:04 pm
Reply with quote

Quote:
cobol code which can FTP
COBOL code cannot do FTP
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed Oct 24, 2007 6:22 pm
Reply with quote

Quote:
COBOL code cannot do FTP


/smiley on
TODAY IS MY DISAGREEMENT DAY
/smiley off

Yes You can do it, it depends as usually on Your skill, and knowledge

it' s just good old plain socket programming

a google search on
Quote:
cobol ftp socket samples

will return many useful links
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Thu Oct 25, 2007 12:30 am
Reply with quote

Hello Syed,

If you explain what you want to do rather than how you want to do it (i.e. cobol/ftp), we may be able to offer more usable suggestions.

As has been mentioned, you could do this inside cobol, but it will be more work and very possibly less flexible.
Back to top
View user's profile Send private message
syed-sameer-ahmed
Warnings : 2

New User


Joined: 22 Feb 2007
Posts: 45
Location: Bangalore

PostPosted: Thu Nov 08, 2007 4:02 pm
Reply with quote

Quote:
cobol ftp socket samples




this was very useful in improving my knowledge..

Thanks to all..

Syed[/quote]
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Thu Nov 08, 2007 11:31 pm
Reply with quote

Hello,

Is your cobol code now invoking ftp successfully?

If so, could you post the relevant code as it may help another sometime? If you do post your solution, it would be good to fake ip address/name, useerid, pwd, etc.

Thank you for your followup post icon_smile.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts run rexx code with jcl CLIST & REXX 15
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Compile rexx code with jcl CLIST & REXX 6
Search our Forums:

Back to Top