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

In CICS--> ENDBR is accompanied with NOHANDLE


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

Active User


Joined: 08 Feb 2009
Posts: 116
Location: CHENNAI/NEW JERSEY - INDIA/USA

PostPosted: Tue Jun 28, 2011 9:09 pm
Reply with quote

Hi,

In our application programs, the ENDBR is always accompanied with NOHANDLE condition.

I am not sure why NOHANDLE is used.

Can there be some error while ENDBR?
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Tue Jun 28, 2011 9:26 pm
Reply with quote

This link may give you a hint.
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: Tue Jun 28, 2011 9:40 pm
Reply with quote

Basically, in your example, an ENDBR with a NOHANDLE or a RESP indicates that the programmer didn't care about the ENDBR outcome, unless EIBRESP is tested for a ZERO or non-ZERO value.

Many times, an ENDBR is issued as a fail-safe prior to issuing a STARTBR.

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

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Wed Jun 29, 2011 1:04 am
Reply with quote

Bill,
I follow you 'failsafe' logic - that insures that there are no active BROWSEs.
but I thought that a NOHANDLE (or RESP) effectively turned-off
any active HANDLEs in the module.
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 Jun 29, 2011 2:47 am
Reply with quote

Hi Dick,

Yes, but only for the API where the NOHANDLE is specified.

Bill
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 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
No new posts How to avoid duplicating a CICS Web S... CICS 0
Search our Forums:

Back to Top