Please enable JavaScript to view this site.

Navigation: Technical Information > Cobwebb APIs & Commands

WRKGEND - Work with General Directory

Scroll Prev Top Next More

Cobwebb Server Version > 6.2.82. This command must be run on the IBM i and can be used to supply a Filter to the Work with General Directory to prevent users from maintaining entries except those that match the supplied filter. The General Directory is often used to direct output from a Cobwebb Design and by using the filters you could restrict users to only changing those entries that relate to their output.

Make sure that you have the CPPD library in your library list. To do this, enter the following command: -

ADDLIBLE CPPD

If the library already exists in your library list, you will receive an error message, which you may ignore.  

Next enter WRKGEND and press F4=Prompt.  

Command Parameters

Filter for Key 1 (FILTER1)

Specify a Filter for Key 1 that cannot be changed in Work with General Directory. If this is specified then only entries matching this filter may be viewed or maintained.

Filter for Key 2 (FILTER2)

Specify a Filter for Key 2 that cannot be changed in Work with General Directory. If this is specified then only entries matching this filter may be viewed or maintained.

Filter for Key 3 (FILTER3)

Specify a Filter for Key 3 that cannot be changed in Work with General Directory. If this is specified then only entries matching this filter may be viewed or maintained.