Salesforce

Display IBM i Objects (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

Display IBM i Objects (Magic xpa 3.x)

Note: Make sure the connection to IBM i is established before proceeding.

Use this function to display any IBM i objects. The syntax of the UDP is
Invoke UDP ('MGEAC32.DSPOBJ', A, B, C, D, E, F, G)

Where:

  • A - A string variable representing the system name.

  • B - A string variable representing the object name. The values are Name, Generic*,*ALL.

  • C - A string variable, representing the object library location. The values are Name, *LIBL, *CURLIB, *USRLIBL, *ALLUSR, *ALL.

  • D - A string variable representing the object type. You can specify the object type for objects to be listed, such as command (*CMD), file (*FILE), program (*PGM) or all object types (*ALL).

  • E - A string variable representing a temporary table library location. The default name is QTEMP.

  • F - A string variable representing the temporary table name for the retrieved object list data. The default name is MGOBJLIST.

  • G - A numeric variable representing one of the following return codes, 0=successful or -1=Error.

Reference
Attachment 
Attachment