How to find the Mainframe Host Name?
-
- New Member
- Posts: 5
- Joined: Wed Jun 18, 2014 2:34 am
How to find the Mainframe Host Name?
Hello,
I need FTP a file to mainframe. I connect to mainframe using Citrix. And I don't know the host name for mainframe. Is there any way I can get the IP of the mainframe so that I can FTP the file using the TSO ID and Password.
Thanks.
I need FTP a file to mainframe. I connect to mainframe using Citrix. And I don't know the host name for mainframe. Is there any way I can get the IP of the mainframe so that I can FTP the file using the TSO ID and Password.
Thanks.
- enrico-sorichetti
- Global Moderator
- Posts: 843
- Joined: Wed Sep 11, 2013 3:57 pm
Re: How to find the Mainframe Host Name?
if You have the need to know/do your support will be glad to provide the info
if the info was not given probably You are attempting something that You should not!
if the info was not given probably You are attempting something that You should not!
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort

-
- New Member
- Posts: 5
- Joined: Wed Jun 18, 2014 2:34 am
Re: How to find the Mainframe Host Name?
Enrico, that's a nice suggestion buthave you ever worked at offshore location? Probably not, getting such info is like you are asking for their life!
Can someone please edit the "fid" to "find"? I just realized this.
Can someone please edit the "fid" to "find"? I just realized this.
- Anuj Dhawan
- Founder
- Posts: 2824
- Joined: Sun Apr 21, 2013 7:40 pm
- Location: Mumbai, India
- Contact:
Re: How to find the Mainframe Host Name?
Done.Rahul Bansal wrote:Can someone please edit the "fid" to "find"? I just realized this.

Thanks,
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
- Anuj Dhawan
- Founder
- Posts: 2824
- Joined: Sun Apr 21, 2013 7:40 pm
- Location: Mumbai, India
- Contact:
Re: How to find the Mainframe Host Name?
Usually, in the started task JCL for TCP, there is a DD card for PROFILE. Look for the data-set assigned to this DD and you should find the Port definitions. Or try this, possibly:
Code: Select all
/* REXX */
PARSE VALUE SOCKET('INITIALIZE', 'TEST') WITH RC . . SERVER
PARSE VALUE SOCKET('GETHOSTID') WITH RC IP
SAY IP
PARSE VALUE SOCKET('TERMINATE','TEST') WITH RC REST
EXIT
Thanks,
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
- enrico-sorichetti
- Global Moderator
- Posts: 843
- Joined: Wed Sep 11, 2013 3:57 pm
Re: How to find the Mainframe Host Name?
where I have worked is irrelevant!buthave you ever worked at offshore location?
and anyhow You should check with somebody about WHAT You are allowed to do
don' t You have a coordinator somewhere ?
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort

- Robert Sample
- Global Moderator
- Posts: 1903
- Joined: Fri Jun 28, 2013 1:22 am
- Location: Dubuque Iowa
Re: How to find the Mainframe Host Name?
Actually, in the HOME section of the PROFILE data set you can find the IP address(es) assigned to that LPAR. Depending upon the site there could be 1 or more IP addresses assigned to each LPAR. You may be able to read this data set but I'm not sure -- it may depend on the site.Usually, in the started task JCL for TCP, there is a DD card for PROFILE. Look for the data-set assigned to this DD and you should find the Port definitions
-
- New Member
- Posts: 5
- Joined: Wed Jun 18, 2014 2:34 am
Create an account or sign in to join the discussion
You need to be a member in order to post a reply
Create an account
Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute