RPG code for read a particular

225 pts.
Tags:
RPG
I am new to AS/400 pls send me RPG code for reading particular record from a physical file.physical file contain a key field. 

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: 8  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
    Sure. Here's an access in free-form: chain(e) Parm1 goofy ; Here's a fixed-form example:C AKey chain(E) DEMOF And here's a FETCH in free-form:  exec sql fetch programs into :ProgRec ; Other examples are possible, but you didn't ask a very clear question nor did you explain what problem you are having. Tom
    125,585 pointsBadges:
    report
  • TomLiotta
    Wow, that came out looking almost undecipherable.   Nevertheless, you didn't explain what problem you are having. This is a site for assistance with problems. It's not a school for teaching programming.   Tom
    125,585 pointsBadges:
    report
  • philpl1jb
    we want to help but it's a participatory help.  You share with us what you can do and we help and guide you ahead.for this question you might research the CHAIN operation.Phil
    50,840 pointsBadges:
    report
  • ToddN2000
    Check out the on line RPGLE reference manuals at IBM.Look under opcode READ for all the variations.http://publib.boulder.ibm.com/iseries/v5r1/ic2924/books/c0925083.pdfChapter 23 is for the op codesTodd
    14,795 pointsBadges:
    report
  • ToddN2000
    Sorry link got messed up http://publib.boulder.ibm.com/iseries/v5r1/ic2924/books/c0925083.pdfchapter 23
    14,795 pointsBadges:
    report
  • ToddN2000
    ok let's try it this way Chapter 23http://publib.boulder.ibm.com/iseries/v5r1/ic2924/books/c0925083.pdfDon't know why typing after the link is adding to the link itself even after carriage returns
    14,795 pointsBadges:
    report
  • ToddN2000
    http://publib.boulder.ibm.com/iseries/v5r1/ic2924/books/c0925083.pdf
    14,795 pointsBadges:
    report
  • philpl1jb
    We are assuming that you are using RPG/IV which is commonly referred to as RPGLE.  Not RPG III  RPG/400 or RPG II
    50,840 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