Can we use PGM|PROGRAM rule entry parameter in resource rule?

Document ID : KB000013083
Last Modified Date : 14/02/2018
Show Technical Document Details
Question:

Can we use PGM|PROGRAM rule entry parameter in resource rule?

Answer:

Only Access rules allow for the use of PGM|PROGRAM on the rule entry to define the environment. PGM|PROGRAM on the rule entry is not allowed for Resource rules. Valid Access and Resource entry rule parameters follow.

Access Rule Entry Syntax 

dsnmask
[Volume(volmask)]
[UID(uidmask)|ROle(role)|USer(logonid)]
[SOurce(source-mask)]  
[SHift(shift)]
[Library(libmask)]  
[PGm(pgmmask)|PRogram(pgmmask)]
[DDname(ddnmask)]
[UNtil(date)|For(days)]
[ACTIVE(date)]  
[DAta(text)]
[Nextkey(nextkey)]  
[Read(Allow|Log|Prevent)]
[Write(Allow|Log|Prevent)]  
[Allocate(Allow|Log|Prevent)]
[Execute(Allow|Log|Prevent)] 

Resource Rule Entry Syntax 

[rsrcmask]
[UId(uidmask) | ROle(role) | USer(logonid)]  
[SOurce(sourcemask)]
[SHift(shiftname)]  
[UNtil(date)|FOR(days)]
[ACTIVE(date)]  
[SErvice(Read,Add,Update,Delete,Execute)]  
[Data(text)]
[Verify]  
[Nextkey(nextkey)]
[Reccheck(recid)]  
[Allow|Log|Prevent]
[*comment]