psbData

The system variable DLILib.psbData contains both the name of the runtime PSB and an address with which that PSB is accessed.

The variable is based on the predefined record part PSBDataRecord, which has the following structure:
  Record PSBDataRecord
    psbName char(8);
    psbRef int;
  end

If your program switches from one PSB to another (as is possible outside of IMS™), you can set and test the field DLILib.psbData.psbNamedirectly. Never update the field DLILib.psbData.psbRef, which contains an address.

The initial value of DLILib.psbData.psbNameis the value in the predefined field defaultPSBName. That predefined field is in the PSB record that is assigned to the program property psb. If you do not set that field, its value is the name of the PSBRecord part on which the PSB record is based.

Related reference
EGL library DLILib

Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.