View previous topic :: View next topic
|
Author |
Message |
sakthikumarT
New User
Joined: 09 Apr 2009 Posts: 50 Location: Bangalore
|
|
|
|
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 |
|
|
lindovaldolpn
New User
Joined: 25 Feb 2010 Posts: 16 Location: Brazil
|
|
|
|
Hy
CECI ASSIGN
You can see all a list of fields that you could receive including SYSID.
Regards
Lindovaldo |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
sakthikumarT
New User
Joined: 09 Apr 2009 Posts: 50 Location: Bangalore
|
|
|
|
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 |
|
|
sakthikumarT
New User
Joined: 09 Apr 2009 Posts: 50 Location: Bangalore
|
|
|
|
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 |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
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,
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 |
|
|
sakthikumarT
New User
Joined: 09 Apr 2009 Posts: 50 Location: Bangalore
|
|
|
|
Thanks a lot Mr. Robert |
|
Back to top |
|
|
|