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

Getting RLCP abend in CICS online program


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

New User


Joined: 04 Mar 2009
Posts: 11
Location: chennai

PostPosted: Sat Sep 15, 2012 1:19 am
Reply with quote

While performing any of the below query getting RLCP abend in CICS screen.
select count(*) into l-nbr-cnt from cust_data where cust_nbr between 100000000 and 999999999 and substr(char(cust_nbr),6,4='4907' and cust_type in (' ','0'); OR
select count(*) into l-nbr-cnt from cust_data where cust_nbr between 100000000 and 999999999 and mod(cust_nbr,10000)=4907 and cust_type in (' ','0');

cust_nbr declared as decimal(9,0) in table and cobol equivalent used in code that PIC s9(9) comp-3.
05 l-nbr-count pic s9(4) comp-4.

Expected output is to retrieve all the cust_nnr ending with 4907.

Please advice me to resolve this abend.
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: Sat Sep 15, 2012 1:43 am
Reply with quote

Hello,

I suspect your query has used more cpu than permitted.
Back to top
View user's profile Send private message
saikalyan

New User


Joined: 01 Sep 2012
Posts: 1
Location: india

PostPosted: Sat Sep 15, 2012 5:41 pm
Reply with quote

Dick is correct,

If CPU limit exceed you will get RLCP :CPU utilization exceeded.

If Db2 resouce limit exceeds then you will get RLDB :DB2® requests exceeded.

You can split up the query or tune it based on your requirement.
Back to top
View user's profile Send private message
Eshwar CICS

New User


Joined: 18 May 2011
Posts: 47
Location: India

PostPosted: Sun Sep 16, 2012 7:18 am
Reply with quote

There are different tools to monitor CICSregion ex: Omegamon.
CICS Resource-Limiting Abend Codes (ex: RLCP) indicates that transaction exceeded the resource threshold(CPU limit in this case). These threshold limits are set by monitoring tool(s).

Usually these limits are not changed on application programmer's request.So better fine tune your query or think of alternative ways of handling the requirement.

If there is no scope to fine tune your query / no alternative way, then talk to your CICS system people to see if they can revisit this limit.
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: Sun Sep 16, 2012 8:31 am
Reply with quote

Hello,

I personally suggest looking for a different approach to the requirement. Rarely, if evr, should system limits be increased for one problem situation.

How well does the query run in batch?
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 ISAM and abend S03B JCL & VSAM 10
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