CE (Find Error) primary command

The CE (Change Error) primary command allows you to change numeric fields flagged as being in error (all asterisks in the field display) to a specific numeric value.

The find argument for the CE command is assumed to be a numeric field in error.

The CE command is only valid in SNGL or TABL display formats, when in edit or view.

For details on limiting the columns, fields or records searched by the CE command, see Limiting the search in FIND or CHANGE.

Syntax


1 CE
1 string
1 *
2? SEGment(segment-name)
1! SCOPE
1 Db
1 Rec
1 DEPendent
1! NEXT
1 FIRST
1 ALL
4?  #field
string
A numeric value used to replace the invalid numeric value.
* (asterisk)
When used in place of the replacement string, uses the replacement string specified on the previous CE or CHANGE command as the replacement string. CE with no parameters, following a CE or CHANGE with a replacement string, acts the same as CE *.
segment-name
When the SEGMENT parameter is specified, the search is restricted to occurrences of the segment type, segment-name. The parameter is only permitted when SHOW SUP is on, or when you are not using a view.
SCOPE
Search range is the current scope.
DB
Search the entire database.
REC
Search is restricted to the current database record.
DEPENDENT
Search is restricted to the dependents of the current segment. The parameter is only permitted when SHOW SUP is on, or when you are not using a view.
NEXT
Searches forwards from the cursor position (if the cursor is within the data portion of the screen), or from the beginning of the topmost record displayed on the screen, for the next occurrence of an invalid numeric field.

If the next occurrence of the string is in an excluded record and you do not limit the search to not-excluded records, only the first excluded record containing the string is shown.

FIRST
Searches from the top of data for the first occurrence of an invalid numeric field.
ALL
Searches forwards from the top of data. Same as FIRST except that ALL also displays the total number of invalid numeric fields in the records searched.
#field
A field reference, specifying the field to be included in the search. For example: #3.

Availability

Related tasks and examples