Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Writing in ESDS in CICS: EIBRESP 16

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

New User


Joined: 10 Oct 2006
Posts: 40

PostPosted: Fri Mar 23, 2007 4:28 pm    Post subject: Writing in ESDS in CICS: EIBRESP 16
Reply with quote

Hi

We have defined a new ESDS file in CICS. I am trying to write into the new file and I keep getting EIBRESP 16. The code used is

EXEC CICS WRITE DATASET ('NEWFILE')
FROM(NEWFILE-RECORD)
RIDFLD(DUMMY-KEY)
RBA
END-EXEC.

Dummy key is defined as

77 DUMMY-KEY PIC S9(8) COMP VALUE ZEROS.

Since the Key position and Key length of the ESDS file defined in CICS is 0. Could anyone please let me know whatz wrong in the above code....
Back to top
View user's profile Send private message

William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Fri Mar 23, 2007 4:47 pm    Post subject:
Reply with quote

INVREQ, what is in EIBRESP2?
Back to top
View user's profile Send private message
ssowmya

New User


Joined: 10 Oct 2006
Posts: 40

PostPosted: Fri Mar 23, 2007 4:52 pm    Post subject: Re: Writing in ESDS in CICS
Reply with quote

EIBRESP2 I receive is 20.
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Fri Mar 23, 2007 4:56 pm    Post subject:
Reply with quote

INVREQ
RESP2 values: 20
Add operations are not allowed according to the file entry specification in the FCT.
The file is not defined in the FCT to allow adding new records.....
Manuals are so much fun......
Back to top
View user's profile Send private message
ssowmya

New User


Joined: 10 Oct 2006
Posts: 40

PostPosted: Fri Mar 23, 2007 5:06 pm    Post subject: Re: Writing in ESDS in CICS
Reply with quote

Thanks for the quick turn around. I just now checked the file definition and it says the file has no add/delete access.

Do u have any docs that explains about these EIBRESP codes. Or any link from where I can get the information???
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Fri Mar 23, 2007 5:09 pm    Post subject:
Reply with quote

Where did you get the information on how to write the write statement?
Back to top
View user's profile Send private message
ssowmya

New User


Joined: 10 Oct 2006
Posts: 40

PostPosted: Fri Mar 23, 2007 5:11 pm    Post subject: Re: Writing in ESDS in CICS
Reply with quote

I dont get U...U mean writing into ESDS file?
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Fri Mar 23, 2007 5:14 pm    Post subject:
Reply with quote

What CICS manual are you using as a reference on how to code the syntax of the EXEC CICS WRITE?
Back to top
View user's profile Send private message
ssowmya

New User


Joined: 10 Oct 2006
Posts: 40

PostPosted: Fri Mar 23, 2007 5:17 pm    Post subject: Re: Writing in ESDS in CICS
Reply with quote

I didnt use manual. I used from existing program here...
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Fri Mar 23, 2007 5:31 pm    Post subject:
Reply with quote

Well then, you are going to want to keep this url to the CICS Transaction Server for z/OS V3.1 so you always have access to the fine manuals like the CICS Application Programming Reference. In the chapter about WRITE you will find almost all the answers you want.
You can read the books online or download a PDF copy to keep on your PC in case you can't always connect to IBM.
You should to to the server site and get a copy of the Programming Guide too.
Back to top
View user's profile Send private message
ssowmya

New User


Joined: 10 Oct 2006
Posts: 40

PostPosted: Fri Mar 23, 2007 6:20 pm    Post subject: Re: Writing in ESDS in CICS
Reply with quote

Thank you very much for all information

Have a nice day!!!

icon_biggrin.gif
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 ASP3 ABEND IN CICS Vedant CICS 0 Fri Oct 20, 2017 3:18 pm
No new posts Identifying Interfaces in CICS/mainframe Ashishpanpaliya CICS 5 Fri Oct 13, 2017 3:21 pm
No new posts Accessing CICS tran with map from JCL... navdeepaggarwal CICS 5 Tue Oct 03, 2017 6:15 pm
No new posts Partial color change of a field in CI... waseem0424 CICS 5 Fri Sep 29, 2017 7:56 pm
No new posts FUSE - IBM MQ - CICS integration error Kevin Vaz CICS 1 Mon Sep 18, 2017 4:31 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us