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.

$ZCHILDIn MSM language mode, a successful sequential file read sets $ZC=0.In MSM language mode, an end-of-file condition sets $ZC=–1 (negative 1). An error does not occur.However, <strong>Caché</strong> $ZC is not identical to the MSM $ZC:MSM sets its $ZC=–1 (negative 1) if the last line of the file is not terminated with thedelimiter character(s). <strong>Caché</strong> does not check for delimiter characters; it sets $ZC=0 insteadof –1 in this case.MSM sets its $ZC=1 if an I/O error occurs during a read. <strong>Caché</strong> does not support this functionality;instead, <strong>Caché</strong> issues a error.See AlsoChild processes:• JOB command• ^$JOB structured system variable• $JOB special variable• $TEST special variable• $ZPARENT special variableMSM language mode:• $ZUTIL(55) Language Mode Switch function• $ZPOS special variable• $ZEOF special variable• Sequential File I/O in <strong>Caché</strong> I/O Device Guide<strong>Caché</strong> <strong>ObjectScript</strong> <strong>Reference</strong> 467

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

Saved successfully!

Ooh no, something went wrong!