|
That is another good way to do it, but adds another step that might have to be included as part of a regular schedule. It's always best to try the KISS method whenever possible. The fewer steps for someone to forget, the better. It all depends on whether this is a onetime deal or not. If this is a file that is regularly updated from an upload or query, having to do additional processing just adds to it. And it never fails that someone will eventually forget to run the updated job or you run into some odd processing error that may or may not get taken care of right away. Keep the process simple. 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 John Arnold Sent: Monday, October 24, 2005 10:19 AM To: cobol400-l@xxxxxxxxxxxx Subject: [COBOL400-L] RE: COBOL400-L Digest, Vol 3, Issue 105 The simple answer to this is to use the CPYF CL command to copy the data from your original file into the file created by DDS. If you define the DDS to exactly the same length as the original file then set the Record format field mapping option (FMTOPT) to a value of *NOCHK, the command will copy your data into the externally described file. John A Arnold (301) 354-2939 jarnold@xxxxxxxxxxxxx -----Original Message----- From: cobol400-l-bounces+jarnold=fedmedinc.com@xxxxxxxxxxxx [mailto:cobol400-l-bounces+jarnold=fedmedinc.com@xxxxxxxxxxxx] On Behalf Of cobol400-l-request@xxxxxxxxxxxx Sent: Monday, October 24, 2005 9:19 AM To: cobol400-l@xxxxxxxxxxxx Subject: COBOL400-L Digest, Vol 3, Issue 105 Send COBOL400-L mailing list submissions to cobol400-l@xxxxxxxxxxxx To subscribe or unsubscribe via the World Wide Web, visit http://lists.midrange.com/mailman/listinfo/cobol400-l or, via email, send a message with subject or body 'help' to cobol400-l-request@xxxxxxxxxxxx You can reach the person managing the list at cobol400-l-owner@xxxxxxxxxxxx When replying, please edit your Subject line so it is more specific than "Re: Contents of COBOL400-L digest..." Today's Topics: 1. RE: Applying a DDS (Kelly Cookson) 2. RE: Applying a DDS (Joe Folorunso) 3. RE: Applying a DDS (Joe Folorunso) 4. RE: Applying a DDS (Jack Welch) 5. Re: Applying a DDS (MichaelQuigley@xxxxxxxxxx) 6. RE: Applying a DDS (Kelly Cookson) 7. RE: Applying a DDS (Zangare Basil) 8. RE: COBOL400-L Digest, Vol 3, Issue 103 (Adrienne McConnon) ---------------------------------------------------------------------- message: 1 date: Sun, 23 Oct 2005 15:05:24 -0500 from: "Kelly Cookson" <KCookson@xxxxxxxxxxxx> subject: RE: [COBOL400-L] Applying a DDS Do you just want to read records from the file in a COBOL program? I don't see why a COBOL file description (FD) would need a DDS. Shouldn't you be able to just create a COBOL file description (FD statement) with the necessary fields defined in the COBOL program regardless of the existence of a DDS? Kelly ________________________________ From: cobol400-l-bounces@xxxxxxxxxxxx on behalf of Garcia, Luis Sent: Fri 10/21/2005 6: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 -- This is the COBOL Programming on the iSeries/AS400 (COBOL400-L) mailing list To post a message email: COBOL400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/cobol400-l or email: COBOL400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/cobol400-l. ------------------------------ message: 2 date: Sun, 23 Oct 2005 14:01:34 -0700 (PDT) from: Joe Folorunso <jfolorunso@xxxxxxxxx> subject: RE: [COBOL400-L] Applying a DDS Hello Kelly, I have a project coming up very soon my resource are not within my reach is there any way I can get an ILE COBOL/400. Book. Do you know of any better method of re-engineering or making the process faster. I am thinking using an embedded SQL400 will improve an old process. Thanks Best Regards, Joe Folorunso Kelly Cookson <KCookson@xxxxxxxxxxxx> wrote: Do you just want to read records from the file in a COBOL program? I don't see why a COBOL file description (FD) would need a DDS. Shouldn't you be able to just create a COBOL file description (FD statement) with the necessary fields defined in the COBOL program regardless of the existence of a DDS? Kelly ________________________________ From: cobol400-l-bounces@xxxxxxxxxxxx on behalf of Garcia, Luis Sent: Fri 10/21/2005 6: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 -- This is the COBOL Programming on the iSeries/AS400 (COBOL400-L) mailing list To post a message email: COBOL400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/cobol400-l or email: COBOL400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/cobol400-l.
As an Amazon Associate we earn from qualifying purchases.
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.