Memorex LOCK - VERSION 2-24 Informações Técnicas Página 209

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 568
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 208
TSIDAC2 Subroutine
User Reference
Connectivity Systems, Inc.—Copyright © 2006
Use Pursuant to Company Instructions
5-7
Sequential and
Random
Access
When using random access, TSIDAC2 returns the master record for a
specific dataset the first time TSIDAC2 is called for that dataset. On each
subsequent call, TSIDAC2 returns a detail record for that dataset.
When using sequential access, TSIDAC2 returns each record in order for
a single dataset. TSIDAC2 then moves to the next dataset in the DSN
Catalog index and begins returning the index records, one record at a
time. Detail records are always returned current version first, followed by
each successively older version.
Also, when using sequential access, TSIDAC2 reads the EDD (Master)
record. Once the EDD record has been returned, subsequent TSIDAC2
calls return a Detail/Version record “belonging” to that EDD until all
Detail records have been retrieved. Subsequent calls to TSIDAC2 will
return the next Master record. Detail records are always returned current
version first, followed by successively older versions.
It is your responsibility to determine the status of a Detail record (active,
open, conditionally cataloged, scratched). TSIDAC2.C and TSIDAC2.A
copybooks provide the mappings to assist you when determining the
status of the record.
Procedure Use the following procedure when invoking the TSIDAC2 subroutine
from a calling program. It may be useful to have the TSIDAC2.C member
available as a guide.
Step Action Description
1 Define the storage area
required for the parameter list
that occurs during a TSIDAC2
call.
This storage area begins with a
one-byte field that is used as a
return code from TSIDAC2.
The rest of the storage area
contains the data being passed
to and received from
TSIDAC2.
The TSIDAC2.C copybook and
the TSIDAC2.A copybook
contain the layout of this
storage area. Both copybooks
are in the BIM-EPIC
installation library. Use one of
these copybooks to define the
storage area.
2 Place the appropriate argument
in the USR-KEY field to
instruct TSIDAC2 which
function to perform.
See “Search Arguments and
Calls” in this chapter for
additional information.
Vista de página 208
1 2 ... 204 205 206 207 208 209 210 211 212 213 214 ... 567 568

Comentários a estes Manuais

Sem comentários