top of page

CL Command and Parameter

Commands have two parts

  • Parameters

  • Command Name

 

Example:

  DSPLIB  LIB(LSS)

 (Command )               (Parameter )

-Command names are of 2 parts

  • Function of a command

  • Object on which command is performed

 

Each  parameter  is  made  of  2  parts   

  • Keyword

  • Value 

    

Example :

  CRTLIB LIB(LSS)

  LIB-Keyword  LSS-Value

 Keywords form :

 DSPLIB LIB(paylib)    OUTPUT(*print)

 DSPLIB OUTPUT (*print) LIB(paylib)

 

 Positional form

 DSPLIB      Paylib     *print

 

Command parameter types

Parameters are of two types

  • Required

  • Optional

 

Values for parameters can be

  • User defined value

  • System defined value

Example:

    CRTLIB  LIB(LSS)    TYPE(*prod)  AUT(*LIBCRTAUT))

     LIB                  - Required

     TYPE & AUT   - Optional

bottom of page