这里给大家介绍一种AS/400自动启动TCP/IP最简单的办法,请大家试一下这个命令:
ADDAJE SBSD(QSYSWRK)JOB(STRTCP)JOBD(QTOCSTRTCP)
重新启动一下AS/400或者结束控制子系统然后再重新启动控制子系统,
你会发现TCP/IP自动启动了。
下面是QTOCSTRTCP的详细描述,有兴趣的朋友可以自己研究一下。
Job description: QTOCSTRTCP Library: QSYS
User profile . . . . . . . . . . . . . . . . . . : QPGMR
CL syntax check . . . . . . . . . . . . . . . . : *NOCHK
Hold on job queue . . . . . . . . . . . . . . . : *NO
End severity . . . . . . . . . . . . . . . . . . : 30
Job date . . . . . . . . . . . . . . . . . . . . : *SYSVAL
Job switches . . . . . . . . . . . . . . . . . . : 00000000
Inquiry message reply . . . . . . . . . . . . . : *RQD
Job priority (on job queue) . . . . . . . . . . : 5
Job queue . . . . . . . . . . . . . . . . . . . : QBATCH
Library . . . . . . . . . . . . . . . . . . . : QGPL
Output priority (on output queue) . . . . . . . : 5
Printer device . . . . . . . . . . . . . . . . . : *USRPRF
Output queue . . . . . . . . . . . . . . . . . . : *USRPRF
Library . . . . . . . . . . . . . . . . . . . :
Message logging:
Level . . . . . . . . . . . . . . . . . . . . : 2
Severity . . . . . . . . . . . . . . . . . . . : 0
Text . . . . . . . . . . . . . . . . . . . . . : *SECLVL
Log CL program commands . . . . . . . . . . . . : *NO
Accounting code . . . . . . . . . . . . . . . . : *USRPRF
Print text . . . . . . . . . . . . . . . . . . . : *SYSVAL
Routing data . . . . . . . . . . . . . . . . . . : RUNPTY25
Request data . . . . . . . . . . . . . . . . . . : QSYS/STRTCP
Device recovery action . . . . . . . . . . . . . : *SYSVAL
Time slice end pool . . . . . . . . . . . . . . : *SYSVAL
Job message queue maximum size . . . . . . . . . : *SYSVAL
Job message queue full action . . . . . . . . . : *SYSVAL
Allow multiple threads . . . . . . . . . . . . . : *NO
Text . . . . . . . . . . . . . . . . . . . . . . : ADDAJE QSYSWRK to Start TCP/IP at IPL
Initial library list:
*SYSVAL
stephenxie2003 回复于:2003-11-06 17:33:42 |
加为精华吧!
请版主们给点鼓励! :) |
xuguopeng 回复于:2003-11-06 17:37:29 |
自起TCP只要在QSTRUP里面加上STRTCP编译一下就可以了 |
stephenxie2003 回复于:2003-11-06 17:41:23 |
这是另外一种比较方便的方法!
我也是刚刚才学会的! 现在共享给大家! 给点激励好吗 |
stephenxie2003 回复于:2003-11-20 16:14:46 |
看来是没有什么人欣赏了! |
layyf 回复于:2003-11-21 10:09:58 |
大哥,实在是不可能到启动子系统时再启动TCP服务的,但是,我觉得还是挺好用的一个命令addaje |
延伸阅读
文章来源于领测软件测试网 https://www.ltesting.net/