RPGIV编程问题百解(10)Activation Group文件AG概念
问题1:
I have a file with program names. I want to get activation group name for each
one of those. What option is best? command, any API or tool.??
回答1:
TFisher:
See if the QCLRPGMI API is what you want (Activation group attribute)
评语:QCLRPGMI与DSPPGM功能一样,只能显示某个程序的属性,而不能显示文件的属性,更不能显示某个文件的Activation group名字,因为文件没有Activation group名字。
回答2:
passthru:
A file doesn't have an acitvaiton group name, but it can be used under a activation group by a program. If you want keep the status of a file in a activation group until the job end, you can use one in two options while a program compiles, *DFTACTGRP or named of a activation group. If you only like keep the status of a file until the program end, you can use the ACTGRP(*NEW) option for the program compliing.
阅读(723) | 评论(0) | 转发(0) |