Another option, instead of DSPFFD try querying the file QSYS2/SYSCOLUMNS. Will that work for you? Rob Berendt -- Group Dekko Services, LLC Dept 01.073 PO Box 2000 Dock 108 6928N 400E Kendallville, IN 46755 http://www.dekko.com Glenn Thompson <gthompson@xxxxxxxxxxxxxxxxxxxx> Sent by: midrange-l-bounces@xxxxxxxxxxxx 10/26/2004 02:22 PM Please respond to Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx> To Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx> cc Fax to Subject Re: DSPFFD *OUTFILE Curiosity 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 -- This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/midrange-l or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.
This mailing list archive is Copyright 1997-2013 by MIDRANGE dot COM and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available here. If you have questions about this, please contact