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

how to write a code to know terminal id


IBM Mainframe Forums -> CICS
Post new topic   This topic is locked: you cannot edit posts or make replies.
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
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: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu Oct 28, 2010 8:20 pm
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

Moderator Emeritus


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

PostPosted: Thu Oct 28, 2010 9:21 pm
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. View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files(F1 & F2) and writ... JCL & VSAM 8
No new posts run rexx code with jcl CLIST & REXX 15
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts Compile rexx code with jcl CLIST & REXX 6
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
Search our Forums:

Back to Top