PHMOD/['filename',]{STATUS[,status]|,DESCR[,'description']|,CAREA [,'customer area']}[,IFERR,label:]
Allows you to view and modify the status, description and customer area information of part files which were created in native file systems. This function applies to part files only; no other types of files may be modified.
You must specify at least one of the minor words STATUS, DESCR, or CAREA.
NOTE: PHREAD and PHMOD should be used together, as should FHREAD and
FHMOD. Do not mix their usage (i.e., don't use PHREAD with FHMOD).
Parameter |
Description |
'filename' |
The name of the part file to access, which may be up to 128 characters long, including the file type extension (.PRT). If the part file is loaded, then the loaded version of the part is accessed; otherwise, the part file on disk is accessed. If the file name is not specified, then the current work part is accessed. |
STATUS |
Minor word that indicates that the file status is to be changed. The file status is any valid Unigraphics number. |
status |
A number which represents a user defined status. |
DESCR |
Minor word that indicates that the file description field is to be changed. The file description field is a user defined feature. |
'description' |
The new file description field which may be up to 132 characters long. |
CAREA |
Minor word that indicates that the customer area field is to be changed. The customer area field is a user defined feature. |
'customer area' |
The new customer area field which may be up to 132 characters long. |
IFERR,label: |
Specifies a label to which the program jumps if an error occurs. |