FILE |
Input |
(Required) File number of source file.
|
SOURCE |
Input |
(Required) Can be 1 of 2 formats: IEN: The record
number of a single record, at the top level of the file, to extract. Search
template name: The name of a search template, in brackets, that contains
SEARCH results (a list of record numbers). For example, S
SOURCE="[TEMPLATE_NAME]"
|
EXTRACT_TEMPLATE |
Input |
(Required) The name of the Extract Template, in
brackets, containing what fields to move.
|
FLAGS |
Input |
(Optional) A string of characters to modify the
behavior of the Extract tool. Permissible characters in the string are: D
Tells the extract tool to delete source records if they were moved
successfully. Note that deletion is only done for entire (top-level) records.
Subrecords are not individually deleted, even if they are individually
extracted.
|
.SCREENS |
Input |
(Optional) Local array containing screen(s) to apply
to subrecords at various subrecord levels. The screens determine whether to
move individual subrecords at a given level or not.
|
.FILING_LEVEL |
Input |
(Optional) Local array you can use to tell the
Extract tool to file subrecords as individual transactions, at one or more
subfile levels. The default filing mode is to file an entire record, including
all subrecords, as a single transaction.
|
TARGET_ROOT |
Both |
Input: (Optional) Array that should receive the
results generated during the extract tool process. This must be a closed array
reference and can be either local or global. If you do not pass this
parameter, the results are returned in ^TMP("DIAXU",$J).
Output: One "RESULT" node is returned for each record extracted (or attempted
to be extracted).
|
MSG_ROOT |
Both |
Input: (Optional) Array that should receive error
messages generated during the extract tool process. This must be a closed
array reference and can be either local or global. If you do not pass this
parameter, error messages are returned in ^TMP("DIERR",$J).
Output: Error messages are returned in MSG_ROOT("DIERR") (if the MSG_ROOT
input parameter is passed) or ^TMP("DIERR",$J) (if no array is specified).
Errors are returned in DBS-style format.
|
DIERR |
Output |
This variable is returned if an error condition
occurred. It contains two ^-pieces of information: Number of errors generated
during the call Total number of lines of the error messages Associated error
messages are stored, DBS-style, in MSG_ROOT.
|