AO Advanced Modernization (RENOVATION) Workshop Session 17

Опубликовано: 26 Май 2026
на канале: Adsero Optima
5
0

User Indexes, User Index APIs, APIs, Coding Review and Examples, RPG IV for ILE
– Built-in Functions (BIFs)

0:00:34 User Indexes – Are not Files
0:01:16 User Index APIs
0:05:40 Review of API’s in Manual Coding Review and Examples
0:31:33 Question: User Index Unique/Non-unique Keys)
1:19:52 Answer
1:30:06 RPG IV for ILE – Built-in Functions (BIFs)
1:45:37 End

User space (*USRSPC) and user index (*USRIDX) objects are powerful, high-performance objects that can be used for unlimited purposes. User spaces are used extensively by system API’s.

We examine these two objects and the various ways they can be used in detail to better understand their usage in the APIs and make their capability and flexibility available to the programmer in the creation of application code.

Free Form in RPG IV

The free-form variation in RPG IV provides a huge benefit to the RPG programmer and provides access to capabilities of the language not available in the fixed-form style.

We will discuss the benefits and dangers of free-form coding and consider a set of “best practices” for an organization. Please be aware that we consider that coding in the free-form style is in itself a “best practice,” and therefore, all provided examples and exercises will be in free-form.

Built-In Functions

There are a large number of built-in functions (BIFs) available in free form, and the workshop will examine these and discuss their actions and the various techniques and ways these BIFs can be used.

Please see https://www.adsero-optima.com/ibm-i-e... and https://www.adsero-optima.com/testimo... for more details.