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
 

 

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: 8117
Location: East Dubuque, Illinois, 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 Write out NODUPS but just from one file Jay Villaverde DFSORT/ICETOOL 8 Fri Jul 14, 2017 12:44 am
No new posts UNIT=AFF for Easytrieve code gandikk JCL & VSAM 7 Wed Jul 12, 2017 11:42 pm
No new posts How to write Specific Fields from Mul... Padhu SYNCSORT 6 Thu Jul 06, 2017 10:26 am
No new posts Need to write record of PS File in ex... Chandan1993 JCL & VSAM 1 Wed Jun 07, 2017 1:35 am
No new posts DB2 Program abending without giving a... rahulgarg14 DB2 7 Mon May 29, 2017 8:10 pm


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