File permissions?

Charles Shaffer
Senior Analyst
NTN-Bower Corporation




Kevin King <[email protected]>
Sent by: [email protected]
01/11/2010 08:24 AM
Please respond to U2 Users List

 
        To:     U2 Users List <[email protected]>
        cc: 
        Subject:        [U2] UOJ "The RPC Failed" on Unifile.write()


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

-- 
This email was Anti Virus checked by Astaro Security Gateway. 
http://www.astaro.com


_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to