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 

APPC(LU6.2) Converse command getting error code of EOC

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


Joined: 03 Dec 2002
Posts: 27
Topics: 14

PostPosted: Thu Jan 23, 2003 11:36 pm    Post subject: APPC(LU6.2) Converse command getting error code of EOC Reply with quote

Hi,

One of my friend sent a mail regarding some problem in CICS. Since I too don't know about the error he was facing, I am requesting anyone of you to help me out. Here is the problem....................
**************************************************
When we excute an APPC(LU6.2) Converse command we get an error code of EOC (EIBRESP = +6).

As we all know that theory definition of EOC is End of Chain.

Can you please help me in finding out the following>>>>

1. When does this End of Chain indicator is set.?
2. Is it a software or hardware(Link) problem?
3. What should be look so that we do not get this error code?

***********************************************************

Thanks,
Narsimha
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


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

PostPosted: Fri Jan 24, 2003 12:27 am    Post subject: Reply with quote

Narsimha,

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.

some SNA devices segment long input messages for transmission. Each individual segment is called a request unit (RU), and the entire logical message is called a chain. CICS provides an option in the RDO TYPETERM resource definition BUILDCHAIN, that governs who assembles the chain. If the BUILDCHAIN value for the terminal is YES, CICS assembles the chain and presents the entire message to the program in response to a single EXEC CICS RECEIVE command. This choice ensures that the whole chain is complete and available before it is presented to the application.

If BUILDCHAIN(NO), the application assembles the chain. CICS provides one RU for each EXEC CICS RECEIVE command. The application can tell when it has received the last RU in the chain,because CICS raises the EOC (end-of-chain) condition at that time. CICS raises this condition even when there is only one RU in the chain, or when it assembles the chain, or when the input is from a terminal that does not support inbound chaining, like a 3270 display. An EOC condition is not considered an error; the CICS default action when it occurs is to ignore the condition.

EOC may occur simultaneously with either the EODS (end-of-data-set) or INBFMH (inbound-FMH) conditions, or both. Either condition will take precedence over EOC in determining where control goes if both it and EOC are the subject of active EXEC CICS HANDLE CONDITION commands.

Hope this helps...

cheers

kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Narsimha
Beginner


Joined: 03 Dec 2002
Posts: 27
Topics: 14

PostPosted: Fri Jan 24, 2003 12:47 am    Post subject: Reply with quote

Hi Kolusu,

Thanks for your immediete reply. Could you please provide me the link for the documentation regarding the subject mentioned.

Thanks,
Narsimha
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


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

PostPosted: Fri Jan 24, 2003 1:08 am    Post subject: Reply with quote

Narsimha,

Search for 'EOC' in the following links and you will find the information which is posted above. click on the ICON which resembles the "TORCH LIGHT" OR "FLASH LIGHT" which will search the book for the keywords.

CICS Application Programming Guide

CICS Application Programming Reference

Hope this helps...

cheers

kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Narsimha
Beginner


Joined: 03 Dec 2002
Posts: 27
Topics: 14

PostPosted: Fri Jan 24, 2003 3:12 am    Post subject: Reply with quote

Hi Kolusu,

Your links helped me a lot.

Thanks,
Narsimha
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