Reading records from a file (No Key Field) in reverse order through CL.

820 pts.
Tags:
CL/400
OPNQRYF
Hi,
I just want to know how to read a PF in reverse order through CL. File has no key field. I am trying this using OPNQRYF but I'm unable to get. Kindly let me know the code.
Thanks


Software/Hardware used:
Iseries

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question: 3  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • philpl1jb
    Odd, we get this request about every 18 months.  Please look at these earlier responses.
     
    Sort by:  Most Relevant  |  Date
    reading a pf in reverse order using cl program

    Answer  Hi, How to read a physical file in reverse order using cl program ny example with coding would ne much helpful. Thanks. any sample code would be verymuch helpful

    Last updated: Jun 20, 2012   4:09 PM GMT   |    CL
    Reading a file in Reverse Order in CL Program

    Answer  ) In CL program how can we read a data base file in reverse order.

    Last updated: Mar 23, 2011   3:28 AM GMT   |    AS/400 Database File, CL Program, Database Files
    what is the query to be used in openquery file to read records in reverse from a database file

    Answer  what is the query to be used in openquery file to read records in reverse from a database file that is what is similar to readp in CL opnqryf

    Last updated: Aug 7, 2010   1:10 PM GMT   |    AS/400, CL Commands, Open Query
    49,940 pointsBadges:
    report
  • philpl1jb

    Well I tried to respond ,, go to the search window for this page and search for

    CL Reverse. 

    We get this request about every 18 months.  Is it homework?

    49,940 pointsBadges:
    report
  • HABBIE
    As you people are highly expertise with this technology, We are approaching you.  We treat You as our masters. We are learning from you. 
    Some of us are freshers. New to this Technology & new to this Site. We don't know what happened around 18 months back.  I will try to filter my question Before I post
     ... 
    Thanks
    820 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following