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.

12 comments:

DH 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.
alina said...

Barrister Global Services Scam

Jessica said...

Barrister Global Services Network Complaints

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

affenseogeil 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

Reema Kapoor said...

PMP Delhi Aspirants should See this PMP Certification Delhi

Damian Konietzny said...

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

Ashish Shandilya said...

Thanks for sharing this useful info. Keep updating same way.
Regards, AshishChange Management

lee woo said...

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


#vision
www.ufgop.org

Laraib Khan said...

Hello my friend! I would like to tell you that this write-up is awesome, great written and include almost all important info. I recently came to know about http://machinesuae.com/, their Business Machines are very effective.
Business Machines