Access to VSAM LDS data is only supported via the SDK. Once the SDK has been installed you need to define the appropriate tables to facilitate the manipulation of the VSAM LDS data and then write the rules to process the data. Your applications used to access the VSAM LDS data are comprised of these table definitions and rules.
You must install TIBCO Object Service Broker base component in order to use the SDK to access VSAM LDS data. The base component can reside on z/OS, Windows or Solaris. Installation instructions for all platforms are located in
TIBCO Object Service Broker Installation and Operations.
VSAM LDS data is accessed via a combination of TIBCO Object Service Broker tables: VSAM LDS and VSAM MAP. An access to VSAM LDS is performed via a VSAM LDS table. Data manipulation is performed via VSAM MAP table support.
TIBCO Object Service Broker Managing External Data for information about the Service Gateway for Files and about the VSAM accesses discussed in this chapter.
TIBCO Object Service Broker Shareable Tools for information about the tools used for MAP tables.
To access VSAM LDS data, first define a table of type of VSM from TIBCO Object Service Broker. This table is used to map the VSAM data for use within TIBCO Object Service Broker. For details on defining VSAM tables within TIBCO Object Service Broker, refer to
TIBCO Object Service Broker Managing External Data.
The definition of the table must consist of 3 binary fields of the length 4, the first of which must be the primary key. While the Field names may be different their usage will remain constant.
COMMAND==> TABLE DEFINITION Table: LINEAR Type: VSM Unit: USR40 IDgen: N
File : S6B.XX.LINEAR
DDname: Read Only: N Load: N Data Set Type: LDS
Ignore:
Server ID: FGSERVER
Parameter Name Typ Syn Len Dec Class ' Event Rule Typ Acc
---------------- - -- --- -- - ' ---------------- - -
_ LOCATION I C 16 0 L ' _
_ ' _
-------- VSAM --------|---------- Metadata Definition ------
Field Name Xsyn Xlen Xdec Offset Key Typ Syn Len Dec Ord Rqd Default
---------------- ---- ----- -- ----- - - -- ----- --- - - --------
_ RBA B 4 0 0 P B 4 0
_ ADDRESS B 4 0 4 B 4 0
_ CISIZE B 4 0 8 B 4 0
_
_
_
_
PFKEYS: 3=END 12=CANCEL 22=DELETE 13=PRT 14=FIELDS 6=OFFSET 21=DATA 2=DOC
In addition, you must also define an associated MAP table. For details on defining MAP tables within TIBCO Object Service Broker, refer to
TIBCO Object Service Broker Managing Data.
COMMAND==> TABLE DEFINITION Table: LINEARMAP Type: VSM Unit: USR40 IDgen: Y
File : S6B.XX.LINEAR
DDname: Read Only: N Load: N Data Set Type: MAP
Ignore:
Server ID: FGSERVER
Parameter Name Typ Syn Len Dec Class ' Event Rule Typ Acc
---------------- - -- --- -- - ' ---------------- - -
_ ADDRESS I B 4 0 A ' _
_ LOCATION I C 16 0 L _
-------- VSAM --------|---------- Metadata Definition ------
Field Name Xsyn Xlen Xdec Offset Key Typ Syn Len Dec Ord Rqd Default
---------------- ---- ----- -- ----- - - -- ----- --- - - --------
_ KEY B 4 0 0 P I B 4 0
_ DATA B 4 0 0 B 4 0
_
_
_
_
PFKEYS: 3=END 12=CANCEL 22=DELETE 13=PRT 14=FIELDS 6=OFFSET 21=DATA 2=DOC