View previous topic :: View next topic
|
Author |
Message |
ssowmya
New User
Joined: 10 Oct 2006 Posts: 40
|
|
|
|
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 |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
INVREQ, what is in EIBRESP2? |
|
Back to top |
|
|
ssowmya
New User
Joined: 10 Oct 2006 Posts: 40
|
|
|
|
EIBRESP2 I receive is 20. |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
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 |
|
|
ssowmya
New User
Joined: 10 Oct 2006 Posts: 40
|
|
|
|
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 |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
Where did you get the information on how to write the write statement? |
|
Back to top |
|
|
ssowmya
New User
Joined: 10 Oct 2006 Posts: 40
|
|
|
|
I dont get U...U mean writing into ESDS file? |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
What CICS manual are you using as a reference on how to code the syntax of the EXEC CICS WRITE? |
|
Back to top |
|
|
ssowmya
New User
Joined: 10 Oct 2006 Posts: 40
|
|
|
|
I didnt use manual. I used from existing program here... |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
Back to top |
|
|
ssowmya
New User
Joined: 10 Oct 2006 Posts: 40
|
|
|
|
Thank you very much for all information
Have a nice day!!!
|
|
Back to top |
|
|
|