LIBDEF

Defines which libraries are to be searched for members of a specified type.

Syntax:

      *-----------------------------------------------------------------------------
      *   LIBDEF OPERANDS
      *--- // LIBDEF type[
      *                  [,SEARCH=(lib1.slib1......lib15,slib15]
      *                  [,CATALOG=lib.slib]
      *                  [,TEMP|PERM]
      *-----------------------------------------------------------------------------

Where:

Type
Either PHASE, OBJ, SOURCE, PROC, * or DUMP but only PROC is supported. The other options are parsed but not processed*.
SEARCH
Sets up a search chain of up to 15 libraries to be searched.
CATALOG
Library to receive output from a linkage editor or a dump. Parsed but not processed*.
TEMP
LIBDEF in effect for the duration of a JOB.
PERM
LIBDEF in effect permanently. Parsed but not processed*.
Note: The command and operand combinations listed in these topics are supported unless indicated as "parsed but not processed". Where indicated, this means:
  • Parsed but not processed - indicates that the command and the operand are not supported, however, Enterprise Developer parses it and, if it fails validation, a JCL error is generated.
  • Parsed but not processed* - indicates that a number of the operands for JCL and POWER commands (for example, any tape or volume-specific operands) do not apply in the Enterprise Developer environment. See General Differences.