DSPDOC (Display Document) Command Description
Purpose
The Display Document (DSPDOC) command allows the user to display a document using the word processing function of OfficeVision. More information on displaying documents is in the Use OfficeVision/400 Word Processing book.
Optional Parameters
- DOC
- Specifies the name of the document to be displayed.
*PRV: The name used in the previous session is used.
document-name: Specify the name of the document that is displayed.
- FLR
- Specifies the name of the folder that contains the document.
*PRV: The name used in the previous session is used.
folder-name: Specify the name of the folder that contains the document to be displayed.
- ALWPRT
- Specifies whether the user is able to print a document while viewing it.
*YES: The user can print a document while viewing it.
*NO: The user cannot print a document while viewing it.
Example for DSPDOC
DSPDOC DOC(MYDOC) FLR(MYFLR)This command displays the document MYDOC in folder MYFLR.
Error messages for DSPDOC
*ESCAPE Messages
- OFCFFFD
- Damaged object found.
- OFC8EA3
- OfficeVision for AS/400 editor is not available to resolve to a display.
- OFC80B5
- OfficeVision for OS/400 editor is not available on the system.
- OFC800A
- Folder is in use.
- OFC800B
- Document &1 is in use.
- OFC800F
- Display does not support text.
- OFC8006
- Folder not found.
- OFC8007
- Document &1 not found in folder.
- OFC8008
- Request not allowed with folder.
- OFC8009
- Request not allowed with document &1.
- OFC801A
- Document has been saved to diskette, tape or save file.
- OFC801D
- Maximum number of text sessions active.
- OFC801E
- DW editor or text assist cannot be loaded.
- OFC8010
- Document &1 cannot be processed.
- OFC8011
- Document &1 needs to be recovered.
- OFC8016
- Document &1 is checked out.
- OFC8018
- Document &1 is empty.
- OFC8019
- Required module not on system.
- OFC802E
- Request failed for PC editor.
- OFC8951
- Data name must be specified.
- OFC8952
- Type must be &9 or &10.
- OFC8953
- Data &9 does not exist.
- OFC8954
- Display terminal does not have graphics ability.
- OFC8955
- PC Text-assist function required to view image.
- OFC9811
- Folder needs to be reclaimed.