AS400 - How to dump as/400 & S/36 display ID to file

Hi,

I'm looking for a way to dump the s/36 environment IDs to a file (DSPS36).  I only need the display IDs.
I also need to to the same with device descriptions.

Is there a easy way to do this?

Thank You,
Lynn
lynn_harrisAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Gary PattersonVP Technology / Senior Consultant Commented:
If this is just a one-time need, I'd just create a file with the columns you need, DSPS36 *PRINT and then use IBM i Navigator to export the spooled file as text, clean it up on your PC with Notepad or something similar, and then upload it using File Transfer Function or FTP+CPYFRMIMPF.

If you need to parse it on an ongoing basis, that's a different story.

There is a S/36 API QEXCVTDV which converts the 2 byte S36 ID to the 10 byte native workstation ID or vice-versa  The S/36 Environment manual even supplies an example program.  This approach assumes that you have one or the other, of course.

http://publib.boulder.ibm.com/iseries/v5r2/ic2924/books/c4147310.pdf

If that doesn't get you where you need to be, post back and explain what it is you need to do.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
lynn_harrisAuthor Commented:
Thanks Gary.  I appreciate your help.

I will take a look at these.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
IBM System i

From novice to tech pro — start learning today.