&PATERR
Checks for whether any pattern errors occurred during the last pattern operation. You can list these errors using the PATLER statement.
For example, you wish to retrieve a part that has pattern objects using the FETCH statement. Before plotting this part, you want to verify that all patterns were successfully retrieved.
NUMBER/ERRFLG
.
.
FETCH/PART,PARTFILE.PRT
ERRFLG =
&PATERR
.
.
NOTE: As with the PATLER statement, &PATERR will not reflect
errors which occur during pattern retrieval using the PATRET statement.
If the system returns a value of 1 to ERRFLG, you would not want to plot the part.
Read Only - Number - [1,2]
1 = &YES
2 = &NO
Parameter |
Description |
&YES |
GPA constant which indicates that pattern errors occurred during the last pattern operation. |
&NO |
GPA constant which indicates that no pattern errors occurred during the last pattern operation. |