To Execute this Example
To use this example with a remote APPL tier (ie: as a thin client application)
Tier Aware and Platform Aware Subroutines | The 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:
System | Valid Connection Details Are Required | APPL Tier | DATA Tier | PRINT Tier | BATCH Tier |
Default Client | No | System Itself | System Itself | System Itself | System Itself |
Default iSeries | No | System Itself | System Itself | System Itself | System 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.
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:
System | Valid Connection Details Are Required | APPL Tier | DATA Tier | PRINT Tier | BATCH Tier |
Default Client | No | Default iSeries | Default iSeries | System Itself | System Itself |
Default iSeries | Yes | System Itself | System Itself | System Itself | System 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.