MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

eoc - eibresp 06 in a startbr

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware
View previous topic :: View next topic  
Author Message
coboladdict
Beginner


Joined: 02 Mar 2010
Posts: 15
Topics: 5

PostPosted: Mon Mar 15, 2010 7:57 am    Post subject: eoc - eibresp 06 in a startbr Reply with quote

Hello,
i'm receiving an eibresp 06 when executing an startbr.
i'm not familiar with eoc.
the manual says it can be caused by an end-of-data-set condition but it doesn't seem to be the case.
the key i'm using is in the file.
could someone help?
thanks.

Code:
   
EXEC CICS                                 
          STARTBR                             
          FILE ('xxxF330G')                   
          RIDFLD(K330-CD-INF-CHAVE)           
          KEYLENGTH(54) GENERIC               
          GTEQ                                 
          NOHANDLE                             
END-EXEC.   
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Mon Mar 15, 2010 3:02 pm    Post subject: Reply with quote

coboladdict,

What is RESP2 code?

Kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Terry_Heinze
Supermod


Joined: 31 May 2004
Posts: 391
Topics: 4
Location: Richfield, MN, USA

PostPosted: Mon Mar 15, 2010 4:01 pm    Post subject: Reply with quote

How is an end-of-chain (EOC) related to a STARTBR?
_________________
....Terry
Back to top
View user's profile Send private message Send e-mail
coboladdict
Beginner


Joined: 02 Mar 2010
Posts: 15
Topics: 5

PostPosted: Mon Mar 15, 2010 5:10 pm    Post subject: Reply with quote

kolusu wrote:
coboladdict,

What is RESP2 code?

Kolusu


do you mean eibresp2?
it's zero.
thanks.
Back to top
View user's profile Send private message
coboladdict
Beginner


Joined: 02 Mar 2010
Posts: 15
Topics: 5

PostPosted: Mon Mar 15, 2010 5:12 pm    Post subject: Reply with quote

Terry_Heinze wrote:
How is an end-of-chain (EOC) related to a STARTBR?


could you please explain what's a chain?
my record is vb and the max lrecl is 1114.
the error doesn't happen in the development site.
only in the pre-production and production ones.
thanks.
Back to top
View user's profile Send private message
Terry_Heinze
Supermod


Joined: 31 May 2004
Posts: 391
Topics: 4
Location: Richfield, MN, USA

PostPosted: Mon Mar 15, 2010 10:23 pm    Post subject: Reply with quote

Your topic title mentions EOC.
_________________
....Terry
Back to top
View user's profile Send private message Send e-mail
coboladdict
Beginner


Joined: 02 Mar 2010
Posts: 15
Topics: 5

PostPosted: Tue Mar 16, 2010 6:08 am    Post subject: Reply with quote

Terry_Heinze wrote:
Your topic title mentions EOC.

I'm receiving an eibresp 06 after a startbr and according to the manual it is an eoc (end-of-chain).
Quote:

How is an end-of-chain (EOC) related to a STARTBR?

i don't know.
i hope i'll find some answers here.
thanks.
Back to top
View user's profile Send private message
Dibakar
Advanced


Joined: 02 Dec 2002
Posts: 700
Topics: 63
Location: USA

PostPosted: Tue Mar 16, 2010 10:40 am    Post subject: Reply with quote

Hello coboladdict,

How do you know that 06 is coming from STARTBR? CICS commands manual doesn't mention 06 as a possible response code.
Back to top
View user's profile Send private message Send e-mail
coboladdict
Beginner


Joined: 02 Mar 2010
Posts: 15
Topics: 5

PostPosted: Tue Mar 16, 2010 12:06 pm    Post subject: Reply with quote

i display eibresp and eibresp2 codes on the screen right after the startbr statement.

the error doesn't happen in the development site. then, i don't think it is a program error.

Quote:

EOC is another condition that you encounter frequently using BMS. It occurs when the end-of-chain (EOC) indicator is set in the request/response unit returned from VTAM. EOC does not indicate an error, and the BMS default action is to ignore this condition.


does BMS here mean the map generator? all i find about eoc takes me to map and screen manipulation.

i'll try a cedf.

thanks.
Back to top
View user's profile Send private message
papadi
Supermod


Joined: 20 Oct 2009
Posts: 594
Topics: 1

PostPosted: Tue Mar 16, 2010 12:50 pm    Post subject: Reply with quote

What was the last interaction with cics before the startbr?

Was the response code properly checked?

What is in the response code before the startbr is issued?
_________________
All the best,

di
Back to top
View user's profile Send private message
coboladdict
Beginner


Joined: 02 Mar 2010
Posts: 15
Topics: 5

PostPosted: Wed Mar 17, 2010 2:21 pm    Post subject: Reply with quote

hi,
the cics guys told me the problem seems to be caused by Cics lack of authority to open the file.
The other problem is that i'm receiving an eibresp that has no relation to the actual error.
i was told i should always use the "nohandle" option and then check eibresp after every cics statement instead of using the "handle condition" option.
however if i had used "handle condition" i'd have been receiveing the actual error all along ("notopn", i've just tested it).
could you please tell me the best way to use the "handle condition" option?
i'd like to confirm the way i know is the best one.
thanks.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group