[RPG/LongRange] Database Upload
Posted: Wed Jul 03, 2019 7:25 am
I was wondering if there has been any reported issues using the database upload process. We have an offline mobile application that hasn't been changed in a long time. In that application we have a posting process that uploads data when the phone is connected to the server. It used to work but now, when it tries to post, the property /DB.BATCHTABLECOUNT is always 0. It's as if nothing is being sent up. I am using android's LongRange version 35 and axes 311.
Any ideas as to what it could be would be helpful.
javascript
RPGLE
Any ideas as to what it could be would be helpful.
javascript
Code: Select all
function () {
this.q_setProperties({
"RunOperation.Type": "PerformAction",
"RunOperation.Pgm": "MOR3598",
"RunOperation.Action": "",
"RunOperation.SendDBData": "Y"
});
},Code: Select all
tblCount = lrng_getNumProperty('/DB.BATCHTABLECOUNT');
tblStrIdx = lrng_getNumProperty('/DB.BATCHTABLESTARTIDX');
tblEndIdx = tblStrIdx + tblCount - 1;
tblHasMore = lrng_getPropAsBool('/DB.HASMOREDATA');
if (tblStrIdx > 0);
// do stuff
endif;