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

Error while writing in TDQ


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

New User


Joined: 09 Apr 2009
Posts: 50
Location: Bangalore

PostPosted: Fri Jan 20, 2012 4:35 pm
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
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: 8697
Location: Dubuque, Iowa, USA

PostPosted: Fri Jan 20, 2012 5:40 pm
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: 50
Location: Bangalore

PostPosted: Fri Jan 20, 2012 6:05 pm
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: 50
Location: Bangalore

PostPosted: Fri Jan 20, 2012 6:05 pm
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: 2501
Location: Atlanta, Georgia, USA

PostPosted: Fri Jan 20, 2012 6:48 pm
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: 8697
Location: Dubuque, Iowa, USA

PostPosted: Fri Jan 20, 2012 6:54 pm
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: 50
Location: Bangalore

PostPosted: Sat Jan 21, 2012 9:01 am
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Two input files & writing counter... DFSORT/ICETOOL 12
No new posts Error while running web tool kit REXX... CLIST & REXX 5
Search our Forums:

Back to Top