Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Time limit of CICS LINK

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

New User


Joined: 20 May 2008
Posts: 3
Location: PUNE

PostPosted: Tue May 20, 2008 4:58 pm    Post subject: Time limit of CICS LINK
Reply with quote

Hi all,

I had a unique requirement (problem) and not getting the solution. My program need to link to a CICS program which reads VSAM files. But the VSAM file is huge and reading of VSAM file using other than primary key (as per the request message) is consuming lot of time. Also i cant change the program nor VSAM details as it belongs to third party.

So i need to link (or call or xtcl or start) the program and wait for 20 seconds and if didnt got response from the called program, i need to close the transaction and return some error message back to calling program.

I need a solution in which i can restrict the time taken for called online program to process
Note : My product is a Online application and all my programs are CICS based.
Back to top
View user's profile Send private message

CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Tue May 20, 2008 6:25 pm    Post subject:
Reply with quote

How is the linked to program handing back the data?

I'd rewrite the terminal program to start another program not attached to the terminal that will do the link and then wait on a timed event.
This second program will link and when returned to, will post to the event, awaking the terminal program (if it had not already woken up from the timed event).....
Back to top
View user's profile Send private message
Vinay R N

New User


Joined: 20 May 2008
Posts: 3
Location: PUNE

PostPosted: Tue May 20, 2008 6:34 pm    Post subject:
Reply with quote

Hi,

Thanks for the reply. In normal condition when there are less record in VSAM file we get response from the linked progam through linkage section . The linking program will pass this information back to Front end (java based) to display.

The problem comes when there are more records in VSAM file and linked program takes more than 20 secs to reterive the data . After 20 secs Front end (java based) displays the time out error to customer. So i need to make my program to just wait for response for 20 secs and if i dont get a response i need to throw a proper error message instead of generic error message.

Also can you please give me more details on how your terminal program works which you had mentioned above

Thanks..
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


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

PostPosted: Tue May 20, 2008 7:34 pm    Post subject: Re: Time limit of CICS LINK
Reply with quote

How is the sub-program accessing the file-records? With a STARTBR, READNEXT, ENDBR or successive random READ's?

Is the file defined to an LSR Pool, with favorable CISZ's and space allocation for both the DATA and INDEX portions?

Sounds like the program is reading an alternate index? Is there more than one alternate index defined to this base-cluster? I certainly hope not. icon_eek.gif

As a customer of the 3rd-Party, have you contacted them regarding any performance improvements that they'd recommend, similar or in addition to the ones outlined above?

How often do you reorganize the file to eliminate CI and CA splits? Note that CI's will most likely occur on-line (not really a bad thing), but you should try and reduce these occurrences via timely REORG's.

On the other hand, CA splits can wreak havoc on VSAM and transaction response time. When a CA split occurs, the QR TCB suspends task delegation, until the split is complete. With that, you can understand why CA splits should be avoided as much as possible.

HTH....

Regards,

Bill
Back to top
View user's profile Send private message
Vinay R N

New User


Joined: 20 May 2008
Posts: 3
Location: PUNE

PostPosted: Wed May 21, 2008 9:54 am    Post subject:
Reply with quote

Hi Bill,

We had discussion with the 3rd party tool. The problem occurs when we give request which makes the program to access file using alternative index (our request is to get records between a amount range). As per discussion they are not ready to make any changes to there programs nor there indexes . We need to alter our programs accordingly.

so can you please advise how to handle this issue.

thanks,

Vinay
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 Date and time format in CICS Chandru3183 CICS 2 Sat Mar 18, 2017 12:46 pm
No new posts How to get current date -1 and curren... murali.andaluri DFSORT/ICETOOL 3 Wed Mar 08, 2017 2:09 pm
No new posts Asynchronous CICS Processing Question moezbud CICS 0 Mon Mar 06, 2017 6:13 pm
No new posts CICS Question RE: Browse, Readnext an... moezbud CICS 7 Sun Mar 05, 2017 5:45 am
No new posts how to send just 10 rows in a CICS sc... Megha Gupta CICS 5 Thu Feb 23, 2017 6:57 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us