RPG Code for reading a particular record

225 pts.
Tags:
RPG
I have a physical file, it contains 20 records. how to read 15ht record using RPG.

Pls send me the code for above scenario. 

Answer Wiki

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

Thank you for visiting ITKE.

We are happy to help you with solving specific IT questions, but need as
much information as possible to do so. Let us know about the problem you
are trying to solve, how you are approaching it and what work you’ve
done so far, and we can help guide you in the right direction.

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
    We don't do homework (classwork) for you.  We will help guide you if you show us what you have tried, and what you are getting that is wrong.  To just give you the answer would be doing you (and a future employer?) a dis-service, as you would not have the skills your "grade" from the class implied.
    8,210 pointsBadges:
    report
  • TomLiotta
    There are two different definitions of "15th record" -- the 15th physical record and the 15th logical record. There is usually no reason to believe that those will be the same record. And the methods of locating them are different. Which one do you want? -- Tom
    125,585 pointsBadges:
    report
  • ToddN2000
    is this file keyed or non-keyed? Do you want this record by the index or the relative record number? Show us what you have tried and the F spec record. There could be multiple soulutions. How many read statements do you have to use?Todd
    11,245 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