Reference Data Calls
ISPW Reference Data is cached in both the ISPWCM task and the TSO client. This is done for performance reasons. ISPWexits run in a TSO/ISPF address space (either the User Interface or Set Processor), and these have a requirement to access the Reference Data. The calls to access this Reference Data are documented in this chapter.
REXX Call Format
The Reference Data is accessed by a REXX call of the following type:
WZZTSI("#refdataclass,"GET")Where refdataclass is the acronym for the ISPW Reference Data Entity for which the data is being retrieved.
A non-zero return code is an error.
#refdataclass
The following table lists the #refdataclass relationship to the various Reference Data Entities and also indicates whether or not Extension Data is valid for that Class.
#refdataclass
Class | Entity | Ext Data |
|---|---|---|
#CMPNTYP | M.CT – Component Type | Y |
#BCTYPE | M.BC – Base Category | N |
#CMPNCAT | M.CC – Component Category | N |
#EXTREF | M.ER – External References | N |
#EXIT | M.EX – Exits | N |
#APPL | M.AP – Applications | N |
#APPSTRM | M.AD – Application Definition | N |
#STRM | M.ST – Streams | N |
#STRMLVL | M.ST(L) – Stream Level | Y |
#STRMCT | M.ST(T) – Stream Type | Y |
#STRMCTA | M.ST(A) – Stream Associations | N |
#STRMCTL | M.ST(N) – Stream Names | Y |
#APPLLVL | M.AD(L) – Application Level | Y |
#APPLCT | M.AD(T) – Application Types | Y |
#APPLCTL | M.AD(N) – Application Names | Y |
#APPLCTA | M.AD(A) – Application Associations | N |
#PLANIMP | M.AD(P) – Application Plan Implementation | N |
REXX Call Detail
When making a call to retrieve Reference Data, key values for the Entity must be set in ISPF variables prior to the call. The following table describes the ISPF variables for each Class. Variables marked as “KEY” are required to be set before the call is made.
REXX Call Detail
Class | Variables |
|---|---|
#CMPNTYP | MEMBTYPE,LENGTH=4,TYPE=KEY |
#BCTYPE | BCTYPE,LENGTH=4,TYPE=KEY |
#CMPNCAT | CMPNCAT,LENGTH=4,TYPE=KEY |
#EXTREF | FILETYPE,LENGTH=8,TYPE=KEY |
#EXIT | POPT,LENGTH=2,TYPE=KEY |
#APPL | WLLAPPL,LENGTH=4,TYPE=KEY |
#APPSTRM | WAMAPPL,LENGTH=4,TYPE=KEY |
#STRM | WMSSTRM,LENGTH=8,TYPE=KEY |
#STRMLVL | WMLSTRM,LENGTH=8,TYPE=KEY |
#STRMCT | WMTSTRM,LENGTH=8,TYPE=KEY |
#STRMCTA | WMASTRM,LENGTH=8,TYPE=KEY |
#STRMCTL | WMBSTRM,LENGTH=8,TYPE=KEY |
#APPLLVL | WLLAPPL,LENGTH=4,TYPE=KEY |
#APPLCT | WLTAPPL,LENGTH=4,TYPE=KEY |
#APPLCTL | WLBAPPL,LENGTH=4,TYPE=KEY |
#APPLCTA | WLAAPPL,LENGTH=4,TYPE=KEY |
#PLANIMP | WPIAPPL,LENGTH=4,TYPE=KEY |
Example Call
The REXX code in the following figure is an example of a call to retrieve M.AD(L) data.
Example Call
