Message Processing in a CL Program This course is also available on CD-ROM
Presenter: Manta Technologies
Availability: Online SKU: 3604
Course Description: This course describes how to send and receive messages and how to detect and handle errors in a CL program.
The course begins by describing message processing concepts. It then shows how to write a program that uses messages to communicate with a workstation user or another program. You will see how to send a message to a workstation user, how to send a message to another program or procedure, and how to receive a message. The course then shows how to monitor messages in a program and how to handle the exception and error conditions those messages represent.
After completing this course, you should be able to: Describe the difference between an impromptu and a predefined message Describe the format of a message identifier Describe the different types of messages a CL program can send and receive Describe the different types of message queues a CL program can send to Use SNDUSRMSG to send an informational message to a workstation user Use SNDUSRMSG to send an inquiry message to a workstation user and receive a reply Use SNDPGMMSG to send a message to another program or procedure Use the RCVMSG command in a CL program to receive a message Use the MONMSG command in a CL program to monitor for messages
Audience: This course is intended for anyone who will be writing CL programs. This audience consists primarily of application programmers, but may include other people who use CL commands, such as system operators.
Prerequisites: This course assumes that you have a working knowledge of basic OS/400 concepts and facilities. You can satisfy this prerequisite by successfully completing the courses in the following series:
· Using an iSeries System
The course also assumes that you have a basic understanding of CL programming concepts, know how to declare and use variables in a CL program, and know how to control the flow of execution in a CL program. You can satisfy these prerequisites by successfully completing the earlier courses in this series:
· Introduction to CL Programming
· Variables and Built-In Functions
· Controlling Command and Program Flow