workgen - Application Workfile Generator
workgen productline (programcode| GLOBAL) workfilename
Examples:
workgen lawapp9 ac120 actgpwrk
workgen lawapp9 GLOBAL glrptswrk
After you have made a change to work file definitions in the
Workfile Definition utility, use this utility to update the work file
information in the IBM i physical file members for a
product line, for a program's work files, or for global work files.
You usually do not need to use this utility to accomplish an update
of the work file information in the physical file members because
compiling the program or module will call workgen
. Only use this utility if the work file information was not updated
through the compile process.
Program Option | Description |
---|---|
productline
|
The product line containing the work files whose physical file members you want to update. |
programcode
|
The program that the work files belong to whose physical file members you want to update. |
GLOBAL
|
Indicates that the work files whose physical file members are to be updated are ones that do not belong to a specific program. |
workfilename
|
The specific work file whose physical file members you want to update. |