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
 

 

INVREQ when writing to a extrapartition TDQ

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: INVREQ when writing to a extrapartition TDQ
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10256
Location: italy

PostPosted: Thu Nov 13, 2008 1:38 pm    Post subject: Reply to: INVREQ when writing to a extrapartition TDQ
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    Post subject: Reply to: INVREQ when writing to a extrapartition TDQ
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    Post subject: Reply to: INVREQ when writing to a extrapartition TDQ
Reply with quote

Hi,

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

Global Moderator


Joined: 14 Mar 2007
Posts: 10256
Location: italy

PostPosted: Thu Nov 13, 2008 4:41 pm    Post subject: Reply to: INVREQ when writing to a extrapartition TDQ
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: 8057
Location: East Dubuque, Illinois, USA

PostPosted: Thu Nov 13, 2008 6:07 pm    Post subject:
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    Post subject: Reply to: INVREQ when writing to a extrapartition TDQ
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    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 Writing on to GSAM variable length rohanthengal JCL & VSAM 6 Fri Mar 03, 2017 7:46 pm
No new posts Problem in writing Output file vickey_dw COBOL Programming 5 Mon Nov 14, 2016 11:14 pm
No new posts Easytrieve - Report writing - Only 1 ... Abhi Nature CA Products 2 Wed Sep 14, 2016 11:40 am
No new posts Reading from File 1 and Writing to Fi... shiitiizz CLIST & REXX 2 Thu May 14, 2015 5:49 pm
No new posts writing start time and end time of job senthamizh All Other Mainframe Topics 2 Tue Apr 28, 2015 3:30 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us