I need to make a DSPF with different lengthed input fields that are dynamically positionned, as in can change position in the subfile depending on user input/function keys. Something similar to the IBM command DSPJRN. The input fields are of varying lengths and if you press F11, they change positions. And if you put + in certain fields (like for FILE), it duplicates the number of lines. What is the easiest way to achieve this?
I've tried using a subfile with a long string field and using the appropriate hex values to make part of the string input capable (x'24') but then the position of this hex code is also modifiable (as well as the ending hex code x'A0'), which I don't want.
At first, I thought that maybe it was just several non-subfile formats, one for each screen. But with the + option, I really don't see how it can be anything other than a subfile. If so, how does IBM dynamically position the input field and the length of these fields for each line of the subfile?
I've tried using a subfile with a long string field and using the appropriate hex values to make part of the string input capable (x'24') but then the position of this hex code is also modifiable (as well as the ending hex code x'A0'), which I don't want.
At first, I thought that maybe it was just several non-subfile formats, one for each screen. But with the + option, I really don't see how it can be anything other than a subfile. If so, how does IBM dynamically position the input field and the length of these fields for each line of the subfile?
Comment