Skip to main content

18 posts tagged with "AS400"

View All Tags

IBM System i (AS400): メッセージ待ち行列でのメッセージの扱い方

· 3 min read
Yu Sasaki
Enterprise Security Manager / Advisor

IBM i OS上でやり取りされるメッセージの扱い方を確認する為、以下の操作を行う。

  1. メッセージキューを作成
  2. メッセージキューにメッセージを送信
  3. メッセージを表示

尚、本記事内容に関わる公式のドキュメントは以下の通り。 メッセージ - IBM i information center

IBM System i (AS400): CPA, CPFメッセージ内容の検索 - DSPMSGD, WRKMSGF

· 4 min read
Yu Sasaki
Enterprise Security Manager / Advisor

IBM i OSが出力するメッセージコードからその内容を調べたい場合は以下の検索手法がある。

DSPMSGD CPFXXXX

Select Message Details to Display
System: XXXXXX
Message ID . . . . . . . . . : CPF5140
Message file . . . . . . . . : QCPFMSG
Library . . . . . . . . . : QSYS2924
Message text . . . . . . . . : Session stopped by a request from device &4.
Select one of the following:
1. Display message text
2. Display field data
5. Display message attributes
30. All of the above
Selection
F3=Exit F12=Cancel

また、IBM i OSに登録されているメッセージコードを確認したい場合は以下の通り。

WRKMSGF MSGF(*ALL)

下記の画面にてQCPFMSG行のOpt列に5を入力の上、Enterを押下。

Work with Message Files
Type options, press Enter.
1=Create 2=Change 4=Delete 5=Display message descriptions
12=Work with message descriptions 13=Change description
Message
Opt File Library Text
AMQMSG QSYS2924 WebSphere MQ Message File
EVFCMSGF QSYS2924 ADM Check In Exit Hook
QALRMSG QSYS2924
QAPFMSG QSYS2924
QBASMSG QSYS2924
QCBLMSGE QSYS2924 COBOL RUN TIME MESSAGE FILE
QCEEMSG QSYS2924
QCGMSG QSYS2924
5 QCPFMSG QSYS2924
More...
Parameters for options 1, 2, 5, 12 and 13 or command
===>
F3=Exit F4=Prompt F5=Refresh F9=Retrieve F11=Display names only
F12=Cancel F16=Repeat position to F17=Position to F24=More keys

"WebSphere MQ is waiting for a job to start."の原因と対処法

· 2 min read
Yu Sasaki
Enterprise Security Manager / Advisor

事象・エラーメッセージ

IBM i版のWebSphere MQでキューマネージャを作成した際に発生したエラーメッセージ。

> CRTMQM MQMNAME(QMA)
WebSphere MQ is waiting for a job to start.
WebSphere MQ is waiting for a job to start.
An internal WebSphere MQ error has occurred.
Error found on CRTMQM command.

F4のコマンド入力画面で実行した場合は下記のように画面下部に表示される。

Create Message Queue Manager (CRTMQM)
Type choices, press Enter.
ASP Number . . . . . . . . . . . *SYSTEM 1-32, *SYSTEM, *ASPDEV
ASP device . . . . . . . . . . . Character value, *ASP
Journal receiver threshold . . . *DFT 100000-1000000000, *DFT...
Journal buffer size . . . . . . *DFT 32000-15761440, *DFT
Bottom
F3=Exit F4=Prompt F5=Refresh F12=Cancel F13=How to use this display
F24=More keys
WebSphere MQ is waiting for a job to start.

IBM System i (AS400): ジョブの操作 - SBMJOB, WRKJOB, WRKUSRJOB, WRKSBS

· 9 min read
Yu Sasaki
Enterprise Security Manager / Advisor

下記の順序でsubmitting jobとそのjobの操作の動作確認をする。

  1. job queueに2つのjobをsubmitする
  2. システム上の全てのjob queueを表示する
  3. job queueのjobを表示する
  4. jobをholdする
  5. jobを別のjob queueに移動させる
  6. jobを終了する
  7. 指定ユーザー名のjobを検索する
  8. jobをリリースし完了したかどうかを確認する

IBM i Access: 解決例 - "An update is required to continue with this install."

· One min read
Yu Sasaki
Enterprise Security Manager / Advisor

IBM System i Access for Windows のv6.1, v7.1をインストールする際に下記のエラーが発生しインストールが中断する。

エラーダイアログ・メッセージ

An update is required to continue with this install.
Refer to the following link for data files and
instructions:http://www-03.ibm.com/system/i/software

ibm_system_i_access_error_ms_patch 対処法としては、下記のMSパッチを適用しWindowsを再起動。