AS/400 command to print system status

10 pts.
Tags:
AS 400
AS/400 spool file
I need a command to print system status (dspsyssts & wrkdsksts). I.E, I need a spool file for this. Can someone help?

Answer Wiki

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

DSPSYSSTS OUTPUT(*PRINT)


WRKDSKSTS OUTPUT(*PRINT)

These will get you a spool file that you can copy to a flat file and pull data out using SQL or a query and substring commands.

Discuss This Question: 2  Replies

 
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.
  • TheRealRaven
    And what problem are you having in creating the program?
    24,405 pointsBadges:
    report
  • WoodEngineer
    The info shown on DSPSYSSTS can be retrieve with an API.  The Retrieve System Status (QWCRSSTS) API allows you to retrieve a group of statistics that represents the current status of the system.  
    7,930 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.

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

Following

Share this item with your network: