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
 

 

In CICS--> ENDBR is accompanied with NOHANDLE

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: In CICS--> ENDBR is accompanied with NOHANDLE
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    Post subject:
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: 2502
Location: Atlanta, Georgia, USA

PostPosted: Tue Jun 28, 2011 9:40 pm    Post subject: Reply to: In CICS--> ENDBR is accompanied with NOHANDLE
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    Post subject:
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: 2502
Location: Atlanta, Georgia, USA

PostPosted: Wed Jun 29, 2011 2:47 am    Post subject: Reply to: In CICS--> ENDBR is accompanied with NOHANDLE
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    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 CICS transaction slow response time vasanthz All Other Mainframe Topics 1 Thu Jan 19, 2017 1:31 am
No new posts INDEPENDENT CICS TS 4.1 MRO REGION UP... Kyle Carroll CICS 0 Wed Dec 14, 2016 6:55 pm
No new posts CICS START AND CANCEL blayek CICS 1 Wed Dec 07, 2016 3:27 am
No new posts How does a called pgm know if its cal... Graeme Westerman COBOL Programming 4 Tue Nov 29, 2016 9:25 pm
No new posts CICS Roll back partially - Need to re... dwijadas CICS 4 Wed Nov 16, 2016 4:30 pm


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