IBM Version 4 - Manual

IBM Version 4

IBM Version 4 – Manual, read for free online in PDF format. We hope this helps you resolve any issues you may have. If you have further questions, please contact us through the contact form.

1 Page 1
2 Page 2
3 Page 3
4 Page 4
5 Page 5
6 Page 6
7 Page 7
8 Page 8
9 Page 9
10 Page 10
11 Page 11
12 Page 12
13 Page 13
14 Page 14
15 Page 15
16 Page 16
17 Page 17
18 Page 18
19 Page 19
20 Page 20
21 Page 21
22 Page 22
23 Page 23
24 Page 24
25 Page 25
26 Page 26
27 Page 27
28 Page 28
29 Page 29
30 Page 30
31 Page 31
32 Page 32
33 Page 33
34 Page 34
35 Page 35
36 Page 36
37 Page 37
38 Page 38
39 Page 39
40 Page 40
41 Page 41
42 Page 42
43 Page 43
44 Page 44
45 Page 45
46 Page 46
47 Page 47
48 Page 48
49 Page 49
50 Page 50
51 Page 51
52 Page 52
53 Page 53
54 Page 54
55 Page 55
56 Page 56
57 Page 57
58 Page 58
59 Page 59
60 Page 60
61 Page 61
62 Page 62
63 Page 63
64 Page 64
65 Page 65
66 Page 66
67 Page 67
68 Page 68
69 Page 69
70 Page 70
71 Page 71
72 Page 72
73 Page 73
74 Page 74
75 Page 75
76 Page 76
77 Page 77
78 Page 78
79 Page 79
80 Page 80
81 Page 81
82 Page 82
83 Page 83
84 Page 84
85 Page 85
86 Page 86
87 Page 87
88 Page 88
89 Page 89
90 Page 90
91 Page 91
92 Page 92
93 Page 93
94 Page 94
95 Page 95
96 Page 96
97 Page 97
98 Page 98
99 Page 99
100 Page 100
101 Page 101
102 Page 102
103 Page 103
104 Page 104
105 Page 105
106 Page 106
107 Page 107
108 Page 108
109 Page 109
110 Page 110
111 Page 111
112 Page 112
113 Page 113
114 Page 114
115 Page 115
116 Page 116
117 Page 117
118 Page 118
119 Page 119
120 Page 120
121 Page 121
122 Page 122
123 Page 123
124 Page 124
125 Page 125
126 Page 126
127 Page 127
128 Page 128
129 Page 129
130 Page 130
131 Page 131
132 Page 132
133 Page 133
134 Page 134
135 Page 135
136 Page 136
137 Page 137
138 Page 138
139 Page 139
140 Page 140
141 Page 141
142 Page 142
143 Page 143
144 Page 144
145 Page 145
146 Page 146
147 Page 147
148 Page 148
149 Page 149
150 Page 150
151 Page 151
152 Page 152
153 Page 153
154 Page 154
155 Page 155
156 Page 156
157 Page 157
158 Page 158
159 Page 159
160 Page 160
161 Page 161
162 Page 162
163 Page 163
164 Page 164
165 Page 165
166 Page 166
167 Page 167
168 Page 168
169 Page 169
170 Page 170
171 Page 171
172 Page 172
173 Page 173
174 Page 174
175 Page 175
176 Page 176
177 Page 177
178 Page 178
179 Page 179
180 Page 180
181 Page 181
182 Page 182
183 Page 183
184 Page 184
185 Page 185
186 Page 186
187 Page 187
188 Page 188
189 Page 189
190 Page 190
191 Page 191
192 Page 192
193 Page 193
194 Page 194
195 Page 195
196 Page 196
197 Page 197
198 Page 198
199 Page 199
200 Page 200
201 Page 201
202 Page 202
203 Page 203
204 Page 204
205 Page 205
206 Page 206
207 Page 207
208 Page 208
209 Page 209
210 Page 210
211 Page 211
212 Page 212
213 Page 213
214 Page 214
215 Page 215
216 Page 216
217 Page 217
218 Page 218
219 Page 219
220 Page 220
221 Page 221
222 Page 222
223 Page 223
224 Page 224
225 Page 225
226 Page 226
227 Page 227
228 Page 228
229 Page 229
230 Page 230
231 Page 231
232 Page 232
233 Page 233
234 Page 234
235 Page 235
236 Page 236
237 Page 237
238 Page 238
239 Page 239
240 Page 240
241 Page 241
242 Page 242
243 Page 243
244 Page 244
245 Page 245
246 Page 246
247 Page 247
248 Page 248
249 Page 249
250 Page 250
251 Page 251
252 Page 252
253 Page 253
254 Page 254
255 Page 255
256 Page 256
257 Page 257
258 Page 258
259 Page 259
260 Page 260
261 Page 261
262 Page 262
263 Page 263
264 Page 264
265 Page 265
266 Page 266
267 Page 267
268 Page 268
269 Page 269
270 Page 270
271 Page 271
272 Page 272
273 Page 273
274 Page 274
275 Page 275
276 Page 276
277 Page 277
278 Page 278
279 Page 279
280 Page 280
281 Page 281
282 Page 282
283 Page 283
284 Page 284
285 Page 285
286 Page 286
287 Page 287
288 Page 288
289 Page 289
290 Page 290
291 Page 291
292 Page 292
293 Page 293
294 Page 294
295 Page 295
296 Page 296
297 Page 297
298 Page 298
299 Page 299
300 Page 300
301 Page 301
302 Page 302
303 Page 303
304 Page 304
305 Page 305
306 Page 306
307 Page 307
308 Page 308
309 Page 309
310 Page 310
311 Page 311
312 Page 312
313 Page 313
314 Page 314
315 Page 315
316 Page 316
317 Page 317
318 Page 318
319 Page 319
320 Page 320
321 Page 321
322 Page 322
323 Page 323
324 Page 324
325 Page 325
326 Page 326
327 Page 327
328 Page 328
329 Page 329
330 Page 330
331 Page 331
332 Page 332
333 Page 333
334 Page 334
335 Page 335
336 Page 336
337 Page 337
338 Page 338
339 Page 339
340 Page 340
341 Page 341
342 Page 342
343 Page 343
344 Page 344
345 Page 345
346 Page 346
347 Page 347
348 Page 348
349 Page 349
350 Page 350
351 Page 351
352 Page 352
353 Page 353
354 Page 354
355 Page 355
356 Page 356
357 Page 357
358 Page 358
359 Page 359
360 Page 360
361 Page 361
362 Page 362
363 Page 363
364 Page 364
365 Page 365
366 Page 366
367 Page 367
368 Page 368
369 Page 369
370 Page 370
371 Page 371
372 Page 372
373 Page 373
374 Page 374
375 Page 375
376 Page 376
377 Page 377
378 Page 378
379 Page 379
380 Page 380
381 Page 381
382 Page 382
383 Page 383
384 Page 384
385 Page 385
386 Page 386
387 Page 387
388 Page 388
389 Page 389
390 Page 390
391 Page 391
392 Page 392
393 Page 393
394 Page 394
395 Page 395
396 Page 396
397 Page 397
398 Page 398
399 Page 399
400 Page 400
401 Page 401
402 Page 402
403 Page 403
404 Page 404
405 Page 405
406 Page 406
407 Page 407
408 Page 408
409 Page 409
410 Page 410
411 Page 411
412 Page 412
413 Page 413
414 Page 414
415 Page 415
416 Page 416
417 Page 417
418 Page 418
419 Page 419
420 Page 420
421 Page 421
422 Page 422
423 Page 423
424 Page 424
425 Page 425
426 Page 426
427 Page 427
428 Page 428
429 Page 429
430 Page 430
431 Page 431
432 Page 432
433 Page 433
434 Page 434
435 Page 435
436 Page 436
437 Page 437
438 Page 438
439 Page 439
440 Page 440
441 Page 441
442 Page 442
443 Page 443
444 Page 444
445 Page 445
446 Page 446
447 Page 447
448 Page 448
449 Page 449
450 Page 450
451 Page 451
452 Page 452
453 Page 453
454 Page 454
455 Page 455
456 Page 456
457 Page 457
458 Page 458
459 Page 459
460 Page 460
461 Page 461
462 Page 462
463 Page 463
464 Page 464
465 Page 465
466 Page 466
467 Page 467
468 Page 468
469 Page 469
470 Page 470
471 Page 471
472 Page 472
473 Page 473
474 Page 474
475 Page 475
476 Page 476
477 Page 477
478 Page 478
479 Page 479
480 Page 480
481 Page 481
482 Page 482
483 Page 483
484 Page 484
485 Page 485
486 Page 486
487 Page 487
488 Page 488
489 Page 489
490 Page 490
491 Page 491
492 Page 492
493 Page 493
494 Page 494
495 Page 495
496 Page 496
497 Page 497
498 Page 498
499 Page 499
500 Page 500
501 Page 501
502 Page 502
503 Page 503
504 Page 504
505 Page 505
Page: / 505

Table of Contents:

  • Page 3 – AS/400 Advanced Series; IBM; System API Programming; Version 4
  • Page 5 – Contents; iii
  • Page 6 – iv
  • Page 9 – vii
  • Page 10 – viii
  • Page 11 – Figures; ix
  • Page 13 – xi
  • Page 14 – xii
  • Page 15 – Who Should Use This Book; xiii
  • Page 16 – xiv
  • Page 17 – Chapter 1. Application Programming Interface—Overview; API Compatibility
  • Page 18 – Using APIs—Benefits
  • Page 19 – System APIs or CL Commands—When to Use Each
  • Page 20 – Related Information
  • Page 21 – Chapter 2. Getting Started with APIs; Locating the API to Use
  • Page 23 – Selecting the High-Level Language To Use
  • Page 24 – API Environments; APIs for the Original Program Model Environment
  • Page 25 – APIs for the Integrated Language Environment; APIs for the ILE Common Execution Environment (CEE)
  • Page 26 – APIs for the UNIX Environment; API Parameters
  • Page 27 – Parameter Passing
  • Page 28 – Parameter Classification
  • Page 30 – Using the Job Log to Diagnose API Errors; Receiving Error Messages from the Job Log—Example
  • Page 32 – Internal Identifiers
  • Page 33 – User Spaces
  • Page 34 – User Space Format—Example
  • Page 35 – Logic Flow of Processing a List of Entries
  • Page 36 – Manipulating a User Space with Pointers; Synchronizing between Two or More Jobs
  • Page 37 – Manipulating a User Space without Pointers; Position Values
  • Page 40 – Changing a User Space with an ILE RPG Program—Example
  • Page 41 – Changing a User Space with an OPM RPG Program—Example
  • Page 44 – Keyed Interface
  • Page 46 – Domain Concepts
  • Page 47 – Exit Programs
  • Page 48 – APIs and the QSYSINC Library
  • Page 50 – User Index Considerations; APIs and the QUSRTOOL Library
  • Page 51 – Performance Considerations; APIs and Internal System Objects
  • Page 54 – Description of an API; Parameters; Authorities and Locks
  • Page 55 – Required Parameter Group
  • Page 57 – Optional Parameter Group; Format
  • Page 60 – Handling Error Conditions—OPM RPG Example
  • Page 64 – Format of an Error Code Structure
  • Page 69 – Accessing the HOLD Attribute—OPM RPG Example
  • Page 71 – Accessing a Field Value (Initial Library List)—OPM RPG Example
  • Page 76 – Using Keys with List Spooled Files API—Example
  • Page 84 – Field Descriptions
  • Page 88 – Error Messages
  • Page 91 – Integrated Language Environment (ILE) APIs—Introduction
  • Page 93 – Variable-Length Structure—Example; Keyed Interface—Example; Exit Program Attributes Parameter
  • Page 94 – Exit Program Attribute Keys
  • Page 95 – Error Handling; Error Handling through the Error Code Parameter
  • Page 96 – Error Handling Signaled by API
  • Page 97 – Receiver Variables—Examples; Repeating Entry Type with Fixed-Length Fields—Example
  • Page 98 – Repeating Entry Type with Variable-Length Fields—Example
  • Page 99 – Registration Facility Using ILE APIs—Examples; Register Exit Point and Add Exit Program—ILE C Example
  • Page 103 – Retrieve Exit Point and Exit Program Information—ILE C Example
  • Page 109 – Remove Exit Program and Deregister Exit Point—ILE C Example
  • Page 113 – Chapter 5. List APIs; Characteristics of a List API; User Area
  • Page 114 – Offset to Header Section; Offset to List Data Section
  • Page 115 – Other Fields of Generic Header
  • Page 116 – Processing a List; List Object API—OPM RPG Example
  • Page 124 – List Objects That Adopt Owner Authority API—Example
  • Page 126 – User Space Variables; Input Parameter Section
  • Page 130 – Pointers
  • Page 135 – Reporting Software Error (ILE API with Pointers)—ILE C Example
  • Page 141 – Machine Interface Instructions—Introduction
  • Page 143 – Starting the Instruction Stream
  • Page 144 – MI01 Program—Complete Code Example; Compiling a Program
  • Page 145 – Using CLCRTPG to Create an MI Program
  • Page 146 – Creating the MI Example Program
  • Page 147 – Debugging the MI Program
  • Page 149 – Handling Exceptions in the MI Program
  • Page 151 – Creating an MI Version of CLCRTPG
  • Page 153 – Source for the CL03 Program; Source for the CL04 Program
  • Page 154 – Source for the CL05 Program
  • Page 155 – Source for the MICRTPG Program
  • Page 156 – Understanding the MICRTPG Program (by Sections of Code); Declaring the Structure
  • Page 158 – Enhanced Version of the MICRTPG Program
  • Page 162 – Beginning the Instruction Stream; Using Static Storage to Your Advantage
  • Page 163 – MICRTPG2 Complete Program—MI Code Example
  • Page 166 – Updated CL06 Program
  • Page 167 – Creating the MICRTPG2 Program; Handling Exceptions in the MICRTPG2 Program
  • Page 168 – MICRTPG2 Complete Program (Enhanced)—MI Code Example
  • Page 172 – MI Common Programming Techniques—Examples
  • Page 176 – AS/400 Program Storage
  • Page 177 – Backup and Recovery APIs; Client Support APIs
  • Page 178 – Communications APIs
  • Page 179 – OptiConnect APIs; Configuration APIs
  • Page 180 – Dynamic Screen Manager APIs
  • Page 181 – Edit Function APIs
  • Page 182 – Application Development Manager APIs
  • Page 183 – COBOL APIs; Integrated Language Environment (ILE) CEE APIs; Naming Conventions of the ILE CEE APIs
  • Page 184 – Journal and Commit APIs; Journal APIs; Message Handling APIs
  • Page 185 – National Language Support APIs; Network Management APIs
  • Page 186 – Alert APIs
  • Page 187 – Node List API; Registered Filter APIs; Change Request Management APIs; Object APIs
  • Page 188 – Data Queue APIs
  • Page 191 – Office APIs; AnyMail/400 Mail Server Framework APIs
  • Page 193 – Print APIs
  • Page 194 – Spooled File APIs; Problem Management APIs; Filtering
  • Page 195 – Program and CL Command APIs
  • Page 196 – Security APIs; Network Security APIs; Software Product APIs
  • Page 197 – Environment Variable APIs
  • Page 198 – Integrated File System APIs; Interprocess Communication APIs
  • Page 199 – Signal APIs
  • Page 201 – Simple Network Management Protocol (SNMP) APIs
  • Page 202 – Sockets APIs
  • Page 203 – Process-Related APIs; User Interface APIs; UIM Advantages
  • Page 204 – DDS Advantages; Virtual Terminal APIs
  • Page 205 – Miscellaneous APIs
  • Page 207 – Chapter 9. Common API Programming Errors
  • Page 209 – Using the Error Code Parameter—Example of Correct Coding
  • Page 213 – Defining A Data Structure—Example of Correct Coding
  • Page 218 – Defining Receiver Variables—Example of Correct Coding
  • Page 222 – Defining List Entry Format Lengths—Example of Correct Coding
  • Page 225 – Using Null Pointers with OPM APIs—Example of Correct Coding
  • Page 231 – Defining Byte Alignment—Example of Correct Coding
  • Page 233 – Using Offsets in a User Space; Using Offsets in a User Space—Example of Incorrect Coding
  • Page 237 – Using Offsets in a User Space—Example of Correct Coding
  • Page 249 – Coding for New Function—Example of Correct Coding
  • Page 257 – Appendix A. Performing Tasks Using APIs—Examples; Packaging Your Own Software Products
  • Page 259 – Program for Packaging a Product—OPM RPG Example
  • Page 267 – Retrieving a File Description to a User Space—ILE C Example
  • Page 271 – Using Data Queues versus User Queues
  • Page 272 – Data Queue—ILE C Example
  • Page 273 – User Queue—ILE C Example
  • Page 279 – Appendix B. Original Examples in Additional Languages
  • Page 280 – Original Program Model (OPM) APIs—Examples
  • Page 286 – Handling Error Conditions—ILE RPG Example
  • Page 288 – Retrieving the Hold Parameter (Error Code Structure)—ILE C Example
  • Page 294 – Accessing the HOLD Attribute—ILE C Example
  • Page 296 – Accessing the HOLD Attribute—ILE COBOL Example
  • Page 299 – Accessing the HOLD Attribute—ILE RPG Example
  • Page 300 – Accessing a Field Value (Initial Library List)—ILE C Example
  • Page 303 – Accessing a Field Value (Initial Library List)—ILE COBOL Example
  • Page 307 – Accessing a Field Value (Initial Library List)—ILE RPG Example
  • Page 311 – Using Keys with List Spooled Files API—ILE C Example
  • Page 316 – Using Keys with List Spooled Files API—ILE COBOL Example
  • Page 320 – Using Keys with List Spooled Files API—ILE RPG Example
  • Page 328 – Register Exit Point and Add Exit Program—ILE COBOL Example
  • Page 332 – Register Exit Point and Add Exit Program—OPM RPG Example
  • Page 336 – Register Exit Point and Add Exit Program—ILE RPG Example
  • Page 349 – Retrieve Exit Point and Exit Program Information—OPM RPG Example
  • Page 353 – Retrieve Exit Point and Exit Program Information—ILE RPG Example
  • Page 365 – Remove Exit Program and Deregister Exit Point—ILE COBOL Example
  • Page 368 – Remove Exit Program and Deregister Exit Point—OPM RPG Example
  • Page 370 – Remove Exit Program and Deregister Exit Point—ILE RPG Example
  • Page 379 – List Object API—ILE COBOL Example
  • Page 384 – List Object API—ILE RPG Example
  • Page 390 – OPM API without Pointers—Examples; CBLERR1 Program
  • Page 392 – ERRHDL1 Program
  • Page 397 – Logging Software Error (OPM API without Pointers)—ILE RPG Example
  • Page 400 – CBLERR2 Program
  • Page 402 – ERRHDL2 Program
  • Page 404 – Reporting Software Error (ILE API with Pointers)—ILE RPG Example
  • Page 414 – Program for Packaging a Product—ILE COBOL Example
  • Page 422 – Program for Packaging a Product—ILE RPG Example
  • Page 433 – Retrieving a File Description to a User Space—ILE RPG Example
  • Page 447 – Data Queue—OPM RPG Example
  • Page 450 – Data Queue—ILE RPG Example
  • Page 453 – UNIX-Type APIs—Examples; Using the Integrated File System—ILE C Example
  • Page 456 – Using the Integrated File System—ILE COBOL Example
  • Page 461 – Using the Integrated File System—ILE RPG Example
  • Page 467 – Bibliography; General-Purpose Books
  • Page 468 – Programming Language Books
  • Page 471 – Index
  • Page 501 – Reader Comments—We'd Like to Hear from You!
  • Page 502 – BUSINESS REPLY MAIL
Loading the manual

AS/400 Advanced Series

IBM

System API Programming

Version 4




SC41-5800-00

"Loading the manual" means you need to wait until the file loads and becomes available for online reading. Some manuals are very large, and the time they take to appear depends on your internet speed.

Summary

Page 3 - AS/400 Advanced Series; IBM; System API Programming; Version 4

AS/400 Advanced Series IBM System API Programming Version 4 SC41-5800-00

Page 5 - Contents; iii

Contents Notices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi Programming Interface Information . . . . . . . . . . . . . . . . . . . . . . . . . xii Trademarks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xii About System AP...

Page 6 - iv

APIs and Internal System Objects . . . . . . . . . . . . . . . . . . . . . . . . . 2-31 Performance Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-31 Chapter 3. Common Information across APIs—Basic (OPM) Example . . 3-1 Original Program Model (OPM) API–Scenario . . . . . . ...

Other IBM Models

All IBM Other