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



So share how you did this - SQL? APIs?

Hey - someday we may ALL have to take this test to keep our position that was recently outsourced to an off-shore outfit.



-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Scott Klement
Sent: Tuesday, September 11, 2012 9:44 AM
To: Midrange Systems Technical Discussion
Subject: Re: program to read pf in reverse order using cl/400 program

Notice also that:

1) I asked what was meant by "reverse" (reverse of WHAT? Key? RRN?) and
the poster did not clarify, but merely restated the same question.

2) I asked for a definition of the file to read in reverse, and the
poster did not reply.

It sure makes me wonder about this OP!

FWIW -- I wrote myself a little CL program that does indeed read a file
in reverse RRN sequence. It works on any PF, and runs very fast. Not
sure I want to post it here, though -- I'd say the best answers have
already been given: "Do it in RPG."

-SK


On 9/11/2012 9:36 AM, rob@xxxxxxxxx wrote:
And in March
http://itknowledgeexchange.techtarget.com/itanswers/reading-a-file-in-reverse-order-in-cl-program/
http://itknowledgeexchange.techtarget.com/itanswers/read-backword-in-cl400/

Really curious people?
Study question on some quiz prep somewhere?
Question sponsored by committee to kill productivity by sending talented
people on wild goose chase?
Will it next appear on as400specialists group in linked in?


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.