Sets file type.
Scope: File
Syntax
query doctype
set doctype ExtensionName
Option
ExtensionName |
The extension given to the filename when it is saved. Blanks are allowed. |
Description
The doctype parameter sets or returns the filename extension that is used when the current file is saved. A file with no extension is given a doctype of LPEX when it is created.
Examples
query doctype
set doctype cbl
API Return Codes
-2 |
The ExtensionName specified for the set doctype command contains more than 8 characters. Select a doctype of 8 characters or less. |
![]()
