BCI433 LECTURE 3 (Practice)
BCI433 LECTURE 3 (Practice)
. menu screen
. list screen
. entry screen (command prompt screen)
. information screen
- CL commands can consist of a verb and a noun or a verb, an adjective and a noun. Abbreviations
are used to construct CL commands. Vowels are rarely used in a CL command.
WRK CHG DSP CRT DLT CPY OBJ STR STS SYS WTR
Or use the Wildcard like WRK* or DSP* to see all the commands
- A CL command has two kinds of parameters: required parameter and optional parameter.
- CL Keyword Notation
Command Name Keyword (Value) Keyword(Value) Keyword(Value)
. Function key F11 is very useful to view your keyword for a command
- CL Positional Notation
. When parameter values are entered by position, they must be entered in the order in which they
are specified within the command syntax.
. The position parameters must occur first, once keyword notation is used, positional notation is no
longer valid, and any additional parameters must be specified in keyword notation.
- When you specify a command with library, it is qualified like call mylib/pgma
- When you specify a command without library, it is non-qualified like call pgma
- In a non-qualified command the system will go over your library list and search for pgma
- SNDMSG MSG(WRKACTJOB)
- SBMJOB JOBNAME(MYJOB1) SCDDATE(122522) SCDTIME(230000)
- The above will run the results of Wrkactjob command on Dec 25, 2022 at 23 hundred hours
meaning at 11 pm.
- To check your job if it is scheduled or not, run the command WRKUSRJOB, then press F11 to
look at schedule date/time
Spool File
- Submit a Job
- -Sbmjob
- Looking at your job
- -Wrkusrjob
- F11 is for Keywords
- F9 is for retrieve
- F5 is for Refreshing your screen
- Spool files
- - Wrksplf
- Sending messages
- -Sndmsg
- Display messages
- -dspmsg
- Creating Jobq
- - Crtjobq
- - Wrkjobq
- - Addjobqe To attach your Jobq with Sub-System
- Creating Outq
- crtoutq
- - wrkoutq
SNDMSG MSG(WRKACTJOB) /// for sending message after this press F4 add some message and
then your library, press enter
//////
Sbmjob // press F4 dsplibl some job name scroll down and check date and time enter
//////
dspjoblog // press enter, press F10 scroll up you will see all your jobs.
For print press F4 dspjoblog then type *print and then wrksplf and then 5 to see all activity
/////
///
crtjobq
Wrkjobq azjan31 /// you will see nothing but later on do this,
After this,
Wrkusrjob, and it will be deleted and after this press 8 and spool file is there.