|Contents:||Main||Chapter||See Also:||Getting Started Manual||Advanced User Manual|
This entry point is used when the calling program knows both the document file and the entry within that file that contains the desired word -processing text to be used as a target document.
The global root at which the desired text is stored. Thus, in our example, if APPOINTMENT REMINDER is the third document in the Form Letter file (stored in ^DIZ(16001,) and the word processing field is stored in subscript 1, you can:
DIWF will then automatically use this entry and the user will not be asked to select the document file and which document in that file.
If the calling program wants to specify which file should be used as a source for generating output, the number of that file should appear in the variable DIWF(1). Otherwise, the user will be asked the "Print from what FILE:" question.
After this point, EN1^DIP is invoked. You can have the calling program set the usual BY, FR, and TO variables if you want to control the SORT sequence of the data file.
Y will be -1 if:
Reviewed/Updated: March 8, 2007