简体   繁体   中英

Find out what JOBQ the RPG program is running on. AS400

Is there a way inside an RPG program to find out what JOBQ that program is running on? I am asking this because there is a program that can be called or submitted and I am interested in saving a log of the timestamp user and jobq that that program had run.

Thanks in advance

You could call API QUSRJOBI. Format JOBI0300 has the job queue information. http://www.ibm.com/support/knowledgecenter/ssw_ibm_i_73/apis/qusrjobi.htm

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM