|
DYNALLOC....
DYNALLOC....
*
INCLUDE,MEMBER=JSAM Include JSAM related statements
*
INCLUDE,MEMBER=MAINS Include main processor information
*
INCLUDE,MEMBER=GMS Include job classes, groups, select modes
*
.
.
.
INCLUDE,MEMBER=UR Include unit record devices
*
INCLUDE,MEMBER=TAPE Include tape devices
*
INCLUDE,MEMBER=DASD Include direct access devices
*
ENDINISH
Although you will typically not use the INCLUDE statement in
the member you specify on the *MODIFY,CONFIG command,
segmented initialization streams are useful when used in conjunction
with *MODIFY,CONFIG processing. For example, suppose
all the RJPWS statements are in a member "RJPWS" of a PDS. And suppose
your IATUX15 supports conditional logic. For example IATUX15 is set
up to interrogate the parameter string that is passes and skip over
certain initialization statements depending on the parameter value.
To add new RJPWS statements to the initialization stream, all that
would have to be done is the following: - Add the new RJPWS definitions to the existing "RJPWS" member.
- Add conditional logic in the RJPWS member to just process the
new statements when a *MODIFY,CONFIG command is issued.
For example:
*IF PARM.(1,3) = NEW NEWSTUFF Skip over old definitions if *F,CONFIG
** old RJPWS definitions **
RJPWS,.....
RJPWS,.....
RJPWS,.....
RJPWS,.....
RJPWS,.....
*LBL NEWSTUFF
** new RJPWS definitions **
RJPWS,.....
RJPWS,.....
- Issue the following *MODIFY,CONFIG command:
*MODIFY,CONFIG,ADD=RJPWS,P=NEW
As a result of specifying "P=NEW" the old RJPWS definitions
will be skipped and only the new RJPWS definitions will be processed.
- If a spool is being added via the *MODIFY
CONFIG command, the standard rule for adding statements does not apply.
Instead, the specified member must include all previously defined
TRACK and FORMAT statements. All DYNALLOC statements should also be
included, to simplify spool definition setup. JES3 will determine
the spool extents that are being added, if any, and the same member
will be used the next time the initialization stream is read.
In the following example, the installation uses one spool volume,
SPOOL1, whose DD statement is already included in the JES3 start procedure.
The INCLUDE member (for example, JSAM) contains the following statements: DYNALLOC,DDN=IATPLBI1,DSN=SYS1.PROCLIB
DYNALLOC,DDN=IATPLBI1,DSN=SYS1.PROCLIB.INSTALL
*
* STARTED UP TASK CONTROL PROCLIBS
*
DYNALLOC,DDN=IATPLBS1,DSN=SYS1.PROCLIB
DYNALLOC,DDN=IATPLBS1,DSN=SYS1.PROCLIB.INSTALL
*
* TSO USER LOGON PROCLIBS
*
DYNALLOC,DDN=IATPLBT1,DSN=SYS1.PROCLIB
DYNALLOC,DDN=IATPLBT1,DSN=SYS1.PROCLIB.INSTALL
*
TRACK,DDNAME=SPOOL1,SPART=PART1
*
SPART,NAME=PART1,DEF=YES,INIT=YES
*
BUFFER,SPLIM=(3,5),PAGES=500,GRPSZ=12,BUFSIZE=4084
*
OPTIONS,WANTDUMP=YES,DUMP=PRDMP,JOBNO=(1,32767,32767),MT=ON
*
ENDJSAM
To
add a new spool, SPOOL2, update the JSAM member as follows: DYNALLOC,DDN=IATPLBI1,DSN=SYS1.PROCLIB
DYNALLOC,DDN=IATPLBI1,DSN=SYS1.PROCLIB.INSTALL
*
* STARTED UP TASK CONTROL PROCLIBS
*
DYNALLOC,DDN=IATPLBS1,DSN=SYS1.PROCLIB
DYNALLOC,DDN=IATPLBS1,DSN=SYS1.PROCLIB.INSTALL
*
* TSO USER LOGON PROCLIBS
*
DYNALLOC,DDN=IATPLBT1,DSN=SYS1.PROCLIB
DYNALLOC,DDN=IATPLBT1,DSN=SYS1.PROCLIB.INSTALL
The following
two statements are added: Note: Although the statements will work
as shown, you should keep all TRACK/FORMAT statements in order. In
this example, TRACK for SPOOL2 would follow TRACK for SPOOL1.
DYNALLOC,DDN=SPOOL2,DSN=SYS1.JES3SPL
TRACK,DDNAME=SPOOL2,SPART=PART1
*
TRACK,DDNAME=SPOOL1,SPART=PART1
*
SPART,NAME=PART1,DEF=YES,INIT=YES
*
BUFFER,SPLIM=(3,5),PAGES=500,GRPSZ=12,BUFSIZE=4084
*
OPTIONS,WANTDUMP=YES,DUMP=PRDMP,JOBNO=(1,32767,32767),MT=ON
*
ENDJSAM
|