View previous topic :: View next topic
|
Author |
Message |
babuprasad
New User
Joined: 01 Jul 2008 Posts: 7 Location: bangalore
|
|
|
|
Hi,
When I try to write a record into a Extra partition TDQ ........I get this INVREQ condition and response code 16. But the TDQ is defined as OUTPUT TYPE only......... READ operation works fine ............ only when my program issues a WRITEQ command .....I get this INVREQ.... The extra partition TDQ is a flat PS file in my TSO region........
I have checked with all posibilities........... |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
take a decision, if the tdq is output only how can You read it ???
Quote: |
The extra partition TDQ is a flat PS file in my TSO region. |
I hope You mean that in ISPF 3.4 the dataset is defined a PS
please clarify ! |
|
Back to top |
|
|
babuprasad
New User
Joined: 01 Jul 2008 Posts: 7 Location: bangalore
|
|
|
|
Yes...... I do agree that but the read worked without giving a error .....I cross checked the TDQ definition it is of TYPE OUTPUT.....But I get this INVREQ when the program attempts to WRITE to the TDQ........
YES the file is a PS file in 3.4 list option.........
My requirement is that i have a CICS map which accepts 3 values and writes it to the extrapartition TDQ i.e, this PS file........but when it executes WRITE I get this error INVREQ.....Response code = 16..........where could be the problem............. |
|
Back to top |
|
|
babuprasad
New User
Joined: 01 Jul 2008 Posts: 7 Location: bangalore
|
|
|
|
Hi,
the WRITE started working ......................Thanks...... |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
without human intervention
I suppose |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Quote: |
When I try to write a record into a Extra partition TDQ ........I get this INVREQ condition and response code 16. But the TDQ is defined as OUTPUT TYPE only......... READ operation works fine |
And the manual says about INVREQ on WRITEQ TD:
Quote: |
INVREQ
occurs if WRITEQ names an extrapartition queue that has been opened for input.
Note: This condition cannot be raised for intrapartition queues.
Default action: terminate the task abnormally. |
Maybe the INVREQ came about because the READ worked fine? |
|
Back to top |
|
|
babuprasad
New User
Joined: 01 Jul 2008 Posts: 7 Location: bangalore
|
|
|
|
Ya..............after i Altered the TDQ TYPE...........I had forgot to enable the TDQ......so it was still using the TYPE as INPUT and READ operation was working fine........I disabled the TDQ and enabled it again ........now write is working 5n................... |
|
Back to top |
|
|
|