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
 

 

Is it possible to call Mainframe ftp in a c Language

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

New User


Joined: 11 Aug 2009
Posts: 6
Location: China

PostPosted: Thu Aug 13, 2009 10:39 am    Post subject: Is it possible to call Mainframe ftp in a c Language
Reply with quote

I need a c program to do the Mainframe ftp work(Include logining to host,changing EBCDIC into ASCII,puting files ).
Is there a api or function to do the work like ftp programe do?

how can do that?? icon_neutral.gif icon_neutral.gif
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7931
Location: Bellevue, IA

PostPosted: Thu Aug 13, 2009 4:51 pm    Post subject:
Reply with quote

Google is your friend. I found the following by Googling "z/os ftp api".

Go to the IBM web site, find the Communications Server bookshelf, and read chapter 13 of the IP Programmer's Guide and Reference manual. This chapter is called FTP Client Application Programming Interface (API) and contains a section on COBOL, C, REXX, Assembler, and PL/I call formats.
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 Aug 13, 2009 9:22 pm    Post subject:
Reply with quote

Hello,

Quote:
I need a c program to do the Mainframe ftp work
Possibly, but not so likely. . . With a few thousand different transmissions already implemented, none of the places i've supported has yet needed to invoke FTP from a program.

Suggest you create the file to be transmitted and then executa FTP separately.

Unless there is something extroardinary about the file, the EBCDIC/ASCII conversion is automatic . . .
Back to top
View user's profile Send private message
ttcf15

New User


Joined: 11 Aug 2009
Posts: 6
Location: China

PostPosted: Fri Aug 14, 2009 5:58 am    Post subject:
Reply with quote

I got it.

thank you all!!
icon_lol.gif
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 Aug 14, 2009 6:33 am    Post subject: Reply to: Is it possible to call Mainframe ftp in a c Langua
Reply with quote

You're welcome - good luck icon_smile.gif

d
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 Produce Mainframe Dash Board Reports ... sdcarlson53 All Other Mainframe Topics 2 Thu Jan 05, 2017 11:01 pm
This topic is locked: you cannot edit posts or make replies. Urgent Mainframe Requirments (2-10 yr... Shankar779 Mainframe Jobs 0 Sun Nov 27, 2016 1:48 pm
This topic is locked: you cannot edit posts or make replies. Mainframe Developer requirement in Ku... capricorn Mainframe Jobs 0 Sun Oct 23, 2016 3:49 pm
No new posts Cobol EZASOKET call to SETSOCKOPT fails Andi1982 COBOL Programming 6 Thu Oct 06, 2016 7:12 pm
No new posts Strange EXEC function call in z/VM Willy Jensen CLIST & REXX 3 Wed Oct 05, 2016 2:07 pm


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