Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Cobol code to FTP to server

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

New User


Joined: 22 Feb 2007
Posts: 46
Location: Bangalore

PostPosted: Wed Oct 24, 2007 3:24 pm    Post subject: Cobol code to FTP to server
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: 2360
Location: Israel

PostPosted: Wed Oct 24, 2007 3:38 pm    Post subject:
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: 1439
Location: Bangalore,India

PostPosted: Wed Oct 24, 2007 3:44 pm    Post subject:
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    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10327
Location: italy

PostPosted: Wed Oct 24, 2007 6:22 pm    Post subject: Reply to: Cobol code to FTP to server
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

Site Director


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

PostPosted: Thu Oct 25, 2007 12:30 am    Post subject:
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: 46
Location: Bangalore

PostPosted: Thu Nov 08, 2007 4:02 pm    Post subject:
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

Site Director


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

PostPosted: Thu Nov 08, 2007 11:31 pm    Post subject:
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    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 IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am
No new posts Speed-up/reduce CPU use of code prino PL/I & Assembler 0 Tue Sep 26, 2017 12:05 am
This topic is locked: you cannot edit posts or make replies. Extract all "IF" Statements... Adarsh Damodaran CLIST & REXX 1 Wed Sep 06, 2017 9:28 am
No new posts Technical Support Engineer (DB2 on z/... Kenneth Barton Lasky Mainframe Jobs 0 Fri Aug 25, 2017 12:14 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us