List Object Locks (QWCLOBJL)

From MidrangeWiki
Revision as of 19:51, 28 January 2019 by DaveLClarkI (talk | contribs) (Created page with "Category:API Category:RPG_Prototypes Category:User_Spaces == Summary == The following is an RPG/LE fully free-form prototype for the IBM QWCLOBJL API to list obje...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Summary

The following is an RPG/LE fully free-form prototype for the IBM QWCLOBJL API to list object locks into a user space.

For more information on this API, visit List Object Locks (QWCLOBJL) API (right-click to open link in a new tab).

By Dave Clark

Prototype for the QWCLOBJL API

//****************************************************************************** 
// IBM API to List Object Locks into a User Space
// https://www.ibm.com/support/knowledgecenter/ssw_ibm_i_72/apis/qwclobjl.htm
//****************************************************************************** 
dcl-pr IBMAPI_ListObjectLocks     extpgm('QWCLOBJL');
  ObjLckSpcN            char(20)  const;
  ObjLckFmtN            char(8)   const;
  ObjLckObjN            char(20)  const;
  ObjLckOTyp            char(10)  const;
  ObjLckMbrN            char(10)  const;
  ObjLckErrC            likeds(ApiErrC)     options(*varsize);
// optional parm group 1
  ObjLckPath            char(512) const     options(*varsize);
  ObjLckPLen            int(10)   const;
// optional parm group 2
  ObjLckASPN            char(10)  const;
end-pr;

References