Can anyone tell me what the subfile control keyword - SFLINZ is used for. This is in an existing program I'm modifying but can't be found in any of the books I have.
Hi, if you want to use a subfile for data entry it must be displayed with empty fields. However, a subfile cannot be displayed if doesn't contain any data. So, you would use the SFLINZ with an indicator on the control record to allow the RPG (or cobol) program to initialize the subfile with blanks so the subfile could be displayed allowing data entry. That is, the program would seton the indicator and issue a write to the control record - causing the subfile to be initialized. Rod
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.