java - 大型机 ZOS 机器的 MAC 地址

标签 java mainframe zos mvs

是否有任何linux命令或java代码可以查找Mainfrane机器的MAC地址? 。我尝试从 OMVS 区域执行“ifconfig”命令,但它不起作用。任何帮助将非常感激。提前致谢。

最佳答案

不能说我知道,我的大型机技能有限。

但是通过一些 IBM 搜索我发现了这个:

Use the DISPLAY TCPIP,,OSAINFO command to retrieve information for active IPAQENET and IPAQENET6 interfaces.

https://www.ibm.com/support/knowledgecenter/SSLTBW_2.2.0/com.ibm.zos.v2r2.halu101/dosainfo.htm

看第 236 页:

Diagnostic TCP/IP commands Commands used to display TCP/IP and network
information include NETSTAT, PING, and TRACERTE. The following
commands can be issued from an ISPF/TSO session. By omitting the TSO
prefix, the same commands can be entered at a UNIX System Services
prompt. However, the command must be in lower case. The UNIX command
options for Netstat are shown in parentheses. 

TSO NETSTAT ROUTE
Displays routing information (-r). 

TSO NETSTAT HOME 
Displays the home IP addresses for the IP stack (-h). 

TSO NETSTAT DEV 
Displays the device status for the defined network interfaces (-d). 

TSO NETSTAT STATS 
Displays performance statistics (-S). 

TSO NETSTAT VIPADCFG
Displays dynamic VIPA configuration data (-F). 

TSO NETSTAT SOCKETS
Displays sockets based on client name (-s). 

TCP/IP connections (-c)
Displays information for all TCP/IP connections (-c).

https://www.ibm.com/support/knowledgecenter/zosbasics/com.ibm.zos.znetwork/znetwork_book.pdf

关于java - 大型机 ZOS 机器的 MAC 地址,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42659202/

相关文章:

java - 使用 SwingWorker 可运行对象从 ExecutorService 获取正确类型的 Future

java - 在java中运行带有超时的异步代码

java - 如何解决此通信链路故障?

record - 如何使用 Cobol Copybook 在 RecordEditor 中编辑二进制大型机文件 (pt1)

db2 - COBOL - DCLGEN 主机变量不明确

mainframe - 未收到预期的继续

c - Metal C 中的 memset 问题

java - 使用比较器对链表进行排序

select - 如何在卸载作业中为分隔符编写 DB2 SELECT 语句

ip - 免费ip连接z/os