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
 

 

Capturing local CICS region ID in CICSPLEX environment

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

New User


Joined: 02 Jul 2009
Posts: 14
Location: Mumbai

PostPosted: Tue Aug 25, 2009 2:27 pm    Post subject: Capturing local CICS region ID in CICSPLEX environment
Reply with quote

Hi,

I am working in a CICSPLEX environment with the local region (say CICSABCD) connected to a remote region (say CICS1234). On an application running in the local region, is there any way where I can identify the local region id (CICSABCD). I tried using the EXEC CICS ASSIGN APPLID command, but this fetches me the id of the remote region (CICS1234) instead of the local region (CICSABCD).

Please suggest a method to get the local region id (CICSABCD) displayed on the application running in the local region.

Thanks in advance.
Ankit
Back to top
View user's profile Send private message

Binop B

Active User


Joined: 18 Jun 2009
Posts: 407
Location: Nashville, TN

PostPosted: Tue Aug 25, 2009 3:08 pm    Post subject:
Reply with quote

Hi Ankit,

Probably u could try the ASSIGN NETNAME option.

Quote:
NETNAME(data-area)
returns the 8-character name of the logical unit in the VTAM network. If the task is not initiated from a terminal, INVREQ occurs. If the principal facility is not a local terminal, CICS no longer returns a null string but the netname of the remote terminal.
If this command was issued by a user transaction which was started by a 3270 bridge transaction, the value returned is the termid of the bridge facility.
If the CICS region supports VTAM LU aliases, the NETNAME returned by CICS could be an LU alias, either dynamically allocated


I am not sure about this... Not able to test any program here now... but anyway this is what i found in the manuals. Please ignore my reply if this is not what u were looking for... icon_wink.gif

and next time... CICS related queries you could post in the CICS forums probably.. icon_smile.gif
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7931
Location: Bellevue, IA

PostPosted: Tue Aug 25, 2009 3:23 pm    Post subject:
Reply with quote

Binop, the request was for the CICS region id and you're providing an answer about the terminal id. These are not the same thing at all.

Ankit: if I were you, I'd go into the region and enter CECI ASSIGN and hit the enter key twice (once to bring up the command, once for CICS to return all the assigned values). If one of the returned values is the value you need, that's the field to use in your program. If none of them has the value you need, you may not be able to retrieve the value using CICS commands.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Tue Aug 25, 2009 4:32 pm    Post subject:
Reply with quote

ASSIGN SYSID(WS-SYSID) ?
Back to top
View user's profile Send private message
ankit.jain

New User


Joined: 02 Jul 2009
Posts: 14
Location: Mumbai

PostPosted: Tue Sep 08, 2009 12:21 pm    Post subject:
Reply with quote

Thank you all for the replies!!!

I found out that it will be the Application Owning Region (AOR) which will be displayed in the CICSPLEX environment. Forgot to post the reply here. icon_mad.gif

In the example that I quoted in the question, CICS1234 was the Application Owning Region (AOR) for my application and hence it will always be the CICS1234 region id that would be displayed for the command EXEC CICS ASSIGN APPLID.

Hence, even though CICSABCD was the local region id, CICS1234 was the AOR and hence CICS1234 will be displayed on the application running in the local region CICSABCD.

Thanks!
Ankit
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 CICS transaction slow response time vasanthz All Other Mainframe Topics 0 Thu Jan 19, 2017 1:31 am
No new posts INDEPENDENT CICS TS 4.1 MRO REGION UP... Kyle Carroll CICS 0 Wed Dec 14, 2016 6:55 pm
No new posts CICS START AND CANCEL blayek CICS 1 Wed Dec 07, 2016 3:27 am
No new posts How does a called pgm know if its cal... Graeme Westerman COBOL Programming 4 Tue Nov 29, 2016 9:25 pm
No new posts CICS Roll back partially - Need to re... dwijadas CICS 4 Wed Nov 16, 2016 4:30 pm


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