Generally we check EIBALEN = 0 to decide whether first call
or not.
If I do not pass any value in the COMMAREA then EIBCALEN
will be 0 even on second call. Now how can we say the
program is called for the first time or second time?

Answers were Sorted based on User's Feedback



Generally we check EIBALEN = 0 to decide whether first call or not. If I do not pass any value in..

Answer / praveen

for the first time eibcalen is zero with this we can
conclude this is first call and for the second time if u
dont pass the value for commarea the by default dfhcommarea
has one byte of memory with this we can say this is second call.

Is This Answer Correct ?    6 Yes 5 No

Generally we check EIBALEN = 0 to decide whether first call or not. If I do not pass any value in..

Answer / kingmanish

@Praveen

I don't agree with you here.
Are you sure by default the DFHCOMMAREA length is 1 on
second call?

Please check I don't think it is the case.

Is This Answer Correct ?    1 Yes 2 No

Generally we check EIBALEN = 0 to decide whether first call or not. If I do not pass any value in..

Answer / sandeep

dfhcommarea length is 1 by default.if you are returning a
trans-id by passing some data in commarea then the length
will be calculated depending on the data which we passed.
if you are not passing any data then i think eibcalen value
will be 1 so it enters into the next para

Is This Answer Correct ?    0 Yes 5 No

Post New Answer

More CICS Interview Questions

How to implement function keys in cics ...Interview ask me there is requirement to include two function key in the program F1 and F2 Keys...when F1 key  is press record should be inserted into database after reading the input file and when F2 is press ,record should be updated in databased...explain about the entire process including testing also..?please expain in step by step ?

1 Answers   HeadStrong, Polaris,


What is the other way of terminating a transaction?

2 Answers   IBM,


What are the parameters that you have to give when you are using the CSSN transaction?

3 Answers  


Name some common CICS service programs and explain their usage?

1 Answers   IBM,


how i can enter into cics region in real time.

2 Answers   Cap Gemini,






Name some translator and compile options and explain their meaning?

0 Answers   Fujitsu,


In SYMBOLIC Cursor Positioning after moving -1 to the length field also the cursor is not positioned in that particular field. Give reasons?

2 Answers   IBM,


How can we code a program such that we will never get a MAPFAIL error?

1 Answers   Accenture,


whar is the difference bwn LINK() and XCTL()?

7 Answers   Cap Gemini, CGI, IBM,


How do we pass parameters into a CICS –DB2 program

0 Answers   Accenture, JPMorgan Chase,


Receive consists of buffer option in it. What is the significance of this option?

0 Answers  


I have to run a select query on DB2 table and show its data on CICS map. Please tell me.

2 Answers  


Categories