2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

(QA) ILE RPG(COBOL)プログラムのソースを調べたい

Last updated at Posted at 2025-01-21

Q. ILE RPG(COBOL)プログラムのソースを調べたい

RPGⅢだとDSPPGMコマンドでソースが表示されます。

DSPPGM PGM(DEMOLIB/IPH110)
image.png

ILE RPGだとDSPPGMコマンドでソースが分かりません。

DSPPGM PGM(DEMOLIB/BCH110)
image.png

A. ILE プログラムでは DETAIL(*MODULE) を指定します

上記の状態ですと、DSPPGM_PGM(..../....)DETAIL(*ALL) がデフォルト指定されています。

DSPPGM PGM(DEMOLIB/BCH110) DETAIL(*MODULE) のように指定すると
下記の画面が出て、OPTION.に5を入れます。
Untitled.png

結果表示画面で、、
image.png

上記のようにプログラムソースが表示されました。

2
1
5

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?