O'Reilly logo

Complete CL: The Definitive Control Language Programming Guide, Fourth Edition by Ron Hawkins, Doug Pence, Ted Holt, Kevin Forsythe, Ernie Malaga

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 11. Managing Objects

Objects can be managed in CL procedures just as easily as they are managed manually from the command line. Depending on what type of object is being created, objects are created with different CRTXXX commands. For example, you create an output queue with the Create Output Queue (CRTOUTQ) command.

Creating Objects: The CRTXXX Commands

Most CRTXXX commands assume that the object doesn’t exist when the CRTXXX command is executed. CRTXXX commands that have a REPLACE parameter such as CRTRPGPGM are an exception. Executing a CRTXXX command manually is not difficult because, if an error message is received, the user can analyze the problem. However, CL procedures are not that smart. If a CL procedure encounters a CRTXXX command, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required