Hi all,
I'm reviewing an older Cache routine and came across this line of code: from file ^ZDBKCRON
S $ZT="^%ETSDK"
Error trap
/home/oper/script/cache_db_backup -t # Daily CacheDB Backup
produced the following output:
<NOROUTINE> *%ETSDK
<ERRTRAP>
-----------
From what I understand, this is setting up an error trap, but I'm not entirely clear on how it works, especially in modern InterSystems IRIS environments.
Could someone please help explain:
- What exactly does this line do?
- Is
%ETSDKa standard system routine? I can't find it in our environment. - What is the best practice for error