Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Subfile Control Keywords

Status
Not open for further replies.

GAORR

Programmer
Nov 22, 2001
48
CA
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.

Thanks for your time.
 
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top