Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

Command sequence to start BCHECK

&pagelevel(3)&pagelevel

The command sequence described here is based on the assumption that UDS/SQL was installed with IMON (see the section “START commands of the UDS/SQL programs” in chapter 2 of the “Creation and Restructuring“ manual).

Depending on the check run the following commands are required to start BCHECK:

01   [/CREATE-FILE FILE-NAME=work-file-1 ...
      /ADD-FILE-LINK LINK-NAME=SCRTCH1,FILE-NAME=work-file-1,

               ACCESS-METHOD=*SAM]

02   [/CREATE-FILE FILE-NAME=work-file-2 ...
      /ADD-FILE-LINK LINK-NAME=SORTWK,FILE-NAME=work-file-2,

               ACCESS-METHOD=*UPAM]

03   /ADD-FILE-LINK LINK-NAME=DATABASE. -
               FILE-NAME=[:catid:][$userid.]dbname.DBDIR[.copy-name]

04   [/ADD-FILE-LINK LINK-NAME=BCHECK, -

               FILE-NAME=[:catid:]UTI.tsn.time-stamp.BCHECK]

05    [/ASSIGN-SYSLST TO=filename]

06    /SELECT-PRODUCT-VERSION PRODUCT-NAME=UDS-SQL,VERSION=version

07    /START-UDS-BCHECK

08    bcheck statements

09    END

10    [/ASSIGN-SYSLST TO=*PRIMARY]

03

04

In this case specifying :catid: is permitted (see the “Database Operation” manual).

specified in a sort run to make BCHECK evaluate the summing run output file UTI.tsn.time-stamp.BCHECK

05

06

specified in a summing run if the output log is to be used in a subsequent sort run.

The version of the utility routine is selected.
Specification of the version is generally recommended, since several UDS/SQL versions can be installed in parallel.

07

The UDS/SQL utility routine can also be started with the alias BCHECK.