Code: Select all
if docNode <> *null;
inboundFile = '/P44/Inbound/P44ShipmentUpdate_' +
%char(%date():*iso0) + '_' +
%char(%time():*hms0) + '.json';
yajl_save_string_stmf(docNode:
inboundFile:
errMsg);
if errMsg <> *blanks;
EXEC SQL
INSERT INTO Wserlgfl
VALUES(CURRENT TIMESTAMP,
'Copy Error',
errMsg);
endif;
I know it's not null, because this code is working:
Code: Select all
nodeq = YAJL_object_find(docNode: 'shipment');
if nodeQ <> *null;