File with varying record length in AS/400 RPGLE

5 pts.
Tags:
AS/400
AS/400 Subfiles
RPGLE
Can a file having varying record length be used in the same rpgle program? If so let me know on how to implement it.

Answer Wiki

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

<i>Can a file having varying record length be used in the same rpgle program?</i>

Yes.

<i>…how to implement it.</i>

You implement it the same way you implement any other field. What do you need to know?

Tom

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
    What type of file? Why are they varing in length? Phil
    50,860 pointsBadges:
    report
  • Sms121
    Plz anyone help abt that........ In pf The data sorted datewise ...i want to write rpgle program to select data between date start(etc) to end(etc) without using any sql/400 statement ... how can i do it???????
    185 pointsBadges:
    report
  • philpl1jb
    Sms121 - please enter your question on a seperate thread. Please include in that thread answer to this question. Is the datefield the first key field of this file?
    50,860 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