end0tknr's kipple - web写経開発

太宰府天満宮の狛犬って、妙にカワイイ

System i Access for linux

http://www-03.ibm.com/systems/i/software/access/index.html

os400 ver.5以上で利用可能なas400端末?。
/opt/ibm/iSeriesAccess/bin にインストールされるツール群で
5250端末(setup5250,ibm5250)やas400へのコマンド送信(rmtcmd port:8495) ができたり、odbc接続(port:8471)も可能。

http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=/rzatv/rzatvutilodbc.htm

rmtcmd コマンド

port:8495でAS400へ接続し「AS400のコマンド」を送り込むコマンド。
http://www.geocities.jp/sugachan1973/doc/funto51.html によれば、
↓こんな感じらしい。

$ ./rmtcmd /SYSTEM:192.168.X.Y /USER:GMC /PASSWORD:GMC "SNDBRKMSG MSG('あああああ') TOMSGQ(XXXX)"

IBM iSeries Access for Linux
バージョン 5  リリース 2  レベル 0
Remote Command utility V1.2
(C) Copyright IBM Corporation and Others 1984, 2003.  All rights reserved.
U.S. Government Users Restricted Rights - Use, duplication or disclosure
  restricted by GSA ADP Schedule Contract with IBM Corp.
Licensed Materials - Property of IBM

リモート・システム名は 192.168.X.Y です。
$

今後は

linuxからodbcによるas400 db接続や、rmtcmdを実験したいと考えています。