Previous Next Up Title Contents Index Functions Index Top Library

CHANGE STRUCTURE IDENTIFIER AND REFERENCES

PCSTIR


CALL SEQUENCE

CALL PCSTIR (OLDSID, NEWSID)

INPUT PARAMETERS

INTEGER OLDSID
Old structure identifier.
INTEGER NEWSID
New identifier.

PHIGS STATE

(PHOP, *, *, *).

EFFECT

This function changes both the identifier of a structure and the references which are made to it. This function therefore replaces a structure with another in the structure network.

The effect is the same as if CHANGE STRUCTURE REFERENCE and CHANGE STRUCTURE IDENTIFIER were called but without intermediate effect since the actions are carried out in only one operation.

If the old structure is open, it is closed, the action is executed and the old structure is reopened. The old structure exists but is empty. Element pointer is set to 0.

If the resulting structure NEWSID is posted, it remains so with the same priority and the old structure OLDSID is unposted if it was posted.

On all the workstations where the old structure OLDSID is posted and where the resulting structure NEWSID is unposted, NEWSID is posted with the priority of the old structure; OLDSID is unposted.

ERRORS

2
Ignoring function, function requires state (PHOP, *,*,*)

SEE ALSO

open structure, copy all elements from structure, change structure reference, change structure identifier, inquire structure identifiers, inquire structure status


Previous Next Up Title Contents Index Functions Index Top Library