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
 
How to increase ICVR time limit

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

New User


Joined: 29 Jun 2007
Posts: 2
Location: Mumbai

PostPosted: Thu Aug 16, 2007 9:10 pm    Post subject: How to increase ICVR time limit
Reply with quote

Hi All,

My CICS program goes into the loop.

When the loop is checking lesser occurences,then it's working fine

but incase of higher occurences it gives AICA abend.


So,Please let me how can we increase ICVR time limit in SIT.

Thanks in advance..
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: Thu Aug 16, 2007 9:45 pm    Post subject:
Reply with quote

You can only reset it during startup.....

Better idea:
Say 100 or less occurrences is fine but much more than that causes the AICA.....
During each occurrence, add one to a counter and when it exceeds to limit, talk to CICS, the ICVR time is reset and everybody is happy....
Then reset the counter and start looping again - until done or you reach the max again....

I just found this:
The CICS commands that do not cause tasks to wait include (but are not restricted to) ASKTIME, DEQ, ENQ, ENTER TRACENUM, FREEMAIN, HANDLE, RELEASE, TRACE ON/OFF.
By not waiting, the ICVR does not get reset......
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: Fri Aug 17, 2007 12:22 am    Post subject:
Reply with quote

Hello,
Quote:
When the loop is checking lesser occurences,then it's working fine
but incase of higher occurences it gives AICA abend


How many "higher" causes the abend? How large might the array become?

I would not suggest finding a way to "trick" CICS into letting this run for huge amounts of time.

I would suggest looking at the code with the goal of making the code run more efficiently. If yoj post the array definition and how the array is being used, we may be able to offer alternatives.
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Fri Aug 17, 2007 3:26 am    Post subject:
Reply with quote

dick scherrer wrote:
I would not suggest finding a way to "trick" CICS into letting this run for huge amounts of time.
Aw, come'on Dick, surely you've been there....
Where I am now, a lot of online is a CICS screen handling program dynamically calling a COBOL batch "business" program that calls other modules. some non-CICS DB2 interfaces and some CICS programs...
Sometimes the amount of continuous CPU seconds can exceed the CICS (or monitor) timeout values....
Back in the "olden" days, we could always pop a "CHAP" and get the program re-listed on the queue....I wonder what is the best way now days to do the same....
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: Fri Aug 17, 2007 8:46 pm    Post subject:
Reply with quote

Well, yes, i've been there. . . .

[rant]
Many of the high-performance systems i've supported were quite serious about resource utilization - primarily the amount of memory needed and the amount of cpu time that was acceptable for a transaction. The rule was quite simple - if the transaction would not "fit", it had to run in batch. Amazing how much a "thing" can be improved/tuned when there are enforced limits.

Before such strict rules were implemented, they found that left unchecked, IT people would completely exhaust all of the system resources and that did a great dis-service to the real users - rather than the programmers. Said slightly different - slop will expand until the bucket is full.
[/rant]
icon_wink.gif
Back to top
View user's profile Send private message
Earl

Active User


Joined: 17 Jun 2007
Posts: 148
Location: oklahoma

PostPosted: Tue Aug 21, 2007 8:20 am    Post subject:
Reply with quote

loop through your table xxx number of times,
then

you can use 'EXEC CICS WAIT'
or
EXEC CICS SUSPEND'

then
continue loop, etc.. until done.


cics wait and cics suspend commands will let other tasks run, and
prevent AICA
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
This topic is locked: you cannot edit posts or make replies. 00D3003B - time outs in DB2 when invo... chavinash2004 DB2 2 Mon Oct 09, 2017 4:39 pm
No new posts VSAM RLS Wait time blayek JCL & VSAM 2 Mon Oct 02, 2017 9:05 pm
No new posts Comparing 2 Files using Current time arunsoods SYNCSORT 9 Fri Sep 22, 2017 6:00 pm
No new posts Regarding time parameter shanthi gude JCL & VSAM 7 Mon Sep 04, 2017 2:31 pm
This topic is locked: you cannot edit posts or make replies. Limit access to certain RACF group cvnlynn CLIST & REXX 5 Wed Aug 23, 2017 2:28 am

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