1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Db2 for i の長いSQL別名からIBM i OSオブジェクト名を調べる方法

Last updated at Posted at 2025-02-26

こちらの記事では10桁以内のIBM i OS上のオブジェクト名がわかるときに、長いSQL別名を調べることができます。

今回の記事は上記の逆バージョンで、長いSQL別名が分かっているときに10桁以内のIBM i OSオブジェクト名を調べる方法です。

IBM i サービス QSYS2.SYSFILES でテーブル、ビューのIBM OS上でのオブジェクト名を調べる

例として、QSYS2.NETSTAT_JOB_INFO ビューを調べてみます。

 SELECT * FROM QSYS2.SYSFILES WHERE LIB_NAME = 'QSYS2' AND TABLE_NAME='NETSTAT_JOB_INFO';

実行結果はこちらです。
image.png

image.png

Earliest Possible Release ・・・というようなカラムもありますね。(5250では表示されなかったかと・・いまはあるのかも・・?)

1
0
2

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?