WORKDIR
From CometWiki
(Difference between revisions)
(New page: == WORKDIR == == WORKDISC == == WIRKDISK == Syntax: WORKDIR directory-name WORKDISC directory-name WORKDISK directory-name Placement: The WORKDIR, WORKDISC, and WORKDISK command...) |
|||
(11 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
+ | '''WORKDIR''' <br> | ||
+ | '''WORKDISC'''<br> | ||
+ | '''WIRKDISK''' | ||
- | + | '''Syntax:'''<br> | |
+ | WORKDIR directory-name<br> | ||
+ | WORKDISC directory-name<br> | ||
+ | WORKDISK directory-name | ||
+ | '''Placement:'''<br> | ||
+ | The WORKDIR, WORKDISC, and WORKDISK commands are interchangeable.<br> Place one of these before the following commands:<br> | ||
+ | * [[INPUT]] | ||
+ | * PRINTER | ||
+ | * TITLE | ||
+ | * KEYRANGE | ||
+ | * SORT | ||
+ | * REPORT | ||
- | + | '''Discussion:'''<br> | |
- | + | WORKDIR specifies a directory location for temporary files that are created when preparing reports. | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
Follow the WORKDIR command with the three-character directory name where you wish to located temporary work files. | Follow the WORKDIR command with the three-character directory name where you wish to located temporary work files. | ||
- | If you do not specify a location for temporary work files. The Reporter puts work files on the directory where the Reporter command file is located and in TMP. | + | If you do not specify a location for temporary work files.<br> |
+ | The Reporter puts work files on the directory where the Reporter command file is located and in TMP. | ||
- | Example: WORKDIR ABC | + | '''Example:''' |
- | INPUT CUSTOMER | + | WORKDIR ABC |
- | SORT ON STATE,A;TOTAL.PAST.DUE,D | + | INPUT CUSTOMER |
- | REPORT | + | SORT ON STATE,A;TOTAL.PAST.DUE,D |
- | PRINT CUST.NAME;STATE;PAST.DUE | + | REPORT |
+ | PRINT CUST.NAME;STATE;PAST.DUE |
Latest revision as of 13:31, 5 June 2009
WORKDIR
WORKDISC
WIRKDISK
Syntax:
WORKDIR directory-name
WORKDISC directory-name
WORKDISK directory-name
Placement:
The WORKDIR, WORKDISC, and WORKDISK commands are interchangeable.
Place one of these before the following commands:
- INPUT
- PRINTER
- TITLE
- KEYRANGE
- SORT
- REPORT
Discussion:
WORKDIR specifies a directory location for temporary files that are created when preparing reports.
Follow the WORKDIR command with the three-character directory name where you wish to located temporary work files.
If you do not specify a location for temporary work files.
The Reporter puts work files on the directory where the Reporter command file is located and in TMP.
Example:
WORKDIR ABC INPUT CUSTOMER SORT ON STATE,A;TOTAL.PAST.DUE,D REPORT PRINT CUST.NAME;STATE;PAST.DUE