Parameter Examples

Review the following sample jobs that process initialization parameters:
view
Review the following sample jobs that process initialization parameters:
Example 1
A new database has its initialization parameters set for an archival and retrieval system with the following characteristics:
  • The database has been created with the SARDBASE utility under the name VIEW.SYSTEM1.
  • For classes P and Q, all SYSOUT is archived.
  • Archival is to disk, and the backup cycle is automatically initiated every day except Sunday.
  • The expiration date for tapes is 99000.
  • Five generations can be backed up to the same tape.
  • All SYSOUT (both classes P and Q) is printed as class A.
  • Four generations are maintained on disk.
  • 100 generations are maintained on tape.
  • Exceptional condition messages are assigned routing code 14.
  • The backup cycle is initiated at 5:00 p.m.
  • The SYSOUT is automatically printed if an exceptional condition occurs.
  • Scratch tapes are used.
  • Defaults are used for everything else.
The following job is run to set the initialization parameters:
//EXAMPLE1 JOB ACCOUNT,PROGRAMMER //INIT     EXEC PGM=SARINIT //STEPLIB  DD  DSN=CAI.CVDELOAD,DISP=SHR //SYSPRINT DD  SYSOUT=* //SYSIN    DD  * NAME=VIEW.SYSTEM1 CLSL=PQ DAYS=YYYYYYN EXPDT=99000 MAXGENT=5 NEWCLSL=AA NGEND=4 NGENT=100 ROUT=14 TIME=1700 XPRINT=YES //
Example 2
The current generation of SYSOUT is automatically microfiched by start procedure SARMFP after backup to tape. The SYSOUT groups are sorted as follows:
  • Descending order by user accounting data, positions 11 to 20
  • Descending order by user accounting data, positions 1 to 10
  • Ascending order by job name
  • Ascending order by job ID
The following job is run to modify the initialization parameters:
//EXAMPLE2 JOB ACCOUNT,PROGRAMMER //INIT     EXEC PGM=SARINIT //STEPLIB  DD  DSN=CAI.CVDELOAD,DISP=SHR //SYSPRINT DD  SYSOUT=* //SYSIN    DD  * NAME=VIEW.SYSTEM1 MSORT1=-U11:20 MSORT2=-U1:10 MSORT3=JNAME MSORT4=JID START=SARMFP //
Example 3
Expanded retention parameters are set to retain five copies of all marked SYSOUT and to define special text for determining SYSOUT identifiers:
//EXAMPLE3  JOB ACCOUNT,PROGRAMMER //INIT      EXEC PGM=SARINIT //STEPLIB   DD  DSN=CAI.CVDELOAD,DISP=SHR //SYSPRINT  DD  SYSOUT=* //SYSIN     DD  * NAME=VIEW.SYSTEM1 POPT=M PCOPIES=5 PTEXT1='PROGRAM-ID.' PTEXT2=-':'.'PROCEDURE'.'MAIN' PTEXT3='***ID=' PTEXT4='SYSLMOD'.'DSN='.'LIB(' //
Example 4
An existing index file has its parameters displayed:
//EXAMPLE4 JOB ACCOUNT,PROGRAMMER //INIT     EXEC PGM=SARINIT //STEPLIB  DD  DSN=CAI.CVDELOAD,DISP=SHR //SYSPRINT DD  SYSOUT=* //SYSIN    DD  * NAME=VIEW.SYSTEM1 //