Convert WRKACTJOB to DB file

pts.
Tags:
AS/400
AS400 Job Status
iSeries
iSeries RPG programming
RPGILE
WRKACTJOB
Hi,

Is there any COMMAND OR API or any METHOD to put the result of WRKACTJOB to a database file and then read in a RPG...?

There was a command "CVTWRKACT" but i m not able to find it now in my server.



Software/Hardware used:
AS/400, iSeries

Answer Wiki

Thanks. We'll let you know when a new response is added.

Though not a database file, the <a href=”http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/apis/qusljob.htm”>List Job (QUSLJOB) API</a> can be used to write all active jobs to a user space. From here a RPG program could directly access the job information or write the job information to a database file for later processing.

Bruce Vining

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Vatchy
    IIRC, CVTWRKACT was a TAATOOL that was freely available until V3R2, when it was taken out and made available for a price. It's easy enough to write it for yourself, if you want. It just executed a WRKACTJOB to print, then used an RPG program to parse it and write the output to a file.
    1,410 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following