This statement can be used to set a modification mode in the JMU utility routine that permits the following modifications to be made to JMS files in the current session:
modify rights of access to job classes
assign default job classes to new users
create, delete and modify job class definitions
create, delete and modify job stream definitions
If desired, these modifications can be implemented with immediate effect.
Format
SET-MODIFICATION-MODE |
SCOPE = *FILE / *SYSTEM / *ALL |
Operands
SCOPE =
Specifies whether the subsequent modifications are to be implemented in the file, the database or both.
SCOPE = *FILE
The modifications are to be implemented in the file only, i.e. they will be effective only as of the next startup.
SCOPE = *SYSTEM
The modifications are to be implemented in the database only, i.e. they are effective only for the current session (for test purposes).
SCOPE = *ALL
The modifications are to be implemented in the file and in the database.
Notes
If SCOPE=*SYSTEM / *ALL is specified, the STREAM, JOB-TYPE and START-ATTRIBUTE operands of the MODIFY-JOB-CLASS statement are ignored.
Only the category names already defined can be used for assigning categories.
If job classes are deleted in the current system, a class containing jobs that are still active is flagged JOB-CLASS-IN-DELETE. Jobs already accepted can be completed, but no new jobs are accepted.
SHOW-JOB-CLASS as a JMU statement outputs only the contents of the SJMSFILE. If SCOPE=*SYSTEM, the SHOW-JOB-CLASS statement is not executed.
If SCOPE=*ALL is specified, a modification is made only if it is possible both in the SJMSFILE and in the database.