5
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

RPGⅣデバッグのための設定_I/Oステップ停止を回避する方法

Last updated at Posted at 2025-12-10

はじめに

2025年10月29日(水)に開催されました「改めて ILE RPG を学ぶ。RPG III脳から、ひとつ先へ!」をテーマにしたIBM iリスキリングカレッジ第4弾にて、講師を務めさせて頂きました。
イベントの詳細はこちらをご覧ください。
IBM i リスキリングカレッジ第4弾の開催報告・資料と動画公開のお知らせ

本記事では、その際に解説した『ILE RPGのデバッグ』について内容をまとめています。
RPG-IVのデバッグ機能であるSTRDBGの設定についてご紹介します。

困りごと

通常、ステップ実行では全ての⼊出⼒命令がステップ実⾏の対象となり、READやWRITE等の各処理で停止してしまいます。
rpg4DebugsettingsStopping_01.gif

不要なI/O処理で何度も止められてしまい、肝心の処理に到達するまでに手間が掛かってしまいます。

解決方法

H仕様書に下記を設定することで、ファイルや画面のI/O処理がステップ実行時に自動的に実行され、停止されなくなります。

H OPTION(*NODEBUGIO)

rpg4DebugsettingsStopping_02.gif

ご参考になれば幸いです。最後までお読み頂きありがとうございます。

5
2
1

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
5
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?