× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Glenn,

DSPFFD should do what you want. The first 11 fields in the outfile from
DSPFFD refer to the file and are duplicated for each field in the file. The
outfile from DSPFFD will give you one record for each field in your file and
contains information like:

Field name
Starting position
Field length
# of digits/decimal positions
Column heading
Field type
etc.

Have fun!
Richard Casey

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx]On Behalf Of Glenn Thompson
Sent: Tuesday, October 26, 2004 3:23 PM
To: Midrange Systems Technical Discussion
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



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.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 on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.