IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

INVREQ when writing to a extrapartition TDQ


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
babuprasad

New User


Joined: 01 Jul 2008
Posts: 7
Location: bangalore

PostPosted: Thu Nov 13, 2008 1:31 pm
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Nov 13, 2008 1:38 pm
Reply with quote

take a decision, if the tdq is output only how can You read it ??? icon_confused.gif

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
View user's profile Send private message
babuprasad

New User


Joined: 01 Jul 2008
Posts: 7
Location: bangalore

PostPosted: Thu Nov 13, 2008 1:50 pm
Reply with quote

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
View user's profile Send private message
babuprasad

New User


Joined: 01 Jul 2008
Posts: 7
Location: bangalore

PostPosted: Thu Nov 13, 2008 4:39 pm
Reply with quote

Hi,

the WRITE started working ......................Thanks......
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Nov 13, 2008 4:41 pm
Reply with quote

without human intervention icon_eek.gif
I suppose
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu Nov 13, 2008 6:07 pm
Reply with quote

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
View user's profile Send private message
babuprasad

New User


Joined: 01 Jul 2008
Posts: 7
Location: bangalore

PostPosted: Fri Nov 14, 2008 1:53 pm
Reply with quote

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................... icon_lol.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Two input files & writing counter... DFSORT/ICETOOL 12
No new posts AI writing DFSORT, REXX codes.. All Other Mainframe Topics 3
No new posts Writing the output file name from a p... JCL & VSAM 7
No new posts writing into VSAM indexed tabl in PL1... PL/I & Assembler 8
No new posts Concurrent writing records to VSAM fr... JCL & VSAM 9
Search our Forums:

Back to Top