Accessing the HOLD Attribute—ILE RPG Example ............. B-21
Accessing a Field Value (Initial Library List)—ILE C Example ....... B-22
Accessing a Field Value (Initial Library List)—ILE COBOL Example .... B-25
Accessing a Field Value (Initial Library List)—ILE RPG Example ...... B-29
Using Keys with List Spooled Files API—ILE C Example .......... B-33
Using Keys with List Spooled Files API—ILE COBOL Example ...... B-38
Using Keys with List Spooled Files API—ILE RPG Example ........ B-42
Integrated Language Environment (ILE) APIs—Examples ........... B-47
Register Exit Point and Add Exit Program—OPM COBOL Example .... B-47
Register Exit Point and Add Exit Program—ILE COBOL Example ..... B-50
Register Exit Point and Add Exit Program—OPM RPG Example ...... B-54
Register Exit Point and Add Exit Program—ILE RPG Example ....... B-58
Retrieve Exit Point and Exit Program Information—OPM COBOL Example B-61
Retrieve Exit Point and Exit Program Information—ILE COBOL Example . B-66
Retrieve Exit Point and Exit Program Information—OPM RPG Example . B-71
Retrieve Exit Point and Exit Program Information—ILE RPG Example .. B-75
Remove Exit Program and Deregister Exit Point—OPM COBOL Example B-85
Remove Exit Program and Deregister Exit Point—ILE COBOL Example . B-87
Remove Exit Program and Deregister Exit Point—OPM RPG Example .. B-90
Remove Exit Program and Deregister Exit Point—ILE RPG Example ... B-92
List Object API—Examples ............................. B-94
List Object API—ILE C Example ........................ B-94
List Object API—ILE COBOL Example .................... B-101
List Object API—ILE RPG Example ..................... B-106
OPM API without Pointers—Examples ..................... B-112
Logging Software Error (OPM API without Pointers)—OPM COBOL
Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-112
Logging Software Error (OPM API without Pointers)—OPM RPG Example B-116
Logging Software Error (OPM API without Pointers)—ILE RPG Example B-119
ILE API with Pointers—Examples ........................ B-122
Reporting Software Error (ILE API with Pointers)—ILE COBOL Example B-122
Reporting Software Error (ILE API with Pointers)—ILE RPG Example .. B-126
Program for Packaging a Product—Examples ................. B-129
Program for Packaging a Product—ILE C Example ............ B-129
Program for Packaging a Product—ILE COBOL Example ......... B-136
Program for Packaging a Product—ILE RPG Example .......... B-144
Retrieving a File Description to a User Space—Examples .......... B-152
Retrieving a File Description to a User Space—ILE COBOL Example .. B-152
Retrieving a File Description to a User Space—ILE RPG Example ... B-155
Data Queue—Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-165
Data Queue—ILE COBOL Example ..................... B-165
Data Queue—OPM RPG Example ...................... B-169
Data Queue—ILE RPG Example ....................... B-172
UNIX-Type APIs—Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . B-175
Using the Integrated File System—ILE C Example ............. B-175
Using the Integrated File System—ILE COBOL Example ......... B-178
Using the Integrated File System—ILE RPG Example ........... B-183
Bibliography . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . H-1
General-Purpose Books . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . H-1
OS/400 API Books .................................. H-1
Programming Language Books ........................... H-2
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . X-1
Contents vii