WRKDOC (Work with Documents)

WRKDOC Command syntax diagram

 

Purpose

The Work with Documents (WRKDOC) command allows you to display and work with the word processing function of Office/Vision/400 to show the Work with Documents display or the Work with Nontext Document Data display.

From the Work with Documents display, you can select an option to: create, revise, copy, delete, view, print, rename, describe, print with options, send, spell check, file, paginate, and specify security levels on documents.

From the Work with Nontext Document Data display, you can select an option to: copy, delete, and rename nontext data, such as charts and images.

More information on working with documents is in the Use OfficeVision/400 Word Processing book.

 

Optional Parameters

DOC
Specifies which display is shown.

*ALL: The Work with Documents display is shown.

*NONTXTDTA: The Work with Nontext Document Data display is shown.

FLR
Specifies the name of the folder used on the Work with Documents display or Work with Nontext Document Data display.

*PRV: The name used in the previous session is used.

*SELECT: Displays a list of folders from which you can select a folder.

folder-name: Specify the name of the folder to work with on the specified display.

Example for WRKDOC

WRKDOC  DOC(*ALL)  FLR(*SELECT)

This command allows you to utilize the Work with Documents display and to show a list of folders from which to select the working folder.

Error messages for WRKDOC

*ESCAPE Messages

CPF90A8
*SECADM special authority required to do requested operation.
CPF9024
System cannot get correct record to finish operation.
CPF9845
Error occurred while opening file &1.
CPF9846
Error while processing file &1 in library &2.
CPF9847
Error occurred while closing file &1 in library &2.