Memorex LOCK - VERSION 2-24 Especificaciones Pagina 292

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 489
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 291
Deleting Datasets (TSIDDEL)
8-8 User Reference
The following job creates the SORTWK1 dataset in the first step. The 'D' option is included
on the DLBL to qualify the dataset for deletion. In the second step, TSIDDEL deletes the
SORTWK1 file and frees the space it occupied.
.
.
.
// DLBL SORTWK1,'$$$.SORTWK1,(D)'
// EXTENT SYS003
// EXEC SORT
[sort control statements]
/*
// EXEC TSIDDEL
SORTWK1
/*
.
.
.
When you use TSIDDEL as a subroutine, you must use a parameter list to specify which file
to delete. In the parameter list, place the 1 to 7-character DTF name or DD name as it appears
on the dataset's label statement. You can delete only one file per call.
Control is passed to the subroutine using standard IBM linkage conventions. TSIDDEL does
not provide any return codes or issue any messages.
...
CALL TSIDDEL,(FILEID)
...
FILEID DC CL7'SORTWK1'
...
...
WORKING-STORAGE SECTION.
10 FILEID PIC X(7) VALUE 'SORTWK1'.
...
PROCEDURE DIVISION.
...
CALL 'TSIDDEL' USING FILEID.
...
Example
Using TSIDDEL as
a Subroutine
Assembler
Example
COBOL Example
Vista de pagina 291
1 2 ... 287 288 289 290 291 292 293 294 295 296 297 ... 488 489

Comentarios a estos manuales

Sin comentarios