No, absolutely not, never .. except when the answer is Yes!
Is this a trick question?
- 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.
-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.
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”.