Overlay a display file record format with the subfield of a data structure
Posted: Thu Sep 04, 2025 1:44 pm
Hello everyone, to your knowledge is it possible to define in freeform a data structure that overlays the record format of a display file?
In practice, I have a display file called VIDEO1, which contains a REC1 record format. REC1 has three input fields if1, if2, if3 and two output fields of1, of2.
After defining
how can i define something like
but in a way that rec1ds.if1 and IF1 share the same memory and the same content?
In practice, I have a display file called VIDEO1, which contains a REC1 record format. REC1 has three input fields if1, if2, if3 and two output fields of1, of2.
After defining
Code: Select all
Dcl-F VIDEO1 WORKSTN INDDS(dspf1) usropn;Code: Select all
dcl-ds rec1ds likerec(REC1:*all);