3/26/10 Additional ways to see the contents of a user space (*USRSPC)

Note: This tip expands on the tip: How to see the contents of user spaces, published on 4/17/09.

If you have RPG programming skills then you can retrieve the content with the QUSRTVUS API as documented here:

V5R4 - http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=/apis/qusrtvus.htm

V6R1 - http://publib.boulder.ibm.com/infocenter/iseries/v6r1m0/topic/apis/qusrtvus.htm

However, if you don't have programming skills there is another way to see the contents of a user space:

Dump the users space with the CL command

DMPOBJ OBJ() OBJTYPE(*USRSPC) .

This will create a spool QPSRVDMP with a dump of the content in hex and in readable text.


Disclaimer:Vision Solutions makes every effort to provide accurate system management information and programming code; however the company cannot be held liable for the accuracy of information nor its compatibility in your own environment. Please review and test thoroughly before implementing. © Copyright 2009, Vision Solutions, Inc. All rights reserved. Vision Solutions develops and sells iSeries high availability and AIX replication and clustering solutions. IBM, System i, iSeries, and AS/400 are trademarks of International Business Machines Corporation. All other brands are property of their respective registered owners.