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

TRUE exit to a trigger a Job from CICS


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

New User


Joined: 13 Nov 2009
Posts: 8
Location: Chennai

PostPosted: Wed Sep 01, 2010 11:45 am
Reply with quote

My requirement is to simulate an existing online system in CICS.

I have some set of online messages which will be run in CICS as transactions. In the present system, the output of the functional messages are written into GDG's which do not pre exist and written to +1 version.

We have decided an approach that our ASM-CICS programs will write to ESDS files and at the end of the transaction a batch job will be triggered to create +1 GDG's, copy the VSAM to GDG's.

Decided to use TRUE exit routines where at the end of the transaction, we will trigger a TRUE exit program which will have CICS SPOOLWRITE instructions to create and submit the job.

Just wanted to know if the above approach is feasible. Went through the references of TRUE EXITS and was not able to find that much help from the web. Any inputs will be of great help as we might be overlooking something.
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: Wed Sep 01, 2010 4:56 pm
Reply with quote

The following post was along those same lines.

You may want to send a PM to the original poster and ask if there was a viable solution.

IMHO, this is probably not the best idea and I'd suggest an alternative, but that's up to you.

ibmmainframes.com/viewtopic.php?p=245549&highlight=#245549

Bill
Back to top
View user's profile Send private message
SanthoshN

New User


Joined: 13 Nov 2009
Posts: 8
Location: Chennai

PostPosted: Wed Sep 01, 2010 4:59 pm
Reply with quote

Thanks for the help!
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Wed Sep 01, 2010 8:22 pm
Reply with quote

Hello,

Quote:
Went through the references of TRUE EXITS and was not able to find that much help from the web. Any inputs will be of great help as we might be overlooking something.
There is a reason for this. . .

As Bill suggests, an alternative will probably be better. Why introduce something that your group is not knowledgable about and about which little material can be found.
Back to top
View user's profile Send private message
SanthoshN

New User


Joined: 13 Nov 2009
Posts: 8
Location: Chennai

PostPosted: Tue Sep 21, 2010 12:40 pm
Reply with quote

Thanks for the help!!

I was not able to get that much input from the member as redirected by Bill. On a related note,

Can you tell me if it is optimal to keep (sequential) files in my target systems as queues.? I need to handle my PS files in CICS targt system .
These files are always used in seq access only.

a) Use them as Xtra Partition TDQ's in CICS and use READQ and WRITEQ since my use is always seq only
b) USe ESDS VSAM's and copy them to PS files by triggering a Job

The biggest concern here is the performance. Not able to find any description of the performance of doing I/o operations on CICS queues Vs Files.

Any help on this point alone will be of great use.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Tue Sep 21, 2010 7:08 pm
Reply with quote

Hello,

CICS was not intended to process sequential files/data. . .

The more "batch" processing CICS is forced to do the worse the environment will perform and there will be more customer complaints.

Suggest the batch processes be run in batch and the results made available to the online environment. This can easily be accomplished by using vsam or database. . .
Back to top
View user's profile Send private message
SanthoshN

New User


Joined: 13 Nov 2009
Posts: 8
Location: Chennai

PostPosted: Tue Sep 21, 2010 10:02 pm
Reply with quote

Thanks a lot !
Back to top
View user's profile Send private message
Earl Haigh

Active User


Joined: 25 Jul 2006
Posts: 475

PostPosted: Wed Sep 22, 2010 3:11 am
Reply with quote

You might consider running your CICS applications from a batch program
and write results to a batch ESDS file.

Use [URL] BBCode for External Links icon_lol.gif
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 Using API Gateway from CICS program CICS 0
No new posts To find whether record count are true... DFSORT/ICETOOL 6
No new posts Calling an Open C library function in... CICS 1
No new posts How to 'Ping' a CICS region in JCL CICS 2
No new posts Parallelization in CICS to reduce res... CICS 4
Search our Forums:

Back to Top