Sie sind auf Seite 1von 1

CL Commands

System Function
Change Procedure Control

CL Procedure Limits
CL Procedure Logic

CL Procedure Variables
Conversion
Data Areas

Files

Messages

Miscellaneous Commands

Command
CALL (Call)
CALLPRC (Call Procedure) 1
RETURN (Return)
PGM (Program) 1
ENDPGM (End Program) 1
IF (If) 1
ELSE (Else) 1
DO (Do) 1
ENDDO (End Do) 1
GOTO (Go To) 1
CHGVAR (Change Variable)1
DCL (Declare) 1
CHGVAR (Change Variable)1
CVTDAT (Convert Date) 1
CHGDTAARA (Change Data Area)
CRTDTAARA (Create Data Area)
DLTDTAARA (Delete Data Area)
DSPDTAARA (Display Data Area)
RTVDTAARA (Retrieve Data Area) 1
ENDRCV (End Receive) 1
DCLF (Declare File) 1
RCVF (Receive File) 1
RTVMBRD (Retrieve Member Description) 1
SNDF (Send File) 1
SNDRCVF (Send/Receive File) 1
WAIT (Wait) 1
MONMSG (Monitor Message) 1
RCVMSG (Receive Message) 1
RMVMSG (Remove Message) 1
RTVMSG (Retrieve Message) 1
SNDPGMMSG (Send Program Message) 1
SNDRPY (Send Reply) 1
SNDUSRMSG (Send User Message)
CHKOBJ (Check Object)
PRTCMDUSG (Print Command Usage)
RTVCFGSRC (Retrieve Configuration Source)
RTVCFGSTS (Retrieve Configuration Status) 1

RTVJOBA (Retrieve Job Attributes) 1


RTVSYSVAL (Retrieve System Value) 1
RTVUSRPRF (Retrieve User Profile) 1
Program Creation Commands
CRTCLMOD (Create CL Module)
DLTMOD (Delete Module)
DLTPGM (Delete Program)
CRTBNDCL (Create Bound Control Language Program)
CRTCLPGM (Create CL Program)
CRTPGM (Create Program)
CRTSRVPGM (Create Service Program)
Superscript 1 indicates the commands that you can use only in CL programs and procedures.

Command Function
Calls a program
Calls a procedure.
Returns to the command following the command that caused a program or procedure to be run
Indicates the start of CL procedure source
Indicates the end of CL procedure source
Processes commands based on the value of a logical expression
Defines the action to be taken for the else (false) condition of an IF command
Indicates the start of a Do group
Indicates the end of a Do group
Branches to another command
Changes the value of a CL variable
Declares a variable
Changes the value of a CL variable
Changes the format of a date
Changes a data area
Creates a data area
Deletes a data area
Displays a data area
Copies the content of a data area to a CL variable
Cancels a request for input previously issued by a RCVF, SNDF, or SNDRCVF command to a display file
Declares a display or database file
Reads a record from a display or database file
Retrieves a description of a specific member of a database file
Writes a record to a display file
Writes a record to a display file and reads that record after the user has replied
Waits for data to be received from an SNDF, RCVF, or SNDRCVF command issued to a display file
Monitors for escape, status, and notify messages sent to a program's message queue
Copies a message from a message queue into CL variables in a CL procedure
Removes a specified message from a specified message queue
Copies a predefined message from a message file into CL procedure variables
Sends a program message to a message queue
Sends a reply message to the sender of an inquiry message
Sends an informational or inquiry message to a display station or system operator
Checks for the existence of an object and, optionally, the necessary authority to use the object
Produces a cross-reference listing for a specified group of commands used in a specified group of CL procedures
Generates CL command source for creating existing configuration objects and places the source in a source file member
Gives applications the capability to retrieve configuration status from three configuration objects: line, controller, and
device.
Retrieves the value of one or more job attributes and places the values in a CL variable
Retrieves a system value and places it into a CL variable
Retrieves user profile attributes and places them into CL variables
Creates a CL module
Deletes a module
Deletes a program
Creates a bound CL program.
Creates an OPM CL program.
Creates a program from one or more modules.
Creates a service program from one or more modules.

Das könnte Ihnen auch gefallen