Extracting Case Data (Extended)
If you want to specify the output format of the case data, use the following command:
swutil EXTCD [flags]procname[casenum[fields]]
where:
| • | flags indicates one or more of the following optional parameters, preceded by a hyphen character (-), which can appear anywhere on the command line. |
|
Parameter |
Description |
|
format |
One of the following flags, which specifies the output format for the extracted data. (The default is
These formats are explained in Output Formats. |
|
textmodifier |
One of the following flags, which specifies whether the text is written with DOS or UNIX newline conventions.
|
|
|
Causes a list of field names to be included as the first line of the output. It only applies if the |
Examples of flag options:
-vu
-a -d
-dt~
-t
| • | procname is the name of the procedure (case insensitive). |
| • | casenum is optional, and specifies the number of the case to be extracted, or one of the following may be used: |
|
Value |
Description |
|
|
All cases for the procedure will be extracted. |
|
|
All active cases for the procedure. |
|
|
All terminated cases for the procedure. |
If this parameter is not specified, the default is ALL_CASES.
| • | fields is optional (but requires that casenum is included), and provides a list of fields to be extracted, separated by commas, for example: |
FIELD1,FIELD2,FIELD3
(Field names are case insensitive.)
As well as fields defined in the procedure, the following predefined fields may be included:
|
Value |
Description |
|
|
specifies the case number |
|
|
specifies the case reference, |
|
|
specifies the case description |
Alternatively, ALL_FIELDS may be used to specify that all fields of the procedure should be extracted (including SW_CASENUM, and SW_CASEDESC if it is used as a marked field). This is the default if the parameter is omitted.