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

Parallelization in CICS to reduce response time


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

New User


Joined: 08 Aug 2011
Posts: 7
Location: India

PostPosted: Mon Sep 11, 2023 10:52 am
Reply with quote

Hi,

I have a CICS webservice which is taking a higher response time for specific customers (commercial customer with high number of accounts attached - i.e. more than 2000 accounts). In order to reduce the response time, we are planning to introduce some parallelization.

The current high level design is something like below:
Front-end microservices --> DataPower --> CICS SOAP Webservice (Initial customer validation ---> Customer accounts fetch ---> retrieve balances for each of the accounts ----> Aggregate balance at Account Set level)

currently the individual account balance retrieval is being done for each account in synchronous manner.

I could think of using CICS Asynchronous APIs (RUN TRANSID, FETCH CHILD/ANY) and run in parallel the account retrieval transaction (e.g. each instance processing 100 accounts in a group). But I am not sure if CICS Asynchronous APIs can be used for running the same TRANSID in parallel 20-30 instances, and if that is the efficient way.

Could one of you please help who have exp with CICS asynchronous APIs, or if there is more efficient way of doing the parallelization in CICS?

Note: I have gone through the Redbooks on IBM CICS Asynchronous API, but it doesn't mention about running the same transaction Id for prallelism.
Back to top
View user's profile Send private message
Pete Wilson

Active Member


Joined: 31 Dec 2009
Posts: 580
Location: London

PostPosted: Mon Sep 11, 2023 2:42 pm
Reply with quote

I've no idea from the programming side, but the way the underlying dataset containing the data is set up can affect response times. This assumes it is VSAM:

e.g.
- Is RLS enabled or not.
- What are the SHAREOPTIONS are set to.
- CICS buffer pool that the dataset uses, and therefore the CISIZE.
Back to top
View user's profile Send private message
Atul Banke

New User


Joined: 08 Aug 2011
Posts: 7
Location: India

PostPosted: Tue Sep 12, 2023 12:15 pm
Reply with quote

Hi Pete,

Thanks for your reply. The data is primarily on DB2 for z/OS and the Db2 queries were already reviewed/optimized
Back to top
View user's profile Send private message
Rohit Umarjikar

Global Moderator


Joined: 21 Sep 2010
Posts: 3051
Location: NYC,USA

PostPosted: Thu Sep 14, 2023 12:31 pm
Reply with quote

Why all these detours and instead write a stored procedures ?
Back to top
View user's profile Send private message
pepeo_2k3

New User


Joined: 04 Nov 2023
Posts: 6
Location: Azerbayjan

PostPosted: Sun Nov 12, 2023 2:00 pm
Reply with quote

Hi;
Yes you can. you have to consider a correlation pattern between each step. Each step is a separate stub code that is called with XCTL from the previous step. The final step aggregates the responses and makes the soap reply.
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 get the the current time DFSORT/ICETOOL 13
No new posts RC query -Time column CA Products 3
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
Search our Forums:

Back to Top