Re: [U2] UniObjects.NET: .GenerateXML method fails
It's confirmed. As soon I globally cataloged that routine, DataGridView is working. We haven't gotten a list box to work, but that will be another subject line for archive purposes. Thank you! Regards, Clif On May 6, 2008, at 3:12 PM, Clifton Oliver wrote: Sure enough, that subroutine was not cataloged on the AIX system. I've cataloged it, but got my PC access expired before I could test it. (What are the odds?) I'll report back to the list (for the archives) with a verification when I get my access renewed. Thank you! Regards, Clif On May 6, 2008, at 1:50 PM, Brian Leach wrote: Hi Clif I would check to see whether the GETXMLSUB subroutine has been globally cataloged in the uv account. The code is in BP, it needs to be cataloged as *GETXMLSUB. Brian Greetings, List Citizens (Litizens?) A client of mine and I are having problems with using UniObjects.NET and the GenerateXML menthod to populate a data grid in VB.NET. The following code, almost a cut-and-paste from Brian Leach's excellent Introducing UniObject for .NET in the U2UG Knowledge Base runs perfectly on UV PE 10.2.8 on Windows XP SP2 using the 10.2 UV clients. Private Sub cmdRead_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdRead.Click Cmd = uvSession.CreateUniXML Cmd.GenerateXML("SORT CUSTOMER COMPANY ID.SUP") DS = Cmd.GetDataSet DataGridView1.DataSource = DS DataGridView1.DataMember = "CUSTOMER" DataGridView1.Refresh() End Sub But when we try the exact code against an AIX system, UV 10.1.7 using the 10.1A clients, we get the following error: [IBM U2][UODOTNET - UNICLIENT][ErrorCode=30105] Unable to load the subroutine on the server[IBM U2][UODOTNET - UNICLIENT][ErrorCode=91] Please verify UniVerse or UniData Version. This feature may not be supported in older UniVerse or UniData version. In both cases, I am going against the CUSTOMER file in the demo HS.SALES account. I have logged into the AIX system with the same ID as is being used to connect a session and verified that I have permissions to access the file. The command SORT CUSTOMER COMPANY ID.SUP TOXML ELEMENTS issued from the TCL prompt gives the expected results. None of the dictionary descriptors are trying to call a subroutine, so I don't understand what that part of the error message is referring to. Thanks in advance for any help, ideas, or insights. Regards, Clif -- W. Clifton Oliver, CCP CLIFTON OLIVER & ASSOCIATES Tel: +1 619 460 5678Web: www.oliver.com --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] UniObjects.NET: .GenerateXML method fails
Hi Clif I think I was confusing UniXML with U2 Web Services Developer, which is mentioned in 'newfeatures.pdf' for UV 10.2. This states for U2WSD, that UV 10.1.18 (or greater) is required. But I stumbled upon the fact UniXML works on this release (10.1.18), but not lower ones. I can't find any references in 'newfeatures.pdf' to the use of UniXML functionality. Regards, David -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Clifton Oliver Sent: Wednesday, May 07, 2008 5:28 PM To: u2-users@listserver.u2ug.org Subject: Re: [U2] UniObjects.NET: .GenerateXML method fails Thanks, David. I'll check those references and post a summary findings back to the list. I really appreciate the help! Regards, Clif On May 6, 2008, at 8:31 PM, Hona, David S wrote: > Clif, > > I vaguely recall that the UniXML functionality isn't officially > supported until UV 10.2.x (on the server). I could > > However, I have got it working at UniVerse 10.1.18 on Sun Solaris. But > earlier versions of UV 10.1.x do not work with UniXML calls. This is > the same U2 Webservices Developer Tool (and some other toolsets as > well). > > I believe this may be mentioned in the UniVerse 'newfeatures.pdf' > for UV > 10.2 documentation set. > > > Regards > David --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] UniObjects.NET: .GenerateXML method fails
Thanks, David. I'll check those references and post a summary findings back to the list. I really appreciate the help! Regards, Clif On May 6, 2008, at 8:31 PM, Hona, David S wrote: Clif, I vaguely recall that the UniXML functionality isn't officially supported until UV 10.2.x (on the server). I could However, I have got it working at UniVerse 10.1.18 on Sun Solaris. But earlier versions of UV 10.1.x do not work with UniXML calls. This is the same U2 Webservices Developer Tool (and some other toolsets as well). I believe this may be mentioned in the UniVerse 'newfeatures.pdf' for UV 10.2 documentation set. Regards David --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] UniObjects.NET: .GenerateXML method fails
Clif, I vaguely recall that the UniXML functionality isn't officially supported until UV 10.2.x (on the server). I could However, I have got it working at UniVerse 10.1.18 on Sun Solaris. But earlier versions of UV 10.1.x do not work with UniXML calls. This is the same U2 Webservices Developer Tool (and some other toolsets as well). I believe this may be mentioned in the UniVerse 'newfeatures.pdf' for UV 10.2 documentation set. Regards David -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Clifton Oliver Sent: Wednesday, May 07, 2008 6:36 AM To: u2-users@listserver.u2ug.org Subject: [U2] UniObjects.NET: .GenerateXML method fails Greetings, List Citizens (Litizens?) A client of mine and I are having problems with using UniObjects.NET and the GenerateXML menthod to populate a data grid in VB.NET. The following code, almost a cut-and-paste from Brian Leach's excellent Introducing UniObject for .NET in the U2UG Knowledge Base runs perfectly on UV PE 10.2.8 on Windows XP SP2 using the 10.2 UV clients. Private Sub cmdRead_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdRead.Click Cmd = uvSession.CreateUniXML Cmd.GenerateXML("SORT CUSTOMER COMPANY ID.SUP") DS = Cmd.GetDataSet DataGridView1.DataSource = DS DataGridView1.DataMember = "CUSTOMER" DataGridView1.Refresh() End Sub But when we try the exact code against an AIX system, UV 10.1.7 using the 10.1A clients, we get the following error: [IBM U2][UODOTNET - UNICLIENT][ErrorCode=30105] Unable to load the subroutine on the server[IBM U2][UODOTNET - UNICLIENT][ErrorCode=91] Please verify UniVerse or UniData Version. This feature may not be supported in older UniVerse or UniData version. In both cases, I am going against the CUSTOMER file in the demo HS.SALES account. I have logged into the AIX system with the same ID as is being used to connect a session and verified that I have permissions to access the file. The command SORT CUSTOMER COMPANY ID.SUP TOXML ELEMENTS issued from the TCL prompt gives the expected results. None of the dictionary descriptors are trying to call a subroutine, so I don't understand what that part of the error message is referring to. Thanks in advance for any help, ideas, or insights. Regards, Clif --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] UniObjects.NET: .GenerateXML method fails
Sure enough, that subroutine was not cataloged on the AIX system. I've cataloged it, but got my PC access expired before I could test it. (What are the odds?) I'll report back to the list (for the archives) with a verification when I get my access renewed. Thank you! Regards, Clif On May 6, 2008, at 1:50 PM, Brian Leach wrote: Hi Clif I would check to see whether the GETXMLSUB subroutine has been globally cataloged in the uv account. The code is in BP, it needs to be cataloged as *GETXMLSUB. Brian Greetings, List Citizens (Litizens?) A client of mine and I are having problems with using UniObjects.NET and the GenerateXML menthod to populate a data grid in VB.NET. The following code, almost a cut-and-paste from Brian Leach's excellent Introducing UniObject for .NET in the U2UG Knowledge Base runs perfectly on UV PE 10.2.8 on Windows XP SP2 using the 10.2 UV clients. Private Sub cmdRead_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdRead.Click Cmd = uvSession.CreateUniXML Cmd.GenerateXML("SORT CUSTOMER COMPANY ID.SUP") DS = Cmd.GetDataSet DataGridView1.DataSource = DS DataGridView1.DataMember = "CUSTOMER" DataGridView1.Refresh() End Sub But when we try the exact code against an AIX system, UV 10.1.7 using the 10.1A clients, we get the following error: [IBM U2][UODOTNET - UNICLIENT][ErrorCode=30105] Unable to load the subroutine on the server[IBM U2][UODOTNET - UNICLIENT][ErrorCode=91] Please verify UniVerse or UniData Version. This feature may not be supported in older UniVerse or UniData version. In both cases, I am going against the CUSTOMER file in the demo HS.SALES account. I have logged into the AIX system with the same ID as is being used to connect a session and verified that I have permissions to access the file. The command SORT CUSTOMER COMPANY ID.SUP TOXML ELEMENTS issued from the TCL prompt gives the expected results. None of the dictionary descriptors are trying to call a subroutine, so I don't understand what that part of the error message is referring to. Thanks in advance for any help, ideas, or insights. Regards, Clif -- W. Clifton Oliver, CCP CLIFTON OLIVER & ASSOCIATES Tel: +1 619 460 5678Web: www.oliver.com --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] UniObjects.NET: .GenerateXML method fails
Hi Clif I would check to see whether the GETXMLSUB subroutine has been globally cataloged in the uv account. The code is in BP, it needs to be cataloged as *GETXMLSUB. Brian Greetings, List Citizens (Litizens?) A client of mine and I are having problems with using UniObjects.NET and the GenerateXML menthod to populate a data grid in VB.NET. The following code, almost a cut-and-paste from Brian Leach's excellent Introducing UniObject for .NET in the U2UG Knowledge Base runs perfectly on UV PE 10.2.8 on Windows XP SP2 using the 10.2 UV clients. Private Sub cmdRead_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdRead.Click Cmd = uvSession.CreateUniXML Cmd.GenerateXML("SORT CUSTOMER COMPANY ID.SUP") DS = Cmd.GetDataSet DataGridView1.DataSource = DS DataGridView1.DataMember = "CUSTOMER" DataGridView1.Refresh() End Sub But when we try the exact code against an AIX system, UV 10.1.7 using the 10.1A clients, we get the following error: [IBM U2][UODOTNET - UNICLIENT][ErrorCode=30105] Unable to load the subroutine on the server[IBM U2][UODOTNET - UNICLIENT][ErrorCode=91] Please verify UniVerse or UniData Version. This feature may not be supported in older UniVerse or UniData version. In both cases, I am going against the CUSTOMER file in the demo HS.SALES account. I have logged into the AIX system with the same ID as is being used to connect a session and verified that I have permissions to access the file. The command SORT CUSTOMER COMPANY ID.SUP TOXML ELEMENTS issued from the TCL prompt gives the expected results. None of the dictionary descriptors are trying to call a subroutine, so I don't understand what that part of the error message is referring to. Thanks in advance for any help, ideas, or insights. Regards, Clif -- W. Clifton Oliver, CCP CLIFTON OLIVER & ASSOCIATES Tel: +1 619 460 5678Web: www.oliver.com --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/