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

From MidrangeWiki
Jump to: navigation, search
(Summary)
Line 3: Line 3:
 
== Summary ==
 
== 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.  See the [[QGYGTLE — Get List Entries]] and [[QGYCLST — Close List]] [[APIs]], also.
+
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.
  
 
== Prototype for the QGYOLJBL API ==
 
== Prototype for the QGYOLJBL API ==
Line 25: Line 25:
 
== References ==
 
== References ==
 
* [[ApiErrC — API Error Code]]
 
* [[ApiErrC — API Error Code]]
 +
* [[QGYGTLE — Get List Entries]]
 +
* [[QGYCLST — Close List]]

Revision as of 18:23, 6 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.

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;

References