Difference between revisions of "Open List of Job Log Messages (QGYOLJBL)"

From MidrangeWiki
Jump to: navigation, search
m (DaveLClarkI moved page QGYOLJBL — Open List of Job Log Messages to Open List of Job Log Messages (QGYOLJBL): Better Indexing (too many Q's))
 
(3 intermediate revisions by the same user not shown)
Line 4: Line 4:
  
 
The following is an RPG/LE fully free-form prototype for the IBM QGYOLJBL API to open a list of joblog messages for a specified job.
 
The following is an RPG/LE fully free-form prototype for the IBM QGYOLJBL API to open a list of joblog messages for a specified job.
 +
 +
For more information on this API, visit [https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_72/apis/QGYOLJBL.htm Open List of Job Log Messages (QGYOLJBL) API] (right-click to open link in a new tab).
 +
 +
By [[User:DaveLClarkI|Dave Clark]]
  
 
== Prototype for the QGYOLJBL API ==
 
== Prototype for the QGYOLJBL API ==
Line 22: Line 26:
 
end-pr;
 
end-pr;
 
</pre>
 
</pre>
 +
 +
== Example ==
 +
See the [[Get Last Joblog Messages]] service procedure.
  
 
== References ==
 
== References ==
* [[ApiErrC — API Error Code]]
+
* [[API Error Code Structure (ApiErrC)]]
* [[QGYGTLE — Get List Entries]]
+
* [[Get List Entries (QGYGTLE)]]
* [[QGYCLST — Close List]]
+
* [[Close List (QGYCLST)]]

Latest revision as of 21:37, 17 December 2018

Summary

The following is an RPG/LE fully free-form prototype for the IBM QGYOLJBL API to open a list of joblog messages for a specified job.

For more information on this API, visit Open List of Job Log Messages (QGYOLJBL) API (right-click to open link in a new tab).

By Dave Clark

Prototype for the QGYOLJBL API

//******************************************************************************
// IBM API to Open a List of Job Log Messages
// https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_72/apis/QGYOLJBL.htm
//******************************************************************************
/include qsysinc/qrpglesrc,qgyoljbl         // QGYOLJBL API data structures
dcl-pr IBMAPI_ListJobLogMessages  extpgm('QGYOLJBL');
  JobLogRcvr            likeds(QGYORV)      options(*varsize);
  JobLogRLen            int(10)   const;
  JobLogLstI            likeds(QGYOLI)      options(*varsize);
  JobLogMCnt            int(10)   const;
  JobLogMSel            likeds(QGYOMSI)     options(*varsize);
  JobLogMSLn            int(10)   const;
  JobLogErrC            likeds(ApiErrC)     options(*varsize);
end-pr;

Example

See the Get Last Joblog Messages service procedure.

References