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



Hello Friends,
The problem is resolved by using a CPYTOIMPF and do normal FTP .

There is no any point to use key field or not , it dosn't make any change.


Thanks to all of you for your guidance .




Thanks and Regards,

Krunal Asodiya.

On Thu, Sep 17, 2009 at 2:08 AM, <rob@xxxxxxxxx> wrote:

I see that, I had a little error in testing, as I pointed out.

I have a suggestion, if the only use of this file is to write out some
data so that it can be sucked down with ftp to a .txt file then I would
think you would be better off writing to the IFS directly and then having
that be sucked down. This would give you definite control with the order
of the .txt file.

http://www.scottklement.com/rpg/ifs.html

Besides, you'll reuse this code after you've done it once. :-)

Rob Berendt
--
Group Dekko Services, LLC
Dept 01.073
Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com





From:
Vern Hamberg <vhamberg@xxxxxxxxxxx>
To:
RPG programming on the IBM i / System i <rpg400-l@xxxxxxxxxxxx>
Date:
09/16/2009 04:13 PM
Subject:
Re: Hoe to define Sorting for PF
Sent by:
rpg400-l-bounces@xxxxxxxxxxxx



Back at you, Rob - what I said - inferentially, perhaps - is that FTP
transfers according to the access path of the PF or LF - hence, for it
to come out sorted, it had to have to be keyed.

rob@xxxxxxxxx wrote:
Vern,

Wrong. FTP will sort a pf. See my other reply.

Rob Berendt

--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing
list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.



--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.