I do want field descriptions. I basically need a file layout.
Jansen, Larry wrote:
Glenn: I am a bit confused by your question. DSPFFD is used to display
File Field Descriptions, that is, the names and characteristics of each
field in a named file. DSPFD is used to display File Descriptions, namely,
the characteristics of the file, such as information about members, record
length, number of fields in the file, and more. It sounds like you want
DSPFD.
Larry Jansen
Preformed Line Products
-----Original Message-----
From: Glenn Thompson [mailto:gthompson@xxxxxxxxxxxxxxxxxxxx]
Sent: Tuesday, October 26, 2004 1:02 PM
To: Midrange Systems Technical Discussion
Subject: DSPFFD *OUTFILE Curiosity
**** Novice Question Alert ****
I am trying to get a file description into a library so that I can query
off it for a file conversion project I am attempting (note: more
questions to follow on that subject). When I perform a DSPFFD on the
file for display on the screen the command works as advertised. When,
however, I use the *OUTFILE option my file contains the contents of the
file instead of the file description.
Obviously I have erred. Below is the command I'm using. Any insight is
welcome.
QSYS/DSPFFD FILE(ATDBASE/CNTLP) OUTPUT(*OUTFILE) OUTFILE(CNTLPPRT)
Thanks
--
Glenn Thompson
Senior Analyst
American Trouser, Inc.
gthompson@xxxxxxxxxxxxxxxxxxxx