TUSACAPT - Capture File Initialization Utility

#### Search Results

Search

# TUSACAPT - Capture File Initialization Utility

When the Capture files have first been allocated or they have been filled and emptied again, this utility must be used to reinitialize them for use. It simply allocates the number of specified records in the actual Capture data set(s) specified.

TUSACAPT is described under the following headings:

- How To Use TUSACAPT

- TUSACAPT conventions

## How To Use TUSACAPT

The following example shows the job control required to initialize capture datasets.

    //TUSACAPT JOB job-card information
    //INIT     EXEC PGM=TUSACAPT
    //STEPLIB  DD DSN=COM.LOAD,DISP=SHR
    //CAPTURn  DD DSN=COM.CAPTURn,DISP=SHR

    * $$ JOB JNM=TUSACAPT,CLASS=A,DISP=D
    * $$ LST CLASS=A,DISP=D
    // JOB TUSACAPT
    // OPTION PARTDUMP
    // LIBDEF PHASE,SEARCH=SAGLIB.COMvrs
    // ASSGN SYS0001,DISK,VOL=......,SHR    Assign for Capture dataset
    // DLBL CAPTURn,'COM.CAPTURn'
    // EXEC TUSACAPT
    /*
    /&

DD/DLBL | Description
--- | ---
CAPTURn | One or more Capture data sets to be initialised.

## TUSACAPT conventions

The following table summarizes the TUSACAPT coding conventions.

Feature | Convention
--- | ---
User exits | None
Return Codes |
00 | Normal Completion

### On this page

- How To Use TUSACAPT
- TUSACAPT conventions