To Execute this Example

LANSA

To Execute this Example
Tier Aware and Platform Aware SubroutinesThe Things that Make Up this Example

Local Execution (No Remote Tiers)

To use this example with no remote tiers (ie: as a standalone application):
  • Execute the Tier Configurator VL_SAM134 and make sure that you have this tier configuration:
SystemValid Connection Details Are Required APPL Tier DATA TierPRINT TierBATCH Tier
Default ClientNoSystem ItselfSystem Itself System ItselfSystem Itself
Default iSeriesNoSystem ItselfSystem ItselfSystem ItselfSystem Itself

  • Close the Tier Configurator VL_SAM134.
  • Now execute form VL_SAM148 and test the subroutine VSAM145. You should find in this configuration VSAM145 simply returns and empty list and a message indicating that the requested information is not available.
Thin Client Execution (Remote APPL Tiers)

To use this example with a remote APPL tier (ie: as a thin client application)
  • Execute the Tier Configurator VL_SAM134 and make sure that you have this tier configuration:
SystemValid Connection Details Are Required APPL Tier DATA TierPRINT TierBATCH Tier
Default ClientNoDefault iSeriesDefault iSeriesSystem ItselfSystem Itself
Default iSeriesYes System ItselfSystem ItselfSystem ItselfSystem Itself

  • Close the Tier Configurator VL_SAM134.
  • Now execute form VL_SAM148 and test the subroutine VSAM145. You should find in this configuration VSAM145 displays the list of all available iSeries libraries, and that if you select a library a list of all the programs in the library is shown.