view display screen not working after V5R4 upgrade

5 pts.
Tags:
AS/400
V5R4
I like a tip I found on this site but when I upgraded to V5R4 from V5R3 the command stop working. Does anyone know how to fix it? AUTHOR: Yow Wai Fong TIP: Display any user's screen http://search400.techtarget.com/tip/0,289483,sid3_gci824074,00.html RATING: 4.37 DATE: 16 May 2002

Answer Wiki

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

Unfortunately that tip relies on the EXITPGM support of the TRCJOB command. In the V5R4 Memo to Users is (among many other things):

———————————————————————————————————————————————

In V5R4, the Trace Job (TRCJOB) command was changed to run the Start Trace (STRTRC), End Trace (ENDTRC), and Print Trace (PRTTRC) CL commands that were added to the operating system in V5R1. Because there is no equivalent function on the STRTRC command, the Program to call before trace (EXITPGM) and Select procedures to trace (SLTPRC) parameters are not supported. Any values specified for these parameters are ignored. You might need to change any CL programs that used the TRCJOB command and specified the EXITPGM or SLTPRC parameters.

———————————————————————————————————————————————

Not all however is necessarily lost. In V5R4 there is a new API, Call Job Interrupt Program (QWCJBITP), documented at http://publib.boulder.ibm.com/infocenter/systems/scope/i5os/topic/apis/qwcjbitp.htm
This API can be used to initiate a user program in another job, which is what the tip was doing in a round about way using the system trace facilities.

A simple sample of using this API can be found in my COMMON presentation here http://www.brucevining.com/Presentations/PPT_Presentations/Whats_new_in_system_APIs.pdf

Hope this helps,
Bruce Vining
Bruce Vining Services

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