RPG window subfile

5 pts.
Tags:
AS/400
RPG/400
RPG/400 Subfile
Subfile Truncation
Can I dynamically alter the number of lines displayed in a window?

Software/Hardware used:
rpg400

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: 2  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
    Hi Olddanitk No, absolutely not, never .. except when the answer is Yes! Is this a trick question? No, - a subsile can only be displayed in one # records (except fold/drop) - SFLPAG is a constant and there is only one of these in a sufctl record. Yes -you can display different SFL's / SFLCTL's in a window. - the sflctl must fit within the window or you will not be able to compile the display file. Phil
    49,960 pointsBadges:
    report
  • TomLiotta
    If the question is specific about DDS and subfiles as the question title says, the general answer is "No. Option indicators are not allowed for SFLPAG() and the value is a literal constant, not a variable." If the question is more general, as in the text of the question, the answer is "Yes or no, depending on what is meant by a window." When 'a window' is created, it has a number of lines that it contains. You can display as many lines in the window as the window can hold. If the window is ten lines deep, it can hold ten lines, not 15 or 20 lines. But there are ways of creating windows -- on green-screens -- that users may move and/or resize. The Dynamic Screen Manager (DSM) APIs provide such services. But those aren't "subfiles". Tom
    125,585 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