There should be a difference (at least when using the latest versions of Uniface 10.3/10.4).
When exporting an aps that exists then $ude("export") will return the number of exported records, which is in this case 1. And $procReturnContext will contain the following:
"Context=UDE export·;InputRecords=1·;OutputRecords=1·;InputDescriptors=3·;OutputDescriptors=1·;Release=10.3"
In case the specified aps does not exist then $ude("export") will return 0 and $procReturnContext will not show any OutputRecords or OutputDescriptors:
"Context=UDE export·;InputDescriptors=3·;Release=10.3"
I hope this helps.
------------------------------
Daniel Iseli
Principal Technical Support Engineer
Uniface Services
Rocket Software, Switzerland
------------------------------
Original Message:
Sent: 03-24-2023 11:11
From: Osman Shariff
Subject: $ude export with an aps
Hi
Can you check if there is a way to differentiate between a successful export of an aps and an export of an aps that does not exist.
I think $procReturnContext, $procerror, $procerrorcontext and return status all contain the same information.
Thanks
------------------------------
Osman Shariff
------------------------------