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
 
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: 8154
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 Looking for Mainframe job Chandan1993 Mainframe Jobs 0 Sun Sep 24, 2017 1:06 am
No new posts How do I create a mainframe monitorin... anjali.bisht All Other Mainframe Topics 4 Fri Sep 01, 2017 2:20 pm
No new posts Mainframe dataset split purushottam DFSORT/ICETOOL 13 Tue Aug 29, 2017 12:28 pm
No new posts FTP data transfer from PC to Mainfram... AJAYREDDY All Other Mainframe Topics 8 Wed Aug 23, 2017 9:59 pm
No new posts Allianz Technology - Mainframe 3+ Yea... sooraj184 Mainframe Jobs 0 Mon Jul 31, 2017 2:17 pm

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