Hi Tamar,
insert into ERRORLOG ;
(DATE, TIME, USER, TERMINAL, CUSTOMER, ALIAS,;
RECNUM, KEYFLD, ERRMSG1, ERRMSG2, ERRMSG3, ACTION, ;
MEMVARS, DETAILS, CALLSTACK) ;
values ;
(date(), time(), gcUSER_NAME, SysZero(), space(len(customer)), lcALIAS, ;
lnREC, lcKEY, lcLINE1, lcLINE2, lcLINE3, 'REBOOT',;
'', m.lcDetails, m.lcStackInfo)
- Could SysZero() change alias() or insert a log row itself or otherwise interfere with the insert midstream?
- and -
Does space(len(customer)) rely on selected alias? If it's a variable, try with mdot or what happens if you replace with "" ?
"... They ne'er cared for us
yet: suffer us to famish, and their store-houses
crammed with grain; make edicts for usury, to
support usurers; repeal daily any wholesome act
established against the rich, and provide more
piercing statutes daily, to chain up and restrain
the poor. If the wars eat us not up, they will; and
there's all the love they bear us."
-- Shakespeare: Coriolanus, Act 1, scene 1