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
 
CICS to Server?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
pahiker

New User


Joined: 10 Aug 2012
Posts: 50
Location: USA

PostPosted: Mon May 20, 2013 11:37 pm    Post subject: CICS to Server?
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

Moderator


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

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

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

New User


Joined: 10 Aug 2012
Posts: 50
Location: USA

PostPosted: Tue May 21, 2013 12:39 am    Post subject:
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: 2504
Location: Atlanta, Georgia, USA

PostPosted: Tue May 21, 2013 1:03 am    Post subject: Reply to: CICS to Server?
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: 50
Location: USA

PostPosted: Tue May 21, 2013 4:09 pm    Post subject: Reply to: CICS to Server?
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

Site Director


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

PostPosted: Tue May 21, 2013 9:46 pm    Post subject:
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: 50
Location: USA

PostPosted: Tue May 21, 2013 10:43 pm    Post subject:
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

Site Director


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

PostPosted: Wed May 22, 2013 12:01 am    Post subject:
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: 50
Location: USA

PostPosted: Wed May 22, 2013 12:16 am    Post subject:
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: 8165
Location: East Dubuque, Illinois, USA

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

The CICS Application Programming Reference manual at http://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 http://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: 50
Location: USA

PostPosted: Wed May 22, 2013 5:42 pm    Post subject:
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

Site Director


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

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

Hello,

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

Active User


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

PostPosted: Fri May 24, 2013 8:57 pm    Post subject: Reply to: CICS to Server?
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    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts ASP3 ABEND IN CICS Vedant CICS 0 Fri Oct 20, 2017 3:18 pm
No new posts Identifying Interfaces in CICS/mainframe Ashishpanpaliya CICS 5 Fri Oct 13, 2017 3:21 pm
No new posts Accessing CICS tran with map from JCL... navdeepaggarwal CICS 5 Tue Oct 03, 2017 6:15 pm
No new posts Partial color change of a field in CI... waseem0424 CICS 5 Fri Sep 29, 2017 7:56 pm
No new posts FUSE - IBM MQ - CICS integration error Kevin Vaz CICS 1 Mon Sep 18, 2017 4:31 pm

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