Where allowed to run: Interactive environments (*INTERACT *IPGM *IREXX *EXEC) Threadsafe: No |
Parameters Examples Error messages |
The Create Document (CRTDOC) command allows you to create a new document when using OfficeVision/400.
First the Create Document Details display is shown. Then, if the Enter key is pressed on this display, the Edit display is shown.
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
DOC | Document | Character value | Required, Positional 1 |
FLR | Folder | Character value, *PRV | Optional, Positional 2 |
TXTPRF | Text profile | Name, *DFT, *SYSTEM | Optional, Positional 3 |
TEXT | Document description | Character value, *DFT | Optional, Positional 4 |
DETAILS | Document details | *YES, *NO | Optional, Positional 5 |
EDIT | Edit document | *YES, *NO | Optional, Positional 6 |
EXITPNL | Display exit panel | *YES, *NO | Optional, Positional 7 |
Top |
Specifies the name of the document to be created. A maximum of 12 characters can be specified in the required format (document.ext).
This is a required parameter.
Top |
Specifies the name of the folder that will contain the document being created.
Top |
Specifies the text profile used as the base for the document.
Top |
Specifies the document description.
Top |
Specifies whether to request or bypass the Document Details display.
Top |
Species whether document editing is bypassed.
Top |
Specifies whether the Exit Document display is shown when F3(Exit) or F12(Cancel) is pressed to end the editing.
Top |
CRTDOC DOC(NEWDOC) FLR(MYFLR)
This command creates a new document called NEWDOC in folder MYFLR.
Top |
*ESCAPE Messages
Top |