BCI433 LECTURE 4 (Practice)
BCI433 LECTURE 4 (Practice)
Lecture 4 Working with Jobs and Message Handling and Intro to SEU
-SBMJOB
Command to run, Optional fields: Job Name, Jobq, Outq, Schedule Date and
Time
-WRKJOBSCDE
.The Job Scheduling Entry contains the information you need to submit a batch
job at
regular intervals. Adding a job schedule entry will cause a job to be submitted at
the
specified time.
-Message Handling
. Message ID
. WRKMSG
. CHGMSGQ F4 F10
Source File is used like a container to create members and/or programs within a
source file
-ZnnSRCFILE
- Program1
- Program2
- Program3
o Mypgmb
o Mypgmc
- C Source File
- Mypgmb
- Java
- Mypgmc
- RPG
- MyRPG program
- Cobol
- Mypgmc only c
Run the command Crtsrcpf pnnsrcfile in our library (nn is the number in your
profile CE434Bnn)
Steps
1 – Strpdm
2 – Take Option 3
3 – Enter your source file that you created like pnnsrcfile in your library
Strseu shortcut commands
Insert I
Delete D
Move M
Copy C
Exclude Xnn
After A
Before B
Save
Find
Change
Monitor Message
////// WRKJOBSCDE
Press enter and F6 to add, then job name eg. Monthly, Frequency monthly, date
and day is none and then time 230000, 1st Monday
/// PGM
Crtsrcpf z97srcfile
Strpdm
Take option 3
Second program