Relative record number

240 pts.
Tags:
Relative Record Number
RRN
How do we see(display) relative record number(RRN)
ASKED: April 13, 2009  8:29 PM
UPDATED: April 21, 2009  6:19 AM

Answer Wiki

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

Hi,

If you use SQL you can select RRN as a field.

Regards,

Martin Gilbert.

////

Hi,

Using the command DSPPFM, you can trace out the RRN number.

Thanks.

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
  • BigKat
    in what? SQL? RPG? ...
    7,585 pointsBadges:
    report
  • wpoulin
    Pwopen12, You don't typically see the relative record number, it is a records placement with in a physical file. Is it the first record or the fifth record or the 500th record. That is its relative record number from the beginning of the file. Hope this helps, Bill Poulin
    2,480 pointsBadges:
    report
  • WoodEngineer
    In RPG, add a file info data structure to the file whose RRN you wish to see. One of the fields in the data structure will contain the RRN of the most recently accessed record. In SQL, try Select rrn(fileName), fieldA, fieldB from fileName.
    6,055 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