Goto: 4C Home | 4C Docs | System PCLs List sys.unshare_field()

sys.unshare_field()

Purpose:
sys.unshare_field() stops sharing of one field with other fields
Usage:
ret = sys.unshare_field(<field>);
Arguments:

<field> - Any valid file variable in the program
Returns:
integer <ret> - 0 if <field> is unshared successfully, -1 if <field> was not shared to start with.
Where Used:
sys.unshare_field() can be called from anywhere. It is most likely to be used in programs where sys.share_field() was used to dynamically shared fields at run time.
Example:
Description:
sys.unshare_field() stops sharing of one field with other fields This is most likely used when dynamic sharing was used in a program by calling sys.set_share()
Requirements
Bugs/Features/Comments:
Bugs
See Also:
sys.share_field()


Back to Top