[U2] Unidata DICT size
So I'm curious how large a dictionary of Data elements (not I-desc) people have used on a single table in Unidata. We have a couple of tables with 200ish data elements in them and I'm facing a project that could see single tables with 400+ data elements. I assume this is no issue assuming the DICT is resized appropriately (like any other table), but curious to here people's input regarding performance and other factors. -- Jeffrey Butera, PhD Associate Director for Applications and Web Services Information Technology Hampshire College 413-559-5556 http://www.hampshire.edu http://www.facebook.com/hampshirecollegeit ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Unidata DICT size
That should not be a problem. Note that with that many elements, you would be STRONGLY advised to write your code with dimensioned arrays, not dynamic ones. Performance will be amazingly faster (assuming you have a bunch of records in the data file). JRI -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Jeffrey Butera Sent: Monday, December 10, 2012 3:30 PM To: U2 Users List Subject: [U2] Unidata DICT size So I'm curious how large a dictionary of Data elements (not I-desc) people have used on a single table in Unidata. We have a couple of tables with 200ish data elements in them and I'm facing a project that could see single tables with 400+ data elements. I assume this is no issue assuming the DICT is resized appropriately (like any other table), but curious to here people's input regarding performance and other factors. -- Jeffrey Butera, PhD Associate Director for Applications and Web Services Information Technology Hampshire College 413-559-5556 http://www.hampshire.edu http://www.facebook.com/hampshirecollegeit ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Unidata DICT size
On 10/12/12 20:32, Israel, John R. wrote: That should not be a problem. Note that with that many elements, you would be STRONGLY advised to write your code with dimensioned arrays, not dynamic ones. Performance will be amazingly faster (assuming you have a bunch of records in the data file). Just be careful. I once wrote an app that had field positions that went into 4 figures ... didn't use all the positions, but - And because the field count was dynamic, I stored the length as a data element. With big warnings everywhere that you MUST get this correct. A colleague then spent a day with my supervisor debugging a program because she got that wrong. Cheers, Wol JRI -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Jeffrey Butera Sent: Monday, December 10, 2012 3:30 PM To: U2 Users List Subject: [U2] Unidata DICT size So I'm curious how large a dictionary of Data elements (not I-desc) people have used on a single table in Unidata. We have a couple of tables with 200ish data elements in them and I'm facing a project that could see single tables with 400+ data elements. I assume this is no issue assuming the DICT is resized appropriately (like any other table), but curious to here people's input regarding performance and other factors. -- Jeffrey Butera, PhD Associate Director for Applications and Web Services Information Technology Hampshire College 413-559-5556 http://www.hampshire.edu http://www.facebook.com/hampshirecollegeit ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
[U2] Creating XML nodes with a namespace prefix
If anyone has tried to use the UV XDOM api to create nodes with a namespace prefix (and failed), there is a non-obvious method you need to use. We recently had a need to do this, and with the help of Rocket U2 support we were able to achieve the required XML output. I have documented the method here for those inclined to use the XDOM API in this way, as it is obscure enough to not be obvious: http://gdoesu2.wordpress.com/2012/12/10/creating-xml-elements-with-a-namespace-prefix/ Regards, Gregor This email and any attachments to it are confidential. You must not use, disclose or act on the email if you are not the intended recipient. Liability limited by a scheme approved under Professional Standards Legislation. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users