简体   繁体   English

我有一个 PF,如何获取使用该特定 PF 的程序列表?

[英]I have a PF , how to get the list of programs that is using that particular PF?

I have a specific physical file.我有一个特定的物理文件。 How do I get a list of programs that is using that PF.如何获取使用该 PF 的程序列表。 Is there any command (or native utility) in AS400 which can fetch that list and give that in an outfile? AS400 中是否有任何命令(或本机实用程序)可以获取该列表并在输出文件中提供该列表?

The command DSPPGMREF does a pretty good job although it can take a little while to run and you have to query the output of the command to find the usages.命令 DSPPGMREF 做得很好,虽然它可能需要一些时间才能运行,并且您必须查询命令的 output 以查找用法。 There are also a quite a few config parameters which alter the type of data the command produces.还有很多配置参数会改变命令产生的数据类型。

Basically, the command is run over all the programs and it compiles all the usages (Files, data areas, display files etc) and writes those to a file which can be queried to find the particular file in question.基本上,该命令在所有程序上运行,它编译所有用法(文件、数据区域、显示文件等)并将它们写入可以查询以查找相关特定文件的文件。

DSPPGMREF   PGM(LIBRARY/*ALL)  OUTPUT(*OUTFILE)
            OUTFILE(QTEMP/OUTFILE)

IBM DSPPGMREF command IBM DSPPGMREF 命令

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM