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
 

 

Getting EIBRESP=21 in CICS

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
mayur99

New User


Joined: 03 Oct 2007
Posts: 3
Location: USA

PostPosted: Fri Oct 05, 2007 2:32 am    Post subject: Getting EIBRESP=21 in CICS
Reply with quote

HI,

I am getting a error message as ILLOGIC i.e EIBRESP=21 while writing to a file. Please let me know when this message is thrown & how to approach it . I could identify the code that is causing the problem but not sure how & why this problem is caused. I could capture the EIB parameters for this error message. So please help me out on what these means.

EIBTIME = 162543
EIBDATE = 0107277
EIBTRNID = 'QQ50'
EIBTASKN = 3936
EIBTRMID = 'S879'

EIBCPOSN = 0
EIBCALEN = 0
EIBAID = X'7D'
EIBFN = X'0604' WRITE
EIBRCODE = X'02086C8F0400'
EIBDS = 'A2BPPDP '
EIBREQID = '........'
EIBRSRCE = 'A2BPPDP '
EIBSYNC = X'00'
EIBFREE = X'00'
EIBRECV = X'00'

EIBATT = X'00'
EIBEOC = X'00'
EIBFMH = X'00'
EIBCOMPL = X'00'
EIBSIG = X'00'
EIBCONF = X'00'
EIBERR = X'00'
EIBERRCD = X'00000000'
EIBSYNRB = X'00'
EIBNODAT = X'00'
EIBRESP = 21 ILLOGIC
EIBRESP2 = 110
EIBRLDBK = X'00'
Back to top
View user's profile Send private message

Earl

Active User


Joined: 17 Jun 2007
Posts: 148
Location: oklahoma

PostPosted: Fri Oct 05, 2007 7:23 am    Post subject:
Reply with quote

Illogic on a write could be;

The file is defined to CICS s read only'

your keylength does not match the file

record length is wrong,

you already have the file locked' with a read for update'

etc. etc.

can you post the CICS command code you are using for
the write?
Back to top
View user's profile Send private message
mayur99

New User


Joined: 03 Oct 2007
Posts: 3
Location: USA

PostPosted: Fri Oct 05, 2007 9:20 am    Post subject: Reply to: Getting EIBRESP=21 in CICS
Reply with quote

EXEC CICS WRITE FILE (FDPT_FILE)
FROM (FDPT_IN)
LENGTH (120)
RIDFLD (FDPT_KEY_AAA)
KEYLENGTH (KEYLEN)
RESP (IRESP);
Back to top
View user's profile Send private message
Earl

Active User


Joined: 17 Jun 2007
Posts: 148
Location: oklahoma

PostPosted: Fri Oct 05, 2007 7:34 pm    Post subject:
Reply with quote

verify the following:
use CEMT to inquire on the file and ensure the Add attribute is there

I FILE(FILEA)
STATUS: ,RESULTS - OVERTYPE TO MODIFY
,Fil(FILEA ),Vsa,Ope,Ena,Rea,Upd,Add,Bro,Del, ,Sha, ,
,, ,Dsn(,QAMQS.CICSV813.FILEA ,)


the value of FDPT_FILE is a valid CICS file name



the record length matches what is defined for records in the file

the value of KEYLEN is the correct key length for records in the file

the file you are trying to write to is not currently under Browse
control within same task
i.e.

startbr
readnext
write < illogic

the file you are trying to wrie to is not under update within same task
read update
write < illogic


Can other programs write to this file?

Try using the CICS supplied transaction CECI to write to this file

if you can't write to it, using CECI then something is defined wrong
Back to top
View user's profile Send private message
mayur99

New User


Joined: 03 Oct 2007
Posts: 3
Location: USA

PostPosted: Mon Oct 08, 2007 11:19 pm    Post subject: Reply to: Getting EIBRESP=21 in CICS
Reply with quote

Thanks for your suggestion. The Problem was with the record size of one of the Alternate index files. This VSAM file has 2 Alternate Indices & for the second there is no FCT entry defined so i thought there is no point in increasing the record size of this second alternate Index file. So i was trying to increase the Record length of the first which was failing in my test but after all this I tried to increase the length of the second & it worked.
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