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: 8055
Location: East Dubuque, Illinois, USA

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 SNMP trap from Mainframe bipinpeter Compuware & Other Tools 6 Wed Apr 26, 2017 3:05 pm
No new posts Need help in REXX CALL program Raje1002 CLIST & REXX 5 Wed Apr 19, 2017 11:18 pm
This topic is locked: you cannot edit posts or make replies. Mainframe Opening in Allianz India- T... Rajesh Gopinathan Mainframe Jobs 0 Wed Apr 19, 2017 11:33 am
No new posts Need help in triggering a PL1 module ... Varungv99 IMS DB/DC 0 Fri Apr 07, 2017 10:01 am
No new posts FTP from Mainframe to Unix - with CRLF vasanthz All Other Mainframe Topics 7 Thu Mar 23, 2017 5:12 am


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