Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
how to write a code to know terminal id

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
ankit saxena

New User


Joined: 06 Oct 2010
Posts: 55
Location: india

PostPosted: Thu Oct 28, 2010 8:09 pm    Post subject: how to write a code to know terminal id
Reply with quote

Hi all, i am sorry for raising this querry again (as i have raised this query previously also)

but i have tried everything but i am not still able to know

Q: How to write a code or command in CICS program to check what is the current terminal id on which that program is executing,
anybody having any idea than please help...

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

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8201
Location: Dubuque, Iowa, USA

PostPosted: Thu Oct 28, 2010 8:20 pm    Post subject:
Reply with quote

Have you checked Appendix A of the CICS Application Programming Reference manual (link at the top of the page), which includes:
Quote:
EIBTRMID
contains the symbolic terminal identifier of the principal facility (terminal or logical unit) associated with the task.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Thu Oct 28, 2010 9:21 pm    Post subject: Reply to: how to write a code to know terminal id
Reply with quote

Hello,

To repeat:
Quote:
Why does someone believe the program should use terminal-id?

Keep in mind that in many (most?) places terminal-ids are assigned dynamically. Static ip-addresses are less and less common. . .

If terminal id is being used to control access/functionality, this should be re-designed. . .


Also, do not start new repeat topics for a question.

This topic is being locked. If you beileve you need further discussion, use your original topic. . .

d
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   This topic is locked: you cannot edit posts or make replies.    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 IBEGENER RETURN CODE 12 anilkumar922 All Other Mainframe Topics 5 Wed Dec 13, 2017 11:41 am
No new posts Finding the plan when code compiled u... Ahemad DB2 1 Fri Dec 01, 2017 6:38 pm
No new posts Strange Code amitc23 COBOL Programming 6 Tue Nov 28, 2017 11:25 am
No new posts How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
No new posts Speed-up/reduce CPU use of code prino PL/I & Assembler 0 Tue Sep 26, 2017 12:05 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us