ibm-information-center/dist/eclipse/plugins/i5OS.ic.rbam6_5.4.0.1/clcmd.htm

333 lines
37 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="security" content="public" />
<meta name="Robots" content="index,follow" />
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<meta name="DC.Type" content="reference" />
<meta name="DC.Title" content="Common commands used in CL procedures" />
<meta name="abstract" content="This contains a list of commands that are frequently used in CL procedures." />
<meta name="description" content="This contains a list of commands that are frequently used in CL procedures." />
<meta name="DC.subject" content="numeric parameter value, variable replacing, reserved parameter value, command, CL, frequently used in CL procedure, used frequently in CL procedure, CL command, changing program control command, function, CL commands, CALL (Call Program) command, Call Program (CALL) command, program, calling, CL procedure, CALLPRC (Call Procedure) command, Callprc (CALL PROCEDURE) command, RETURN (Return) command, Return (RETURN) command, setting CL procedure limits command, PGM (Program) command, Program (PGM) command, ENDPGM (End Program) command, CL procedure, End Program (ENDPGM) command, ENDPGM (End Program), End Program (ENDPGM), ending, program logic command, controlling program logic command, IF (If) command, description, If (IF) command, calculation, IF (If) command, ELSE (Else) command, DO (Do) command, command, CL, ENDDO (End Do) command, End Do (ENDDO) command, ENDDO (End Do), End Do (ENDDO), DOWHILE (Do While) command, Do While (DOWHILE) command, DOWHILE (Do While), Do While (DOWHILE), DOUNTIL (Do Until) command, Do Until (DOUNTIL) command, DOUNTIL (Do Until), Do Until (DOUNTIL), DOFOR (Do For) command, Do For (DOFOR) command, DOFOR (Do For), Do For (DOFOR), LEAVE (Leave) command, Leave (LEAVE) command, LEAVE (Leave), Leave (LEAVE), ITERATE (Iterate) command, Iterate (ITERATE) command, ITERATE (Iterate), Iterate (ITERATE), SELECT (Select) command, Select (SELECT) command, SELECT (Select), Select (SELECT), WHEN (When) command, When (WHEN) command, WHEN (When), When (WHEN), OTHERWISE (Otherwise) command, Otherwise (OTHERWISE) command, OTHERWISE (Otherwise), Otherwise (OTHERWISE), ENDSELECT (End Select) command, End Select (ENDSELECT) command, ENDSELECT (End Select), End Select (ENDSELECT), functions, GOTO (Go To) command, GOTO (Go To), variable, command to work with, CHGVAR (Change Variable) command, definition, Change Variable (CHGVAR) command, variable, changing, DCL (Declare CL Variable), Declare CL Variable (DCL), CL variable, declaring, CVTDAT (Convert Date) command, Convert Date (CVTDAT) command, CVTDAT (Convert Date), Convert Date (CVTDAT), date, conversion, converting, data area, command to work with, CHGDTAARA (Change Data Area) command, Change Data Area (CHGDTAARA) command, CHGDTAARA (Change Data Area), Change Data Area (CHGDTAARA), data area, data area, CRTDTAARA (Create Data Area) command, Create Data Area (CRTDTAARA) command, CRTDTAARA (Create Data Area), Create Data Area (CRTDTAARA), creating, DLTDTAARA (Delete Data Area) command, Delete Data Area (DLTDTAARA) command, DLTDTAARA (Delete Data Area), Delete Data Area (DLTDTAARA), deleting, DSPDTAARA (Display Data Area) command, Display Data Area (DSPDTAARA) command, DSPDTAARA (Display Data Area), Display Data Area (DSPDTAARA), displaying, RTVDTAARA (Retrieve Data Area) command, Retrieve Data Area (RTVDTAARA) command, RTVDTAARA (Retrieve Data Area), Retrieve Data Area (RTVDTAARA), retrieving, DCL (Declare CL Variable) command, Declare CL Variable (DCL) command, DCL (Declare CL Variable), Declare CL Variable (DCL), CL variable, DCLF (Declare File) command, Declare File (DCLF) command, file, to program, receiving, database file, RTVMBRD (Retrieve Member Description) command, Retrieve Member Description (RTVMBRD) command, RTVMBRD (Retrieve Member Description), Retrieve Member Description (RTVMBRD), member description, SNDF (Send File) command, Send File (SNDF) command, sending, display file, SNDRCVF (Send/Receive File) command, Send/Receive File (SNDRCVF) command, record, user reply, WAIT (Wait) command, Wait (WAIT) command, message, monitoring, example, working with message, RMVMSG (Remove Message) command, Remove Message (RMVMSG) command, RMVMSG (Remove Message), Remove Message (RMVMSG), removing, RTVMSG (Retrieve Message) command, Retrieve Message (RTVMSG) command, RTVMSG (Retrieve Message), Retrieve Message (RTVMSG), SNDPGMMSG (Send Program Message) command, Send Program Message (SNDPGMMSG) command, program message, message queue, SNDRPY (Send Reply) command, Send Reply (SNDRPY) command, SNDRPY (Send Reply), Send Reply (SNDRPY), re
<meta name="keywords" content="numeric parameter value, variable replacing, reserved parameter value, command, CL, frequently used in CL procedure, used frequently in CL procedure, CL command, changing program control command, function, CL commands, CALL (Call Program) command, Call Program (CALL) command, program, calling, CL procedure, CALLPRC (Call Procedure) command, Callprc (CALL PROCEDURE) command, RETURN (Return) command, Return (RETURN) command, setting CL procedure limits command, PGM (Program) command, Program (PGM) command, ENDPGM (End Program) command, CL procedure, End Program (ENDPGM) command, ENDPGM (End Program), End Program (ENDPGM), ending, program logic command, controlling program logic command, IF (If) command, description, If (IF) command, calculation, IF (If) command, ELSE (Else) command, DO (Do) command, command, CL, ENDDO (End Do) command, End Do (ENDDO) command, ENDDO (End Do), End Do (ENDDO), DOWHILE (Do While) command, Do While (DOWHILE) command, DOWHILE (Do While), Do While (DOWHILE), DOUNTIL (Do Until) command, Do Until (DOUNTIL) command, DOUNTIL (Do Until), Do Until (DOUNTIL), DOFOR (Do For) command, Do For (DOFOR) command, DOFOR (Do For), Do For (DOFOR), LEAVE (Leave) command, Leave (LEAVE) command, LEAVE (Leave), Leave (LEAVE), ITERATE (Iterate) command, Iterate (ITERATE) command, ITERATE (Iterate), Iterate (ITERATE), SELECT (Select) command, Select (SELECT) command, SELECT (Select), Select (SELECT), WHEN (When) command, When (WHEN) command, WHEN (When), When (WHEN), OTHERWISE (Otherwise) command, Otherwise (OTHERWISE) command, OTHERWISE (Otherwise), Otherwise (OTHERWISE), ENDSELECT (End Select) command, End Select (ENDSELECT) command, ENDSELECT (End Select), End Select (ENDSELECT), functions, GOTO (Go To) command, GOTO (Go To), variable, command to work with, CHGVAR (Change Variable) command, definition, Change Variable (CHGVAR) command, variable, changing, DCL (Declare CL Variable), Declare CL Variable (DCL), CL variable, declaring, CVTDAT (Convert Date) command, Convert Date (CVTDAT) command, CVTDAT (Convert Date), Convert Date (CVTDAT), date, conversion, converting, data area, command to work with, CHGDTAARA (Change Data Area) command, Change Data Area (CHGDTAARA) command, CHGDTAARA (Change Data Area), Change Data Area (CHGDTAARA), data area, data area, CRTDTAARA (Create Data Area) command, Create Data Area (CRTDTAARA) command, CRTDTAARA (Create Data Area), Create Data Area (CRTDTAARA), creating, DLTDTAARA (Delete Data Area) command, Delete Data Area (DLTDTAARA) command, DLTDTAARA (Delete Data Area), Delete Data Area (DLTDTAARA), deleting, DSPDTAARA (Display Data Area) command, Display Data Area (DSPDTAARA) command, DSPDTAARA (Display Data Area), Display Data Area (DSPDTAARA), displaying, RTVDTAARA (Retrieve Data Area) command, Retrieve Data Area (RTVDTAARA) command, RTVDTAARA (Retrieve Data Area), Retrieve Data Area (RTVDTAARA), retrieving, DCL (Declare CL Variable) command, Declare CL Variable (DCL) command, DCL (Declare CL Variable), Declare CL Variable (DCL), CL variable, DCLF (Declare File) command, Declare File (DCLF) command, file, to program, receiving, database file, RTVMBRD (Retrieve Member Description) command, Retrieve Member Description (RTVMBRD) command, RTVMBRD (Retrieve Member Description), Retrieve Member Description (RTVMBRD), member description, SNDF (Send File) command, Send File (SNDF) command, sending, display file, SNDRCVF (Send/Receive File) command, Send/Receive File (SNDRCVF) command, record, user reply, WAIT (Wait) command, Wait (WAIT) command, message, monitoring, example, working with message, RMVMSG (Remove Message) command, Remove Message (RMVMSG) command, RMVMSG (Remove Message), Remove Message (RMVMSG), removing, RTVMSG (Retrieve Message) command, Retrieve Message (RTVMSG) command, RTVMSG (Retrieve Message), Retrieve Message (RTVMSG), SNDPGMMSG (Send Program Message) command, Send Program Message (SNDPGMMSG) command, program message, message queue, SNDRPY (Send Reply) command, Send Reply (SNDRPY) command, SNDRPY (Send Reply), Send Reply (SNDRPY), repl
<meta name="DC.Relation" scheme="URI" content="comds.htm" />
<meta name="DC.Relation" scheme="URI" content="../clfinder/finder.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 1998, 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 1998, 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="clcmd" />
<meta name="DC.Language" content="en-us" />
<!-- All rights reserved. Licensed Materials Property of IBM -->
<!-- US Government Users Restricted Rights -->
<!-- Use, duplication or disclosure restricted by -->
<!-- GSA ADP Schedule Contract with IBM Corp. -->
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
<link rel="stylesheet" type="text/css" href="./ic.css" />
<title>Common commands used in CL procedures</title>
</head>
<body id="clcmd"><a name="clcmd"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Common commands used in CL procedures</h1>
<div><p>This contains a list of commands that are frequently used in CL
procedures.</p>
<div class="section"><p>You can use this list to select the appropriate command for the
function you want. Superscript 1 indicates the commands that you can use <strong>only</strong> in
CL programs and procedures.</p>
</div>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" width="100%" frame="border" border="1" rules="cols"><thead align="left"><tr><th align="left" valign="bottom" width="16.666666666666664%" id="d0e929">System Function</th>
<th align="left" valign="bottom" width="33.33333333333333%" id="d0e931">Command</th>
<th align="left" valign="bottom" width="50%" id="d0e933">Command Function</th>
</tr>
</thead>
<tbody><tr><td align="left" valign="top" width="16.666666666666664%" headers="d0e929 ">Change Procedure Control</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e931 "><span class="cmdname">Call (CALL)</span></td>
<td align="left" valign="top" width="50%" headers="d0e933 ">Calls a program</td>
</tr>
<tr><td align="left" valign="top" width="16.666666666666664%" headers="d0e929 ">&nbsp;</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e931 "><span class="cmdname">Call Procedure (CALLPRC)</span> <sup>1</sup></td>
<td align="left" valign="top" width="50%" headers="d0e933 ">Calls a procedure.</td>
</tr>
<tr><td align="left" valign="top" width="16.666666666666664%" headers="d0e929 ">&nbsp;</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e931 "><span class="cmdname">Return (RETURN)</span></td>
<td align="left" valign="top" width="50%" headers="d0e933 ">Returns to the command following the command
that caused a program or procedure to be run</td>
</tr>
<tr><td align="left" valign="top" width="16.666666666666664%" headers="d0e929 ">CL Procedure Limits</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e931 "><span class="cmdname">Program (PGM)</span> <sup>1</sup></td>
<td align="left" valign="top" width="50%" headers="d0e933 ">Indicates the start of CL procedure source</td>
</tr>
<tr><td align="left" valign="top" width="16.666666666666664%" headers="d0e929 ">&nbsp;</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e931 "><span class="cmdname">End Program (ENDPGM)</span> <sup>1</sup></td>
<td align="left" valign="top" width="50%" headers="d0e933 ">Indicates the end of CL procedure source</td>
</tr>
<tr><td align="left" valign="top" width="16.666666666666664%" headers="d0e929 ">CL Procedure Logic</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e931 "><span class="cmdname">If (IF)</span> <sup>1</sup></td>
<td align="left" valign="top" width="50%" headers="d0e933 ">Processes commands based on the value of
a logical expression</td>
</tr>
<tr><td align="left" valign="top" width="16.666666666666664%" headers="d0e929 ">&nbsp;</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e931 "><span class="cmdname">Else (ELSE)</span> <sup>1</sup></td>
<td align="left" valign="top" width="50%" headers="d0e933 ">Defines the action to be taken for the else
(false) condition of an IF command</td>
</tr>
<tr><td align="left" valign="top" width="16.666666666666664%" headers="d0e929 ">&nbsp;</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e931 "><span class="cmdname">Do (DO)</span> <sup>1</sup></td>
<td align="left" valign="top" width="50%" headers="d0e933 ">Indicates the start of a Do group</td>
</tr>
<tr><td valign="top" width="16.666666666666664%" headers="d0e929 ">&nbsp;</td>
<td valign="top" width="33.33333333333333%" headers="d0e931 "><span class="cmdname">Do While (DOWHILE)</span><sup>1</sup></td>
<td valign="top" width="50%" headers="d0e933 ">Indicates the start of a Do group that processes a set
of commands while the value of a logical expression remains true</td>
</tr>
<tr><td valign="top" width="16.666666666666664%" headers="d0e929 ">&nbsp;</td>
<td valign="top" width="33.33333333333333%" headers="d0e931 "><span class="cmdname">Do Until (DOUNTIL)</span><sup>1</sup></td>
<td valign="top" width="50%" headers="d0e933 ">Indicates the start of a Do group that processes a set
of commands until the value of a logical expression is true</td>
</tr>
<tr><td valign="top" width="16.666666666666664%" headers="d0e929 ">&nbsp;</td>
<td valign="top" width="33.33333333333333%" headers="d0e931 "><span class="cmdname">Do For (DOFOR)</span><sup>1</sup></td>
<td valign="top" width="50%" headers="d0e933 ">Indicates the start of a Do group that processes commands
zero or more times based on specified values</td>
</tr>
<tr><td valign="top" width="16.666666666666664%" headers="d0e929 ">&nbsp;</td>
<td valign="top" width="33.33333333333333%" headers="d0e931 "><span class="cmdname">Leave (LEAVE)</span> <sup>1</sup></td>
<td valign="top" width="50%" headers="d0e933 ">Ends processing of commands in a Do While, Do Until,
or Do For group</td>
</tr>
<tr><td valign="top" width="16.666666666666664%" headers="d0e929 ">&nbsp;</td>
<td valign="top" width="33.33333333333333%" headers="d0e931 "><span class="cmdname">Iterate (ITERATE)</span> <sup>1</sup></td>
<td valign="top" width="50%" headers="d0e933 ">Ends processing of commands in a Do While, Do Until,
or Do For group, and evaluates the group conditions again</td>
</tr>
<tr><td align="left" valign="top" width="16.666666666666664%" headers="d0e929 ">&nbsp;</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e931 "><span class="cmdname">End Do (ENDDO)</span> <sup>1</sup></td>
<td align="left" valign="top" width="50%" headers="d0e933 ">Indicates the end of a Do group</td>
</tr>
<tr><td align="left" valign="top" width="16.666666666666664%" headers="d0e929 ">&nbsp;</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e931 "><span class="cmdname">Go To (GOTO)</span> <sup>1</sup></td>
<td align="left" valign="top" width="50%" headers="d0e933 ">Branches to another command</td>
</tr>
<tr><td valign="top" width="16.666666666666664%" headers="d0e929 ">&nbsp;</td>
<td valign="top" width="33.33333333333333%" headers="d0e931 "><span class="cmdname">Select (SELECT)</span><sup>1</sup></td>
<td valign="top" width="50%" headers="d0e933 ">Indicates the start of a Select group, which allows
conditional processing of command groups</td>
</tr>
<tr><td valign="top" width="16.666666666666664%" headers="d0e929 ">&nbsp;</td>
<td valign="top" width="33.33333333333333%" headers="d0e931 "><span class="cmdname">When (WHEN)</span><sup>1</sup></td>
<td valign="top" width="50%" headers="d0e933 ">Processes commands in a Select group when the value
of a logical expression is true</td>
</tr>
<tr><td valign="top" width="16.666666666666664%" headers="d0e929 ">&nbsp;</td>
<td valign="top" width="33.33333333333333%" headers="d0e931 "><span class="cmdname">Otherwise (OTHERWISE)</span> <sup>1</sup></td>
<td valign="top" width="50%" headers="d0e933 ">Defines the commands to be processed if no conditions
on a When command in a Select group are true</td>
</tr>
<tr><td valign="top" width="16.666666666666664%" headers="d0e929 ">&nbsp;</td>
<td valign="top" width="33.33333333333333%" headers="d0e931 "><span class="cmdname">End Select (ENDSELECT)</span> <sup>1</sup></td>
<td valign="top" width="50%" headers="d0e933 ">Indicates the end of a Select group</td>
</tr>
<tr><td valign="top" width="16.666666666666664%" headers="d0e929 ">&nbsp;</td>
<td valign="top" width="33.33333333333333%" headers="d0e931 "><span class="cmdname">Call Subroutine (CALLSUBR)</span><sup>1</sup></td>
<td valign="top" width="50%" headers="d0e933 ">Passes control to a subroutine defined within the same
procedure</td>
</tr>
<tr><td valign="top" width="16.666666666666664%" headers="d0e929 ">&nbsp;</td>
<td valign="top" width="33.33333333333333%" headers="d0e931 "><span class="cmdname">Subroutine (SUBR)</span><sup>1</sup></td>
<td valign="top" width="50%" headers="d0e933 ">Delimits the group of commands which define a subroutine</td>
</tr>
<tr><td valign="top" width="16.666666666666664%" headers="d0e929 ">&nbsp;</td>
<td valign="top" width="33.33333333333333%" headers="d0e931 "><span class="cmdname">Return Subroutine (RTNSUBR)</span><sup>1</sup></td>
<td valign="top" width="50%" headers="d0e933 ">Exits a subroutine</td>
</tr>
<tr><td valign="top" width="16.666666666666664%" headers="d0e929 ">&nbsp;</td>
<td valign="top" width="33.33333333333333%" headers="d0e931 "><span class="cmdname">End Subroutine (ENDSUBR)</span><sup>1</sup></td>
<td valign="top" width="50%" headers="d0e933 ">Ends a subroutine</td>
</tr>
<tr><td align="left" valign="top" width="16.666666666666664%" headers="d0e929 ">CL Procedure Variables</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e931 "><span class="cmdname">Change Variable (CHGVAR)</span><sup>1</sup></td>
<td align="left" valign="top" width="50%" headers="d0e933 ">Changes the value of a CL variable</td>
</tr>
<tr><td align="left" valign="top" width="16.666666666666664%" headers="d0e929 ">&nbsp;</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e931 "><span class="cmdname">Declare (DCL) </span><sup>1</sup></td>
<td align="left" valign="top" width="50%" headers="d0e933 ">Declares a variable</td>
</tr>
<tr><td align="left" valign="top" width="16.666666666666664%" headers="d0e929 ">Conversion</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e931 "><span class="cmdname">Change Variable (CHGVAR)</span><sup>1</sup></td>
<td align="left" valign="top" width="50%" headers="d0e933 ">Changes the value of a CL variable</td>
</tr>
<tr><td align="left" valign="top" width="16.666666666666664%" headers="d0e929 ">&nbsp;</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e931 "><span class="cmdname">Convert Date (CVTDAT)</span> <sup>1</sup></td>
<td align="left" valign="top" width="50%" headers="d0e933 ">Changes the format of a date</td>
</tr>
<tr><td align="left" valign="top" width="16.666666666666664%" headers="d0e929 ">Data Areas</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e931 "><span class="cmdname">Change Data Area (CHGDTAARA)</span></td>
<td align="left" valign="top" width="50%" headers="d0e933 ">Changes a data area</td>
</tr>
<tr><td align="left" valign="top" width="16.666666666666664%" headers="d0e929 ">&nbsp;</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e931 "><span class="cmdname">Create Data Area (CRTDTAARA)</span></td>
<td align="left" valign="top" width="50%" headers="d0e933 ">Creates a data area</td>
</tr>
<tr><td align="left" valign="top" width="16.666666666666664%" headers="d0e929 ">&nbsp;</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e931 "><span class="cmdname">Delete Data Area (DLTDTAARA)</span></td>
<td align="left" valign="top" width="50%" headers="d0e933 ">Deletes a data area</td>
</tr>
<tr><td align="left" valign="top" width="16.666666666666664%" headers="d0e929 ">&nbsp;</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e931 "><span class="cmdname">Display Data Area (DSPDTAARA)</span></td>
<td align="left" valign="top" width="50%" headers="d0e933 ">Displays a data area</td>
</tr>
<tr><td align="left" valign="top" width="16.666666666666664%" headers="d0e929 ">&nbsp;</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e931 "><span class="cmdname">Retrieve Data Area (RTVDTAARA)</span> <sup>1</sup></td>
<td align="left" valign="top" width="50%" headers="d0e933 ">Copies the content of a data area to a CL
variable</td>
</tr>
<tr><td align="left" valign="top" width="16.666666666666664%" headers="d0e929 ">Files</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e931 "><span class="cmdname">End Receive (ENDRCV)</span> <sup>1</sup></td>
<td align="left" valign="top" width="50%" headers="d0e933 ">Cancels a request for input previously issued
by a RCVF, SNDF, or SNDRCVF command to a display file</td>
</tr>
<tr><td align="left" valign="top" width="16.666666666666664%" headers="d0e929 ">&nbsp;</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e931 "><span class="cmdname">Declare File (DCLF)</span> <sup>1</sup></td>
<td align="left" valign="top" width="50%" headers="d0e933 ">Declares a display or database file</td>
</tr>
<tr><td align="left" valign="top" width="16.666666666666664%" headers="d0e929 ">&nbsp;</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e931 "><span class="cmdname">Receive File (RCVF)</span> <sup>1</sup></td>
<td align="left" valign="top" width="50%" headers="d0e933 ">Reads a record from a display or database
file</td>
</tr>
<tr><td align="left" valign="top" width="16.666666666666664%" headers="d0e929 ">&nbsp;</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e931 "><span class="cmdname">Retrieve Member Description (RTVMBRD)</span> <sup>1</sup></td>
<td align="left" valign="top" width="50%" headers="d0e933 ">Retrieves a description of a specific member
of a database file</td>
</tr>
<tr><td align="left" valign="top" width="16.666666666666664%" headers="d0e929 ">&nbsp;</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e931 "><span class="cmdname">Send File (SNDF)</span> <sup>1</sup></td>
<td align="left" valign="top" width="50%" headers="d0e933 ">Writes a record to a display file</td>
</tr>
<tr><td align="left" valign="top" width="16.666666666666664%" headers="d0e929 ">&nbsp;</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e931 "><span class="cmdname">Send/Receive File (SNDRCVF)</span> <sup>1</sup></td>
<td align="left" valign="top" width="50%" headers="d0e933 ">Writes a record to a display file and reads
that record after the user has replied</td>
</tr>
<tr><td align="left" valign="top" width="16.666666666666664%" headers="d0e929 ">&nbsp;</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e931 "><span class="cmdname">Wait (WAIT)</span> <sup>1</sup></td>
<td align="left" valign="top" width="50%" headers="d0e933 ">Waits for data to be received from an SNDF,
RCVF, or SNDRCVF command issued to a display file</td>
</tr>
<tr><td align="left" valign="top" width="16.666666666666664%" headers="d0e929 ">Messages</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e931 "><span class="cmdname">Monitor Message (MONMSG)</span> <sup>1</sup></td>
<td align="left" valign="top" width="50%" headers="d0e933 ">Monitors for escape, status, and notify messages
sent to a program's message queue</td>
</tr>
<tr><td align="left" valign="top" width="16.666666666666664%" headers="d0e929 ">&nbsp;</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e931 "><span class="cmdname">Receive Message (RCVMSG)</span> <sup>1</sup></td>
<td align="left" valign="top" width="50%" headers="d0e933 ">Copies a message from a message queue into
CL variables in a CL procedure</td>
</tr>
<tr><td align="left" valign="top" width="16.666666666666664%" headers="d0e929 ">&nbsp;</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e931 "><span class="cmdname">Remove Message (RMVMSG)</span> <sup>1</sup></td>
<td align="left" valign="top" width="50%" headers="d0e933 ">Removes a specified message from a specified
message queue</td>
</tr>
<tr><td align="left" valign="top" width="16.666666666666664%" headers="d0e929 ">&nbsp;</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e931 "><span class="cmdname">Retrieve Message (RTVMSG)</span> <sup>1</sup></td>
<td align="left" valign="top" width="50%" headers="d0e933 ">Copies a predefined message from a message
file into CL procedure variables</td>
</tr>
<tr><td align="left" valign="top" width="16.666666666666664%" headers="d0e929 ">&nbsp;</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e931 "><span class="cmdname">Send Program Message (SNDPGMMSG)</span> <sup>1</sup></td>
<td align="left" valign="top" width="50%" headers="d0e933 ">Sends a program message to a message queue</td>
</tr>
<tr><td align="left" valign="top" width="16.666666666666664%" headers="d0e929 ">&nbsp;</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e931 "><span class="cmdname">Send Reply (SNDRPY)</span> <sup>1</sup></td>
<td align="left" valign="top" width="50%" headers="d0e933 ">Sends a reply message to the sender of an
inquiry message</td>
</tr>
<tr><td align="left" valign="top" width="16.666666666666664%" headers="d0e929 ">&nbsp;</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e931 "><span class="cmdname">Send User Message (SNDUSRMSG)</span></td>
<td align="left" valign="top" width="50%" headers="d0e933 ">Sends an informational or inquiry message
to a display station or system operator</td>
</tr>
<tr><td align="left" valign="top" width="16.666666666666664%" headers="d0e929 ">Miscellaneous Commands</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e931 "><span class="cmdname">Check Object (CHKOBJ)</span></td>
<td align="left" valign="top" width="50%" headers="d0e933 ">Checks for the existence of an object and,
optionally, the necessary authority to use the object</td>
</tr>
<tr><td align="left" valign="top" width="16.666666666666664%" headers="d0e929 ">&nbsp;</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e931 "><span class="cmdname">Print Command Usage (PRTCMDUSG)</span></td>
<td align="left" valign="top" width="50%" headers="d0e933 ">Produces a cross-reference listing for a
specified group of commands used in a specified group of CL procedures</td>
</tr>
<tr><td align="left" valign="top" width="16.666666666666664%" headers="d0e929 ">&nbsp;</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e931 "><span class="cmdname">Retrieve Configuration Source (RTVCFGSRC)</span></td>
<td align="left" valign="top" width="50%" headers="d0e933 ">Generates CL command source for creating
existing configuration objects and places the source in a source file member</td>
</tr>
<tr><td align="left" valign="top" width="16.666666666666664%" headers="d0e929 ">&nbsp;</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e931 "><span class="cmdname">Retrieve Configuration Status (RTVCFGSTS)</span> <sup>1</sup></td>
<td align="left" valign="top" width="50%" headers="d0e933 ">Gives applications the capability to retrieve
configuration status from three configuration objects: line, controller,
and device.</td>
</tr>
<tr><td align="left" valign="top" width="16.666666666666664%" headers="d0e929 ">&nbsp;</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e931 "><span class="cmdname">Retrieve Job Attributes (RTVJOBA)</span> <sup>1</sup></td>
<td align="left" valign="top" width="50%" headers="d0e933 ">Retrieves the value of one or more job attributes
and places the values in a CL variable</td>
</tr>
<tr><td align="left" valign="top" width="16.666666666666664%" headers="d0e929 ">&nbsp;</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e931 "><span class="cmdname">Retrieve System Value (RTVSYSVAL)</span> <sup>1</sup></td>
<td align="left" valign="top" width="50%" headers="d0e933 ">Retrieves a system value and places it into
a CL variable</td>
</tr>
<tr><td align="left" valign="top" width="16.666666666666664%" headers="d0e929 ">&nbsp;</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e931 "><span class="cmdname">Retrieve User Profile (RTVUSRPRF)</span> <sup>1</sup></td>
<td align="left" valign="top" width="50%" headers="d0e933 ">Retrieves user profile attributes and places
them into CL variables</td>
</tr>
<tr><td align="left" valign="top" width="16.666666666666664%" headers="d0e929 ">Program Creation Commands</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e931 "><span class="cmdname">Create CL Module (CRTCLMOD)</span></td>
<td align="left" valign="top" width="50%" headers="d0e933 ">Creates a CL module</td>
</tr>
<tr><td align="left" valign="top" width="16.666666666666664%" headers="d0e929 ">&nbsp;</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e931 "><span class="cmdname">Delete Module (DLTMOD)</span></td>
<td align="left" valign="top" width="50%" headers="d0e933 ">Deletes a module</td>
</tr>
<tr><td align="left" valign="top" width="16.666666666666664%" headers="d0e929 ">&nbsp;</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e931 "><span class="cmdname">Delete Program (DLTPGM)</span></td>
<td align="left" valign="top" width="50%" headers="d0e933 ">Deletes a program</td>
</tr>
<tr><td align="left" valign="top" width="16.666666666666664%" headers="d0e929 ">&nbsp;</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e931 "><span class="cmdname">Create Bound Control Language Program
(CRTBNDCL)</span></td>
<td align="left" valign="top" width="50%" headers="d0e933 ">Creates a bound CL program.</td>
</tr>
<tr><td align="left" valign="top" width="16.666666666666664%" headers="d0e929 ">&nbsp;</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e931 "><span class="cmdname">Create CL Program (CRTCLPGM)</span></td>
<td align="left" valign="top" width="50%" headers="d0e933 ">Creates an OPM CL program.</td>
</tr>
<tr><td align="left" valign="top" width="16.666666666666664%" headers="d0e929 ">&nbsp;</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e931 "><span class="cmdname">Create Program (CRTPGM)</span></td>
<td align="left" valign="top" width="50%" headers="d0e933 ">Creates a program from one or more modules.</td>
</tr>
<tr><td align="left" valign="top" width="16.666666666666664%" headers="d0e929 ">&nbsp;</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e931 "><span class="cmdname">Create Service Program (CRTSRVPGM)</span></td>
<td align="left" valign="top" width="50%" headers="d0e933 ">Creates a service program from one or more
modules.</td>
</tr>
</tbody>
</table>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="comds.htm" title="A CL procedure can contain only CL commands.">Commands used in CL procedures</a></div>
</div>
<div class="relinfo"><strong>Related information</strong><br />
<div><a href="../clfinder/finder.htm">CL command finder</a></div>
</div>
</div>
</body>
</html>