When you specify the AUTHORIZED, EXEMPT, CHECKEXCLUSIVE, or ACCESSLIST parameters on an EDIF processing statement, you need to identify the programs to which that parameter applies. One way to do this is to list these programs individually. Another way is to list these programs on a UTILITY statement and then specify the name of that statement on the appropriate parameter. This lets you create a single list of programs that should receive the same type of processing and then reference that list on more than one statement.
You need to assign each UTILITY statement a name through the NAME parameter. This is the name that you can substitute on other EDIF processing statements to identify the UTILITY statement that contains the list of programs you want to use. For example, if you specify NAME=ISPF on a UTILITY statement, then you can specify the value AUTHORIZED(UTILITY(ISPF)) on a DATASET statement to tell EDIF to use this UTILITY statement to identify authorized programs.
You also need to list the programs that should be treated the same way. You can use the PROGRAMS parameter to do this. For example, suppose that you want only the programs IEWLF128, ISRUDA, ISRURS, and IEBCOPY to update the SYS1.LINKLIB and PROD1.MYDATA data sets. To do this, specify the following statements in the EDIPARMS member:
UTILITY NAME=ISPF PROGRAMS=(IEWLF128,ISRUDA,ISRURS,IEBCOPY)
DATASET NAME=SYS1.LINKLIB OPTION=(UTILITY,ABEND),
AUTHORIZED=(UTILITY(ISPF))
DATASET NAME=PROD1.MYDATA OPTION=(UTILITY,ABEND),
AUTHORIZED=(UTILITY(ISPF))
Because you identified these programs on a UTILITY statement named ISPF, you can specify UTILITY(ISPF) instead of listing all of these programs on each DATASET statement.
|
Copyright © 2014 CA.
All rights reserved.
|
|