× 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.



Thanks everybody,  my biggest problem was that I didn't have a file
description nor a DDS to see how fields were inside the record, to make
matters worst some fields were compress.  Thank God I found a couple of DDS
and with those and a CONVERT command (which I'm guessing applies the DDS
format to the file) I manage to recover the information.

So thanks for all your input.

-----Original Message-----
From: cobol400-l-bounces@xxxxxxxxxxxx
[mailto:cobol400-l-bounces@xxxxxxxxxxxx] On Behalf Of Zangare Basil
Sent: Monday, October 24, 2005 7:12 AM
To: COBOL Programming on the iSeries/AS400
Subject: RE: [COBOL400-L] Applying a DDS

How about just simply creating a logical file and using that?  The way
you can key it anyway you want.  

If the fields are defined in the file you would need to only define the
record format and key fields.  If it's a flat file you would have to
define the fields individually.

Using a logical file would allow you to use it over in other programs
without having to maintain a separate FD.  FD's have a tendency to get
out of sync after awhile, due to program mods, when the file is used in
other programs.



Basil Zangare
Applications Specialist
Nikon Inc
1300 Walt Whitman Road
Melville, New York 11747
phone: (631) 547-4389
fax: (631) 547-4026
bzangare@xxxxxxxxx


-----Original Message-----
From: cobol400-l-bounces@xxxxxxxxxxxx
[mailto:cobol400-l-bounces@xxxxxxxxxxxx] On Behalf Of Garcia, Luis
Sent: Friday, October 21, 2005 7:20 PM
To: COBOL Programming on the iSeries/AS400
Subject: [COBOL400-L] Applying a DDS

Is there a way to apply a DDS to a file created without the DDS? Or how
can
I access that data?

I got a file that was created without a DDS, I have a DDS but I don't
want
to write a program to read and write into another file, so I was
wondering
if it was a faster way?

Thanks

Luis 

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.