WRKOUTQ

Tags:
AS400 output queue sort search
I use the following code OVRPRTF    FILE(QPRTSPLQ) OUTQ(PRT01)              WRKOUTQ    OUTQ(&FROMLIB/&FROMQ) OUTPUT(*PRINT)                                                       */ Temporary file to copy records */                                                   CPYSPLF    FILE(QPRTSPLQ) TOFILE(QTEMP/ABCD) +                JOB(&JOBNBR/&USER/&JOBNAME)          

to extract the wrkoutq command output.

Later i use the ABCD file contents for processing like below CHGVAR     &FNAME %SST(&ABCD 2 10)                 CHGVAR     &FJOB %SST(&ABCD 82 10)                 CHGVAR     &FUSER %SST(&ABCD 13 10)                CHGVAR     &FJOBN %SST(&ABCD 93 6)                 CHGVAR     &FSPLNBR %SST(&ABCD 73 4)              

However suddenly after so many years the contents  extracted above are wrong. &FJOBN, &FJOB values are incorrect as the place from where it is extracted has changed now.

Please let me know if anyone has encounterd such kind of error and does the OS upgrade cause the change in the wrkoutq command output change, in terms of lenghts of fields?

 

Answer Wiki

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

It sounds like an upgrade was performed? We need to know what version you were on and what you upgraded to. In any event, the memo to users for your upgrade version should be referenced:

http://www-947.ibm.com/systems/support/i/planning/installsetup.html

Discuss This Question:  

 
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

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