LoginSignup
10
4

More than 3 years have passed since last update.

IBM i (旧AS400)の自己学習メモ04 フリーのIBM i 開発環境構築

Last updated at Posted at 2020-04-05

自己学習メモインデックス

IBM i (旧AS400)の自己学習メモ インデックス

概要

YoutubeのMohammed Yusuf Mというチャンネルの動画で、フリーでIBM iの開発環境が入手できるというのが紹介されていました。

この動画を参考に、まずは環境構築をしてみます。

Request New Profile

以下にアクセス
http://www.pub400.com/cgi/signup.nd/start?ymode=NEW

screencapture-pub400-cgi-signup-nd-start-2020-03-19-07_45_04.png

必要な情報を入力してSubmitボタンを押下
画面下部に、しばらくすると確認メールが届くよとメッセージが出力される。

スクリーンショット 2020-03-19 7.45.49.png

Gmailでアカウントを申請したところ、迷惑メールに入ってしまっていたので気付くのが遅くなった。。。
以下のような感じのメールが届く。

件名:PUB400 - your user profile request
本文:
********************************************
*** NOTE - This message has been created
***        by a machine. Please do not reply
***        to this email. See below!
********************************************

Hello Yu ********,
this is PUB400.COM, your public IBM i hosted by POWERbunker.com

We received a request for a new user profile from IP 126.234.48.208.
To confirm this request and your email address, please
click this link:

http://pub400.com/cgi/signup.nd/vfy?yu=********&ys=328473

If it was not YOU requesting the account, you can ignore
this email and just do nothing.

Otherwise you will receive a second email with further
information on how to get started with the public IBM i.

Please allow the system 15 minutes to deliver this email.

Best regards
your RZKH operations team
RZKH GmbH, Weinsheim, Germany

- - - - - -
Please report all technical issues to ticket@rzkh.de
due to high number of requests processing might need some time.

If you receive an error after clicking the link above, please
send us a secreenshot by mail.

メール本文にあるリンクをクリックし、メールアドレスの検証が完了すると、
また数分後にメールが届く。

件名:PUB400 - your user profile
本文:
********************************************
*** NOTE - This message has been created
***        by a machine. Please do not reply
***        to this email. See below!
********************************************

Hello Yu ********,
this is PUB400.COM, your public IBM i hosted by POWERbunker.com

Thanks for confirming your eMail-Address (which only will be used
to communicate with you if you need to reset your password).

Your user profile ******** has been created for you. Your
initial password for signon is: ********

To connect, follow these steps:
- install a 5250 compatible telnet client. For example:
  > http://tn5250j.org
  > https://www-01.ibm.com/support/docview.wss?uid=isg3T1026805
    (signon with a free IBM ID is required)
  > or use a search engine for "tn5250"
- there is no "web access" for IBM i.

- configure your client to connect to PUB400.COM  (yes, that is a
  valid DNS name. Do not enter an IP address!)
- when you connect, you should see a signon screen
- enter your user name and your initial password
- press enter or rCTL key (depending on your client config)
- at first signon you are forced to change your password
  (see the messages at the bottom of the screen)
- enter your initial password, and your new password twice.
- after the password change, you should see IBM i main menu
- as soon as you set your final password, you also can use
ssh to connect to the system for open source projects.

At the moment, there still is some work to be done by us.
We just set up a simple forum. See http://PUB400.COM  and
scroll down. You can signon with your IBM i password.

If you are new to IBM i, please use the internet to gather some
information; at the moment we do not have much time to
help with start in programming etc.
We are going to add some interesting links on the main page.

If you have issues in connecting to the system, first check
your internet, firewall etc. Sometimes, access to port 23 (telnet)
is blocked by providers, use SSL to port 992 instead.
(we recently heard about issues from users from south africa)

IMPORTANT! Please respect the following:
- do not disturb other users in any way!
- do not try to peek into other users data!
- this system is not intended for commercial use
- no sharing of data with other user profiles allowed
- system might be offline for maintenance. In that case please do
not send a problem report, simply retry some hours later.
- Performance of the system may vary depending on number of
users and load of other environments.
- Do NOT create objects in Library QGPL - they will be deleted!
- there is no backup of your data. We sometimes might run a
system backup but you cannot rely on us being able to restore
data of a specified date.
- check out http://rzkh.de for professional IBM i hosting.


Best regards
your RZKH operations team
RZKH GmbH, Weinsheim, Germany

- - - - - -
Please report all technical issues to ticket@rzkh.de
due to high number of requests processing might need some time.

MacにMocha TN5250 Liteをセットアップ

MacでIBM iに接続するための5250エミュレータをインストールします。
無料で入手できるMocha TN5250 Liteを使います。

App StoreでMocha TN5250 Liteを検索しインストール。

Configure

  • IP
    • PUB400.COM
    • メールにあるように、IPアドレスは使わないでドメインでアクセスする。
  • EBCDIC codepage
    • 1399とか5026とかがなかったので、とりあえずUS(037)
  • User
    • プロファイルをリクエストした際に指定したユーザID
  • Password
    • メールで届いたパスワード 68747470733a2f2f71696974612d696d6167652d73746f72652e73332e61702d6e6f727468656173742d312e616d617a6f6e6177732e636f6d2f302f3234363535362f66373863303662362d366265652d646238372d383862362d3831616139396535386165632e706e67.png

この状態で接続すると、いきなりパスワードの変更を求められる。

スクリーンショット 2020-03-19 20.30.27.png

Enterを押下

99.png

  • Current Password
    • メールに記載されたパスワード
  • New password / New password (to verify)
    • 変更後のパスワード

を入力してEnterを押下

スクリーンショット 2020-03-19 20.31.41.png

これでASの環境にアクセスできた。
call qcmdを打ってみる

スクリーンショット 2020-03-19 20.32.08.png

スクリーンショット 2020-03-19 20.32.12.png

AS400にアクセスできているようです。

バージョンを確認してみるとV7R4だったので最新でしたw

スクリーンショット 2020-03-19 20.41.46.png

10
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
10
4