Contents: | Main | Chapter | See Also: | Getting Started Manual | Programmer Manual |
The Create Filegram Archiving Template option creates a FILEGRAM-type template, which is the template used in the Write Entries to Temporary Storage option. A filegram is the tool used for extracting and transporting archived data to temporary storage. (For further explanation, see the "Write Entries to Temporary Storage" section.)
You can create a new FILEGRAM-type template with this option or edit an existing one created using the Filegram or Archiving options.
NOTE: Only those fields defined in the FILEGRAM-type template,
the .01 field, and any PRIMARY KEY or Identifier fields will be archived to
permanent storage.
The PRIMARY KEY is new with Version 22.0
You create a FILEGRAM-type template just as you create a PRINT template, except only valid field numbers or names can be entered. You cannot include print qualifiers. You always get the "STORE FILEGRAM LOGIC IN TEMPLATE:" prompt, no matter how many fields you identify.
FILEGRAM-type templates are stored in the PRINT TEMPLATE file (#.4), so the FILEGRAM-type template is referred to as a PRINT template in the dialogue. However, VA FileMan can distinguish between PRINT and FILEGRAM-type templates.
If you want to edit an existing FILEGRAM-type template, identify it at the "FIRST SEND FIELD:" prompt by entering "[Filegram templatename". Otherwise, specify the fields you want included in the archive. (The .01 field and the file's PRIMARY KEY and Identifier fields will always be sent.) In the example that follows, all fields are being sent.
NOTE: The PRIMARY KEY is new with Version 22.0
Here is an example of creating a FILEGRAM-type template:
Select ARCHIVE OPTION: CREATE FILEGRAM ARCHIVING TEMPLATE OUTPUT FROM WHAT FILE: CHANGE FIRST SEND CHANGE FIELD: ALL Do you mean ALL the fields in the file? No// Y (Yes) THEN SEND CHANGE FIELD: STORE ARCHIVE LOGIC IN TEMPLATE: CHANGE FILEGRAM Are you adding 'CHANGE FILEGRAM' as a new PRINT TEMPLATE? No// YES (Yes)
Reviewed/Updated: March 4, 2007