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
 

 

Error while writing in TDQ

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

New User


Joined: 09 Apr 2009
Posts: 42
Location: Bangalore

PostPosted: Fri Jan 20, 2012 4:35 pm    Post subject: Error while writing in TDQ
Reply with quote

Dear All,
I am trying to write data in TDQ by using CECI Command.
I got the terminal id by using this cemt i task. I am getting an error message. i have mentioned it below. Where can get me exact SYSID.?
Please clarify me this Terminal id and SYSid are same or different.?


WRITEQ TD QUEUE('TES1') FROM('1001 SAKTHI') SYSID('CQ14')
STATUS: COMMAND EXECUTION COMPLETE NAME=
EXEC CICS WRITEQ TD
Queue( 'TES1' )
< Sysid( 'CQ14' ) >
From( '1001 SAKTHI' )
< Length( +00011 ) >















RESPONSE: ABEND AEY9 EIBRESP=+0000000000 EIBRESP2=+0000000000
PF 1 HELP 2 HEX 3 END 4 EIB 5 VAR 6 USER 7 SBH 8 SFH 9 MSG 10 SB 11 SF

Awaiting for your reply,
Back to top
View user's profile Send private message

lindovaldolpn

New User


Joined: 25 Feb 2010
Posts: 16
Location: Brazil

PostPosted: Fri Jan 20, 2012 5:17 pm    Post subject:
Reply with quote

Hy


CECI ASSIGN

You can see all a list of fields that you could receive including SYSID.


Regards

Lindovaldo
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: Fri Jan 20, 2012 5:40 pm    Post subject:
Reply with quote

From the CICS Application Programming Reference manual in the section of WRITEQ TD (where you should have looked first):
Quote:
SYSID(systemname)
(remote systems only) specifies the name (1-4 characters) of the system to which the request is directed.

If SYSID is specified, the data set is assumed to be on a remote system irrespective of whether or not the name is defined as remote in the DCT. Otherwise the entry in the DCT is used to find out whether the data set is on a local or a remote system.
So, first, SYSID has aboslutely nothing to do with terminal ID.

Secondly, using SYSID means you are connecting to a remote region (i.e., NOT the CICS region you're running in), so you'd better have the region name right (get it from your site support group), and make sure the TD queue you are writing to is defined in that region.
Back to top
View user's profile Send private message
sakthikumarT

New User


Joined: 09 Apr 2009
Posts: 42
Location: Bangalore

PostPosted: Fri Jan 20, 2012 6:05 pm    Post subject:
Reply with quote

Thanks A lot, and one more thing, is there any way to see the list of Sysid()
i mean any trans id to see this info?
Back to top
View user's profile Send private message
sakthikumarT

New User


Joined: 09 Apr 2009
Posts: 42
Location: Bangalore

PostPosted: Fri Jan 20, 2012 6:05 pm    Post subject:
Reply with quote

lindovaldolpn wrote:
Hy


CECI ASSIGN

You can see all a list of fields that you could receive including SYSID.


Regards

Lindovaldo


Hi I tried but it jusr displays the syntax, i couldn't see any sysid. Could you explain it more detail.
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2502
Location: Atlanta, Georgia, USA

PostPosted: Fri Jan 20, 2012 6:48 pm    Post subject: Reply to: Error while writing in TDQ
Reply with quote

Once the CECI ASSIGN API has been issued, use PF8 to go forward and you'll find (amongst other keywords), SYSID.

Note, this will be the SYSID of the local region that you're in.

To obtain the SYSID of the target remote region, logon to this remote region and issue the CECI ASSIGN API.

Mr. Bill
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: Fri Jan 20, 2012 6:54 pm    Post subject:
Reply with quote

Quote:
is there any way to see the list of Sysid()
Yes, contact your site support group. Otherwise, if you are authorized to use it,
Code:
CEMT I CONN
will list the connections available to your CICS region. These may or may not be available depending upon their status. Knowing which connection is which, of course, requires either specialized knowledge about your site or talking to your site support group.
Back to top
View user's profile Send private message
sakthikumarT

New User


Joined: 09 Apr 2009
Posts: 42
Location: Bangalore

PostPosted: Sat Jan 21, 2012 9:01 am    Post subject:
Reply with quote

Thanks a lot Mr. Robert
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 DB2 Program abending without giving a... rahulgarg14 DB2 3 Mon May 29, 2017 8:10 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts IDC2902I Error tzeche ABENDS & Debugging 2 Tue Mar 28, 2017 11:39 am
No new posts Need help with below DB2 error ashek15 DB2 3 Sat Mar 18, 2017 5:56 am
No new posts FINDREP Syntax Error seahawk789 DFSORT/ICETOOL 4 Thu Mar 09, 2017 10:11 pm


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