Example 3
| 1 Destination |
2 DESTID |
3 Destination |
4 DESTID |
5 Destination |
|---|---|---|---|---|
| NODE2.BILL | DESTID(BILL) DEST=NODE2.JOHN |
NODE2 JOHN | DESTID(JOHN) DEST=NODE3.U5 | NODE3.U5 |
- 1 The destination specified on a /*ROUTE PRT JES2 control statement, NODE2.BILL, means: Send this SYSOUT data set to destination BILL at Node 2.
- 2 JES2 determines whether Node 1 has a definition for destination BILL. It finds a DESTID(BILL) initialization statement definition. Comparing the first-level identifiers and finding that they match (NODE2 specified on the /*ROUTE statement and the DEST= parameter specifies NODE2), JES2 uses the second-level destination (JOHN).
- 3 JES2 puts the destination of JOHN at NODE2 into the NJE header and sends the SYSOUT to Node 2.
- 4 At Node 2, JES2 takes the incoming destination of JOHN and determines if it is defined as a destination identifier. There is a DESTID(JOHN) initialization statement. Its DEST= parameter specifies NODE3.U5. Because this is the specification defined at Node 2 (the destination node), JES2 uses it.
- 5 The resolved destination is U5 (special local routing 5) at Node 3.