Memorex LOCK - VERSION 2-24 Especificaciones Pagina 160

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 489
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 159
TSIDAC2 Calling Procedure Accessing DSN Catalog Records (TSIDAC2)
4-6 User Reference
TSIDAC2 Calling Procedure
TSIDAC2 returns DSN Catalog information for any program language or report writer.
TSIDAC2 is a relocatable module in the BIM-EPIC installation library. The library that
contains TSIDAC2 must be available when you catalog your calling program.
The procedure for using the TSIDAC2 subroutine is:
Define the storage area to be used for the parameter list during a TSIDAC2 call.
This storage area begins with a one-byte field that is used as a return code from the TSIDAC2
subroutine. The rest of the storage area contains the data being passed to and received from
the TSIDAC2 subroutine.
The TSIDAC2.C and TSIDAC2.A copybooks contain the layout of the storage area, and are
in the BIM-EPIC installation library. Use one of these copybooks to define the storage area.
Place the appropriate argument in the USR-KEY field to tell TSIDAC2 what function to
perform. Function calls are described in detail in the next section.
Call TSIDAC2 from your program.
This call requires that a parameter list be passed to TSIDAC2. This parameter list consists
solely of the storage area discussed in Step 1.
Following the TSIDAC2 call, you should check the return code that is passed back in the
USER-RETURN-CODE field.
The following return codes are used:
0 indicates that the requested function has been successfully completed and the data has been
returned in USER-CATALOG-DATA.
1 indicates that end-of-file has been reached. This return code is issued when reading the
entire DSN Catalog via Sequential Access or when reading all versions of a specific dataset
using Random Access.
2 indicates that the requested data was not found in the DSN Catalog during a Random Access
call.
3 indicates that the BIM-EPIC system is not active.
Description
Step 1
Step 2
Step 3
Step 4
Return Codes
Vista de pagina 159
1 2 ... 155 156 157 158 159 160 161 162 163 164 165 ... 488 489

Comentarios a estos manuales

Sin comentarios