AS400 – PF

1215 pts.
Tags:
AS/400
PF
How to View Records from File based on Key List. Generally SQL will display records based retrieval sequence. I want to see it keyed Sequence.

Software/Hardware used:
AS400

Answer Wiki

Thanks. We'll let you know when a new response is added.

Create the  WRKQRY and Select sort fields 

Discuss This Question: 4  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
  • TomLiotta
    SQL presents rows in the order that you tell it to present them. If you don't tell it an order, the order will often be the physical order (but not guaranteed). If you want to see rows in a specific order, use SQL with an ORDER BY clause, or create a query with the order specified, or write a program. -- Tom
    125,585 pointsBadges:
    report
  • philpl1jb
    DFU and some third party packages (ezview, dbu) allow viewing of "Logicals" based on logical keys
    49,940 pointsBadges:
    report
  • TomLiotta
    DFU does allow viewing records in key order. The view is one record at a time though. You scroll through record by record. (In S/36 mode, DFU LIST might allow viewing a page of records at a time.) If DFU is not available, the UPDDTA command can do the same if record-by-record is acceptable. -- Tom
    125,585 pointsBadges:
    report
  • harith
    create WRKQRY and Select sort fields
    170 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