Materialize Context (QusMaterializeContext) API


  Required Parameter Group:

1 Receiver I/O PTR(SPP)
2 Context Input PTR(SYP)
3 Materialize options Input Char(*)

  Default Public Authority: *USE

  Service Program: QUSMIAPI

  Threadsafe: No

The term context in this API is synonymous with the IBM® i term library.

The Materialize Context (QusMaterializeContext) API returns either the type and subtype of the object or system pointers, based on what you specify for the materialize options parameter. The API returns the information for all or for a selected set of objects that are contained by the context. This information is returned to a receiver variable. If the context is null, the machine context (the QSYS library) is returned.

This API provides the function of the MATCTX MI instruction on all security levels of IBM i. See the MATCTX instruction in the IBM i Machine Interface topic collection for the documentation of this API.


Error Messages

Message ID Error Message Text
CPF3C90 E Literal value cannot be changed.
CPF3CF2 E Error(s) occurred during running of &1 API.
CPF9872 E Program or service program &1 in library &2 ended. Reason code &3.
MCHxxxx E See IBM i Machine Interface for exact MCH messages that can be signaled.


API introduced: V3R7

[ Back to top | Object APIs | APIs by category ]