I'm running a CICS program on the mainframe. I pick up the TERMID to determine if a user came in through the 3270 emulator or through Web390 (Webthority). I get a "W" as the first character of the TERMID from Web390. I'm using Netscape 4.7 for Web390.
You do not say how you are running this CICS function. In the case of the 3270 emulator, you are obviously running a transaction via TN3270. I don't think you can determine the OS from which the client request was generated. All you can do is configure your TCP/IP MVS functions so that one set of host IP addresses/ports are used for access from machine-type-A and another set of addresses/ports are used from machine-type-B. From the view of the Web Interface, I assume that you are running function via the CISC Web facilities whereby you specify the program to be run at the end of the URL naming the CICS region (or other equivalent). You can get at the HTTP Headers for the Web-type accesses and so write your own Analyzer to process and route the request differently for each type of issuing environment.
CICS Technical Strategist -- CICS expert at Search390.com
Editor's note: Do you agree with this expert's response? If you have more to share, post it in one of our .VO7aaqqaAFk.0@/search390>discussion forums.
Dig deeper on Mainframe operating systems and management
Related Q&A from Robert Crawford
The mainframe is IT's original cloud, and there are still ways to float cloud operations onto big iron today. But is it pragmatic?continue reading
With 3270 bridge, you can't stack input messages into one structure. The bridge can't process them all at once. It takes a little more work.continue reading
CICS expert Robert Crawford offers advice on determining the connection between CICS transactions and MQ Queue name.continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.