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 BMEND

&pagelevel(4)&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).

01 [/CREATE-JV-LINK JV-NAME=JOBVAR,PROTECTION=*STD]

02 [/SET-JV-LINK LINK-NAME=JVBMEND,JV-NAME=JOBVAR]

03 [/ADD-FILE-LINK LINKNAME=DATABASE,

              FILE-NAME=[:catid:][$userid.]dbname.DBDIR]

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

05 /START-UDS-BMEND

06 [//OPEN-DATABASE DATABASE-NAME=dbname
                    [,COPYNAME=*NONE/copyname]

                      [,USER-IDENTIFICATION=*OWN/userid]

07 bmend statements

08 //END

01, 02

Creates a job variable.

03, 06

You must specify one of the two statements.

04

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.

05

Alias names for the call are START-UDS-REPAIR and BMEND.

Examples on the use of BMEND can be found in the “Database Operation” manual.