Memorex LOCK - VERSION 2-24 Información técnica Pagina 349

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 568
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 348
Deleting Datasets (TSIDDEL)
User Reference
Connectivity Systems, Inc.—Copyright © 2006
Use Pursuant to Company Instructions
8-11
Definitions The following provides definitions for the parameters you can use with a
TSIDDEL statement.
Example The following example creates the SORTWK1 dataset in the first step.
Option code D 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. The TSIDDEL step is required only if the sort
program being used does not issue a close for SORTWK1. Most sort
products issue a close.
.
.
// DLBL SORTWK1,.SORTWK1,(D)'
// EXTENT SYS003
// EXEC SORT
[sort control statements]
/*
// EXEC TSIDDEL
SORTWK1
/*
.
.
Using TSIDDEL
as a Subroutine
When you use TSIDDEL as a subroutine, you must provide a parameter
list to specify which file to delete. In the parameter list, place the DTF
name or DD name as appears on the dataset 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.
Assembler
Example
The following example is written in Assembler.
...
CALL TSIDDEL,(FILEID)
...
FILEID DC CL7'SORTWK1'
...
COBOL
Example
The following example is written in COBOL.
...
WORKING-STORAGE SECTION.
10 FILEID PIC X(7) VALUE 'SORTWK1'.
...
PROCEDURE DIVISION.
...
CALL 'TSIDDEL' USING FILEID.
...
Parameter Definition
dtfname Specifies the DTF name or DD name of the dataset
to be deleted.
Vista de pagina 348
1 2 ... 344 345 346 347 348 349 350 351 352 353 354 ... 567 568

Comentarios a estos manuales

Sin comentarios