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.

9 comments:

Unknown said...

You can also use DSPF.
DSPF ('\qsys.lib\library.lib\space.usrspc')

EdwardG_Burrell1016 said...
This comment has been removed by a blog administrator.
Unknown said...

I thank you for this useful and complete post, I was looking for post like this. I like your blog.
changing static ip address

Anonymous said...

Nice article but for me it will be forever a AS400

korinta said...

"How to see the content of a user space" this was the question that was killing me since a month..GOt a solution now..And thanks for sharing the information..
Core Drilling Machine

Unknown said...

A very good article. Recommended for AS/400 beginners.
AS/400 Spool to XML generator

Unknown said...

Leadership is the capacity to translate vision into reality. See the link below for more info.


#vision
www.ufgop.org

Edward said...

Really nice topics you had discussed above. I am much impressed. Thank you for providing this nice information here. And if you are looking for the best game compatibility testing choose with our QA Services

Compatibility Testing Services

Functional Testing Services

sathya said...

I am happy to visit and read useful articles here.
Selenium Training in Chennai | Certification | Online Courses

selenium training in chennai

selenium training in chennai

selenium online training in chennai

selenium training in bangalore

selenium training in hyderabad

selenium training in coimbatore

selenium online training