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

CICS to Server?


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
pahiker

New User


Joined: 10 Aug 2012
Posts: 51
Location: USA

PostPosted: Mon May 20, 2013 11:37 pm
Reply with quote

Is there a way to send a file from within CICS to a file on a server?

We currently use Web Methods to perform this function, but we are trying to divest ourselves of the product. 90% of what we do can be done through MQ or CICS Web Services. The only function left is to write/send a file to an external (not on the mainframe) server.
Back to top
View user's profile Send private message
Pandora-Box

Global Moderator


Joined: 07 Sep 2006
Posts: 1592
Location: Andromeda Galaxy

PostPosted: Tue May 21, 2013 12:24 am
Reply with quote

Why not Ftp?
Back to top
View user's profile Send private message
pahiker

New User


Joined: 10 Aug 2012
Posts: 51
Location: USA

PostPosted: Tue May 21, 2013 12:39 am
Reply with quote

FTP cannot, so far as I am aware, be done from within CICS.
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Tue May 21, 2013 1:03 am
Reply with quote

Have you looked into native TCP/IP (using the EZA* callable routines) or LU6.2/APPC (using the SEND/RECEIVE or CONVERSE API's)?
Back to top
View user's profile Send private message
pahiker

New User


Joined: 10 Aug 2012
Posts: 51
Location: USA

PostPosted: Tue May 21, 2013 4:09 pm
Reply with quote

No. Can you point me to any reference material on either/both? Since this is our first attempt at this, something not too technically deep.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Tue May 21, 2013 9:46 pm
Reply with quote

Hello and welcome to the forum,

If you intend to use products/features that are "heavy" expect some depth in the technical descriptions/information and the assumption that "someone" involved is quite senior.

Good luck and if something goes Thud, post back here and maybe someone will have seen something similar.
Back to top
View user's profile Send private message
pahiker

New User


Joined: 10 Aug 2012
Posts: 51
Location: USA

PostPosted: Tue May 21, 2013 10:43 pm
Reply with quote

True, but there are different levels of depth. I have cobol, assembler, and CICS manuals which are far easier to understand than the standard IBM Cobol Reference manual.

I have done some searches on IBM TCP/IP, the redbooks I've found do not reference writing to a server. The Example programs show sending a message and receiving a message, but nothing on file transfer.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Wed May 22, 2013 12:01 am
Reply with quote

Hello,

Yup, there are quite a few good books for learning.

My experience has been that the IBM manuals are excellent for reference if you already know what you are looking for and want specifics. They should be believed over 3rd party books if they differ as IBM is the "Bible".

Have you found a way to send a file to any other ip address?
Back to top
View user's profile Send private message
pahiker

New User


Joined: 10 Aug 2012
Posts: 51
Location: USA

PostPosted: Wed May 22, 2013 12:16 am
Reply with quote

No. All the searches I've done do not show how to use TCP/IP, from CICS, to send a file. They all claim it can be done, but none speak to the method.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8700
Location: Dubuque, Iowa, USA

PostPosted: Wed May 22, 2013 12:54 am
Reply with quote

The CICS Application Programming Reference manual at publib.boulder.ibm.com/infocenter/cicsts/v3r2/index.jsp?topic=%2Fcom.ibm.cics.ts.applicationprogramming.doc%2Ftopics%2Fdfhp4_overview.html tells you how to do APPC (LU6.2).

The Communications Server bookshelf at publib.boulder.ibm.com/infocenter/zos/v1r12/index.jsp?topic=%2Fcom.ibm.zos.r12.e0zc100%2Fsw390.htm includes information about TCP/IP in general and specifics including the callable services.
Back to top
View user's profile Send private message
pahiker

New User


Joined: 10 Aug 2012
Posts: 51
Location: USA

PostPosted: Wed May 22, 2013 5:42 pm
Reply with quote

Thanks, I'm going through the APPC now.

Looking at the TCP/IP, I didn't see anything there referencing making calls from Cobol, much less CICS. Everything seemed to be related to TSO calls. Am I missing something?
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Wed May 22, 2013 8:14 pm
Reply with quote

Hello,

See if this earlier topic can help:
ibmmainframes.com/about25458.html
Back to top
View user's profile Send private message
Jose Mateo

Active User


Joined: 29 Oct 2010
Posts: 121
Location: Puerto Rico

PostPosted: Fri May 24, 2013 8:57 pm
Reply with quote

Good day to all!
I guess if you want to make it simple you could write a CICS COBOL program to write a FTP job to the spool it to the internal reader for batch submission.
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 -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Associating a USERID with a CICS-Libe... CICS 0
No new posts omegamon for cics -UNSUPPORTED ENVIRO... CICS 2
No new posts Help needed in automation cics transa... CLIST & REXX 1
No new posts How to Login in to cics region and is... CICS 9
No new posts Spoolopen cics CICS 0
Search our Forums:

Back to Top