System Objects APIs

System objects application programming interfaces (APIs) allow you to work with print-related objects that are on the system. These APIs make it possible to work with IBM® i spooled files, writer jobs, output queues, printers, and more.

By using System Objects APIs, you can write workstation applications that are customized for the user's environment. For example, you can write an application to manage spooled files for a single user, or for all users across a network of IBM i operating systems. This includes holding, releasing, changing attributes of, deleting, sending, retrieving and answering messages for the spooled files.

System Objects APIs required files:

Header file Import library Dynamic Link Library
cwbobj.h cwbapi.lib cwbobj.dll

Programmer's Toolkit:

The Programmer's Toolkit provides System Objects documentation, access to the cwbobj.h header file, and links to sample programs. To access this information, open the Programmer's Toolkit and select IBM i Operations > C/C++ APIs.

Note: By using the code examples, you agree to the terms of the Code license and disclaimer information.