Previous Topic: OLQBNOTE Example for z/OSNext Topic: OLQBNOTE example for z/VSE


OLQBNOTE example for CMS

CMS commands:

OLQBNOTE (CMS)

FILEDEF SYSIDMS DISK sysidms parms a
FILEDEF SYSIPT DISK olqbnote input a (RECFM F LRECL lll BLKSIZE bbb
EXEC IDMSFD
OSRUN OLQBNOTE

 

sysidms parms a

File ID of the file containing SYSIDMS parameters

 

olqbnote input a

File ID of the file containing the OLQBNOTE input parameters

 

lll

Logical record length of the user input data file

 

bbb

Block size of the user input data file

 

IDMSFD

Exec which defines all FILEDEFs, TXTLIBs, and LOADLIBs required by the system

SYSIDMS file:

To run OLQBNOTE, you should include these SYSIDMS parameters:

How to create the SYSIDMS file:

To create the SYSIDMS file of SYSIDMS parameters:

  1. On the CMS command line, type:
    XEDIT sysidms parms a (NOPROF
    
  2. Press [Enter]
  3. On the XEDIT command line, type:
    INPUT
    
  4. Press [Enter]
  5. In input mode, type in the SYSIDMS parameters
  6. Press [Enter] to exit input mode
  7. On the XEDIT command line, type:
    FILE
    
  8. Press [Enter]

Note: For documentation of SYSIDMS parameters, see the CA IDMS Database Administration Guide.

SYSIPT file:

To include SYSIPT, you should add this statement:

USER=$USER MESSAGE='OLQ Batch completed'

To create the SYSIPT file of OLQBNOTE input parameters:

  1. On the CMS command line, type:
    XEDIT sysipt input a (NOPROF
    
  2. Press [Enter]
  3. On the XEDIT command line, type:
    INPUT
    
  4. Press [Enter]
  5. In input mode, type in the OLQBNOTE input parameters
  6. Press [Enter] to exit input mode
  7. On the XEDIT command line, type:
    FILE
    
  8. Press [Enter]