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

define the field with ic in the bms map.

0 Answers   IBM,


Explain how do you intitiate another transaction?

0 Answers  


What is the use of DCT?

2 Answers   IBM,


How errors are handled in CICS programs?

0 Answers  


Can you explain exec cics handle condition command?

0 Answers  






What is the CICS LOAD command?

3 Answers   IBM,


Kindly specify the pic clause for the hhmmss type of data fields?

0 Answers  


What is an MDT (Modified Data Tag) - it's meaning and use?

2 Answers   Polaris,


What is CICS ?

0 Answers  


Tsqs can be written in the main storage or auxiliary storage? State true or false

1 Answers  


Is it possible start a transaction CICS from job Batch? How do it?

5 Answers   CSC,


What does the BUFFER option in RECEIVE mean ?

1 Answers   IBM,


Categories