Output Formats
Verbose: -v
This gives the same output as swutil EXTCD without any extra parameters. See Extracting Case Data (Interactive).
abox: -a
This is formatted one field per line, each line consisting of the field name, followed by a comma, followed by the field data.
Cases are written out in numeric order; the order of fields is as specified on the command line. There is no break between different cases.
Examples of output:
SW_CASENUM,1
AFIELD,Here's a text value
DATE,23/03/1999
SW_CASENUM,2
AFIELD,Here's a name: "Peter"
DATE,24/03/1999
Comma delimited: -c
This is formatted one case per line, with each field value separated from the next by a comma.
Field names are written out on the first line if the -f flag is included. Cases are written out in numeric order; the order of fields is as specified on the command line.
If the field contains a comma as part of its value, the entire field contents is enclosed in double quotes; if a field contains double quotes, each double quotes character is represented by two double quotes characters, "".
Examples of output for -cf:
SW_CASENUM,AFIELD,DATE
1,Here's a text value,23/03/1999
2,Here's a name: ""Peter"",24/03/1999
Tab (or other character) delimited: -t
This works the same as the comma-delimited format, except:
| • | The tab (or specified separator) is used between fields |
| • | No double-quoting of fields is performed. |