How do I print a file layout from AS/400?

I need what I'll call a "file layout" for a particular file on our AS/400 (iSeries).  The file name is ITEM.  By file layout I mean the field names, explanations, etc.  I'm sure I've done this in the past but I can't recall how.  I tried LISTLIBR and LIST but they only seem to give me source code.  The library where all the data files are is QS36F.
Who is Participating?
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.

if it is was36 there these are likely to be flat files.
Usually you would use dspffd to an outfile to get the details.

In ths case this will produce nothing except may be f00001, k00001, f00002 etc.

Fortunately you can make them link them via IDDU to give them names and allow you to run querys over them.

to can access iddu via STRIDD.

First you must identify, via programs, the file layouts, then create fields, then link the fields into formats, then formats into file definitions (ie flat files may have more than one format)
then finally you use the LNKDTADFN to attach the IDDU to the flat file.


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
easybillAuthor Commented:
used wrkmbrpdm, also
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
Operating Systems

From novice to tech pro — start learning today.