| Keyword | Description |
|---|---|
| JES(name) | Specifies the key of a JES/IMS initiator or printer resource record. Mandatory.
Name can be up to eight characters in length. Acceptable characters are A through Z, 0 through 9, $, @ and #. |
| Group(groupname) | Names the group the JES definition belongs to. Mandatory. Groupname can be up to eight characters in length. Acceptable characters are A through Z, 0 through 9, $, @ and #. Do not specify a group name starting with DFH, as Mainframe Subsystem Support uses that prefix for system groups |
| Description(text) | Describes the initiator/printer record. Optional.
Text can be up to 60 characters in length, with no restrictions except that if you use a left parenthesis you must ensure that there is a matching right parenthesis. |
| Type(Initiator|Printer) | Specifies whether the record defines an initiator or a printer. |
| Classes(string) | Specifies the classes to be associated with this initiator or printer. Each class must be defined individually, and must
be composed of characters A through Z, and 0 through 9. For example, to define classes A and B:
CLASSES(AB) |
| PRintername(name) | Specifies the name by which the printer is known. Valid only for TYPE(PRINTER). |
| EXitmodule(name) | Specifies an exit module to be invoked before a record is to be printed. Valid only for TYPE(PRINTER). |
DEFINE JES(TESTINIT) GROUP(TEST)
DESCRIPTION(INITIATOR FOR CLASSES A-D and 0)
TYPE(INITIATOR) CLASSES(ABCD0)
DEFINE JES(TESTPRNT) GROUP(TEST)
DESCRIPTION(PRINTER FOR CLASS X)
TYPE(PRINTER) CLASSES(X)
PRINTERNAME(testprinter)