Connecting CICS with USS (Unix box)



Support for CICS/ESA, CICS/TS & Transaction Gateway, CICS Configuration Manager and CICS Performance Analyzer

Connecting CICS with USS (Unix box)

Postby varunsree » Wed Sep 20, 2017 7:12 pm

Hi, I am having a requirement to connect a CICS transaction to a USS(Unix box) and in turn execute FTP process with the required information to pull a file from a different server(residing outside Mainframe). Could you please help on this.

CICS - USS - XYX Server

XYZ server is having the file which i need to pull into mainframe or send it to printer for printing.
CICS Screen will accept the required file details from the user.
This details from CICS screen will be used to fetch the path where the file is stored in the XYZ server.

Thanks
varunsree
 
Posts: 5
Joined: Tue Sep 19, 2017 2:38 pm
Has thanked: 1 time
Been thanked: 0 time

Re: Connecting CICS with USS (Unix box)

 

Re: Connecting CICS with USS (Unix box)

Postby enrico-sorichetti » Wed Sep 20, 2017 7:32 pm

did anybody in Your organisation validate the requirement for feasibility ?
( with reasonable skills and reasonable process flow )
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2686
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 136 times

Re: Connecting CICS with USS (Unix box)

Postby Robert Sample » Wed Sep 20, 2017 7:57 pm

Since CICS does not directly use FTP, you will need to submit a batch job from your CICS transaction to invoke FTP -- which is not necessarily the best way to go. The whole "requirement" is not well-thought out.
Robert Sample
Global moderator
 
Posts: 3420
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 236 times

Re: Connecting CICS with USS (Unix box)

Postby Balr14 » Tue Jan 30, 2018 10:36 am

Create a CICS web service provider using CICS container support to receive and process the file in real-time.

Write a web service consumer on server with a GUI interface for the user that will fetch the file, wrap the content in WSDL and send it to the CICS web service provider via SOAP/HTTP.

If the CICS transaction can't process the file, or it isn't desirable for it to do so, you can have it write the file content as an entry sequenced VSAM file and use presence of data in a file to trigger your scheduler to run a job that processes the file. You job will require a simple program to convert the VSAM file back to a flat file.

This is the process we use to eliminate lots of annoying FTPs. It allows the client to determine when they want a file processed and eliminates any external intervention. If you want to get cute, you can capture the JES log info for the job and make it available to the client via another web service request. This puts the entire process in the clients hands, so we do not have to deal with it.

You will need Java to write the web service consumer in Java (possibly with .net). You will need SOAPUI from SmartBear to test with. Your CICS region must have unix support activated.

OOPS, SORRY! I didn't realize the original post was so old.
Balr14
 
Posts: 41
Joined: Fri Oct 01, 2010 9:43 pm
Has thanked: 0 time
Been thanked: 1 time


Return to CICS

 


  • Related topics
    Replies
    Views
    Last post