11.07.2015 Views

Caché ObjectScript Reference - InterSystems Documentation

Caché ObjectScript Reference - InterSystems Documentation

Caché ObjectScript Reference - InterSystems Documentation

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

$ZERROR• $ZUTIL(69,40) End-of-File Handling for Sequential Files function• $ZCHILD special variable• $ZPOS special variable• Sequential File I/O in <strong>Caché</strong> I/O Device Guide$ZERRORContains the name and location of the last error.$ZERROR$ZEDescription$ZERROR contains the name of the most recent error, the location of the most recent error(where applicable), and (for certain error codes) additional information about what causedthe error. $ZERROR always contains the most recent error for the appropriate languagemode.The string contained in $ZERROR can be in any of the following forms:entryref infoentryref infoentryrefinfoThe error name. The error name is always returned in all capital letters,enclosed in angle brackets. It may contain blank spaces.A reference to the line of code in which the error occurred. This consistsof the routine name and line offset within that routine, followed by a ^and the program name.This entryref follows immediately after the closingangle bracket of the error name. When invoking $ZERROR from <strong>Caché</strong>Terminal, this entryref information is not meaningful, and is therefore notreturned.Additional information specific to certain error types (see table below).This information is separated from or entryref by a blankspace. If there are multiple components to info, they are separated by acomma.<strong>Caché</strong> <strong>ObjectScript</strong> <strong>Reference</strong> 469

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!