I have a test UOJ program communicating to a backend Unidata/AIX server that
seems to work fine with the exception (pun intended) of UniFile write. The
file opens fine, we can read the record fine, but when attempting to update
the record, we get this:
asjava.uniobjects.UniFileException: The RPC failed
at asjava.uniobjects.UniFile.write(UniFile.java:1288)
at Test.main(Test.java:46)
Here's the offending code:
43 UniFile uFile = uSession.open("PRODUCT");
44 UniDynArray record = new UniDynArray(uFile.read("001!JM7012CK-6EU-F"));
45 record.replace(73,"TEST TEST TEST");
46 uFile.write("001!JM7012CK-6EU-F",record);
Probably something stupidly simple; any ideas?
-Kevin
http://www.PrecisOnline.com
_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users