To Execute this Example

LANSA

To Execute this Example
Tier Aware Batch ProcessingThe 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_SAM136 and test submitting VSAM137 to batch.
  • In this configuration VSAM137 performs the batch activities on your local system and updates your local DBMS.
Thick Batch Execution (Remote DATA Tier)

To use this example with a remote DATA tier (ie: as a thick batch 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 ItselfDefault iSeriesSystem ItselfSystem Itself
Default iSeriesYes System ItselfSystem ItselfSystem ItselfSystem Itself

  • Close the Tier Configurator VL_SAM134.
  • Now execute form VL_SAM136 and test submitting VSAM137 to batch.
  • In this configuration VSAM137 performs the batch activities on your local system but is accessing a remote database tier.
Thin Batch Execution (Remote BATCH and DATA Tiers)

To use this example with a remote BATCH and a remote DATA tier (ie: as a thin batch 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 ItselfDefault iSeriesSystem ItselfDefault iSeries
Default iSeriesYes System ItselfSystem ItselfSystem ItselfSystem Itself

  • Close the Tier Configurator VL_SAM134.
  • Now execute form VL_SAM136 and test submitting VSAM137 to batch.
  • In this configuration VSAM137 performs the batch activities on your remote iSeries server system. See the code in VSAM137 to understand how this is done.