Re: [U2] XML processing
Thanks guys - One of the files in question does have ISO-8859-1 as the encoding in the xml header. However i played arround with this, including using the linux iconv funtion to convert to utf-8, then back to ISO-8859-1. The other is utf-8, which i changed to ISO-8859-1. However no luck I am affraid, I even wrote a unibasic prog to change each char over 7f to character encoded form (i.e. #x7f;) but it still crashed out on this. So for the time being i have a prog to delete each char over 7f and it is ok. - not a solution tho ! I shall continue my discusions with IBM. Interestingly they can not replicate it on Windows except every now and then, + i did run a test on a solaris box and it was fine, so maybe it is something to do with Lang settings or kernel/udtconfig setup aswell ?? On 05/04/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Did you try a different encoding? How did you go? -- *From:* [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] *On Behalf Of *Symeon Breen [EMAIL PROTECTED] *Sent:* Monday, 3 April 2006 19:06 *To:* u2 users group u2-users@listserver.u2ug.org *Subject:* [U2] XML processing Hi Guys - I am currently working on a problem I have, with JayJay at IBM but thought I would throw it open to see if anyone else out there has seen something similar. I am using PREPAREAML/OPENXMLDATA/READXML to process some fairly large XMl files (over 30 meg) very succesfully. However i do have some instances where particular elements have foreign language characters in (over char 127). This seems to be giving me a segmentation faults in the open stage, if i use an EXT that tries to extract data from that element or any elements after the element in question. Has anyone had any similar kind off problem at all ?? Cheers Symeon. --- 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/ ** This email message and any files transmitted with it are confidential and intended solely for the use of addressed recipient(s). If you have received this email in error please notify the Spotless IS Support Centre (+61 3 9269 7555) immediately, who will advise further action. This footnote also confirms that this email message has been scanned for the presence of computer related viruses. ** --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Newest UV UniDebugger
I'd settle for the debugger working all the time. Thanks, Nick Cipollina -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kate Stanton Sent: Tuesday, April 04, 2006 9:50 PM To: Bob Woodward; U2-Users List Subject: Re: [U2] Newest UV UniDebugger Hear, hear! When you do Ctl-F to find a word you have highlighted, it no longer defaults to look for that word. You now have to highlight, Ctl-C, Ctl-F, Ctl-V to do the same thing. Same for Ctl-H to replace. Change in behaviour of HOME key is driving one of our people mad, too. Only enhancement we can see is list of labels from Edit menu (or Ctl-F12). No use to us, as we use numeric labels in small programs. What we would like to se is many, many more programs shown in the Windows list, with the ability to sort them. Cheers, Kate - Original Message - From: Bob Woodward [EMAIL PROTECTED] To: U2-Users List u2-users@listserver.u2ug.org Sent: Wednesday, April 05, 2006 5:15 AM Subject: RE: [U2] Newest UV UniDebugger As a follow-up to this posting, I'd recommend to everyone NOT to install the version 10.1b client utilities. Stick with the 10.1a. The README says that it's primarily an update to IBM standards in appearance. It's a BIG mistake as far as I'm concerned. The biggest problem is that when a session is minimized, the UniDebugger AND Dynamic Connect look identical and I've not been able to find a way to change it. Also, if you try to have the two versions co-exist, they don't. Then there's the problem of two different formats for the UniDebugger workspace files with no way to convert. Bottom line is you gain nothing in features or bug fixes, and the IBM standard appearance Well, let's just say I'm glad the car companies don't do the same thing. You wouldn't be able to tell the difference between trucks, cars, vans, or SUV's. BobW -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bob Woodward Sent: Friday, March 31, 2006 8:55 AM To: U2-Users List Subject: [U2] Newest UV UniDebugger Hi Folks, I've just downloaded and installed the newest utilities for Universe, v101b-clients-7149, from the IBM site. They seem to have made a number of changes and it seems like one is the format of the workspace file in the UniDebugger program. Does anyone know if there is a converter between the v101a version to the v101b version? I've got a number of different work spaces with a number of different programs I keep in them and it's going to be ROYAL pain in the butt to have to re-open all of them. I'm not too wild about the change in the icon's, either, since the Dynamic Connect icon and the UniDebugger icon are the same in the task bar. There's not an easy way to change it, either, without hacking a file association entry. Thanks, BobW --- 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] More XML [Universe]
I have a subroutine that accepts an xml document and processes it using the XDOM/XMAP routines When this routine is called from an interactive user session or from a phantom process it works. But if the routine is called from UniObjects session ( @TTY=uvcs ) XDOMOpen returns XML.ERROR Calling XMLGetError returns an error code of -1 and a blank error message. Just to be sure that this wasn't a data error, I forced the routine to load the xml document from a file rather than use the one that was passed to it. Same result. Does anyone know if there is some configuration that needs to be done to get this to work from a uvcs session ? Gerry --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] UD UniDebugger
One of the things we have to watch out for is the inherit setting for subdirectory rights. You may have the right permissions for MyApp but the Dta and BP directories may have different security settings. Then there's the security settings for the file/program itself. BobW -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bill Haskett Sent: Tuesday, April 04, 2006 6:16 PM To: u2-users@listserver.u2ug.org Subject: [U2] UD UniDebugger Speaking of UniDebugger, how does one go about updating a UniData file on another server? I have UD 7.1 running on a Win 2K3 server. The permissions on this server allow Administrators complete control and the UniData group complete control. The group of accounts I want access to is located in E:\MyApp\. I've shared this directory as MyApp then in UniDebugger I open the BP file in \\AsiDev\MyApp\Dta\BP then select a program. When I try to update the program I get a message that I don't have permissions. What permissions should I give to E:\MyApp so that UniDebugger can update these programs? Any help would be appreciated. :-) Bill Haskett Advantos Systems, Inc. www.advantos.net (760)944-5570 (CA) (360)923-4838 (WA) --- 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] [UV]write failure question
Universe Version 10.1.12 Unix SunOS 5.8 We have the following statement in a basic program... WRITE REC ON FLX,ID ON ERROR ERROR.NUMBER = STATUS() Blah. END ELSE *This code got executed... ERROR.NUMBER = STATUS() Blah. END It was the ELSE clause that actually got executed. We have different verbiage in the ON ERROR and ELSE clauses so that we can differentiate between the two. FLX is a file variable referencing a Type 30 file. The error number that came back was 137. Is there an include file or a header file somewhere that would tell me what an error 137 means? One other thing to note is that the error occurred after stalling for ~20 minutes. The program that was executing normally completes within a few minutes. Our log files show where the process started, and then ~20 minutes later is when we logged the write failure. As always, thanks for the assistance! Thanks, Donnie Jacobs (210)-403-8742 --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Newest UV UniDebugger
I've only recently tried using the UniDebugger. The terminal display window is so tiny, I can't read any messages it outputs. It'd be nice to be able to change the font size for that window. If that's an option right now, I sure couldn't find it. Bob Little UniVerse Developer Market America, Inc. (336) 478-1694 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nick Cipollina Sent: Wednesday, April 05, 2006 8:33 AM To: Kate Stanton; Bob Woodward; U2-Users List Subject: RE: [U2] Newest UV UniDebugger I'd settle for the debugger working all the time. Thanks, Nick Cipollina -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kate Stanton Sent: Tuesday, April 04, 2006 9:50 PM To: Bob Woodward; U2-Users List Subject: Re: [U2] Newest UV UniDebugger Hear, hear! When you do Ctl-F to find a word you have highlighted, it no longer defaults to look for that word. You now have to highlight, Ctl-C, Ctl-F, Ctl-V to do the same thing. Same for Ctl-H to replace. Change in behaviour of HOME key is driving one of our people mad, too. Only enhancement we can see is list of labels from Edit menu (or Ctl-F12). No use to us, as we use numeric labels in small programs. What we would like to se is many, many more programs shown in the Windows list, with the ability to sort them. Cheers, Kate - Original Message - From: Bob Woodward [EMAIL PROTECTED] To: U2-Users List u2-users@listserver.u2ug.org Sent: Wednesday, April 05, 2006 5:15 AM Subject: RE: [U2] Newest UV UniDebugger As a follow-up to this posting, I'd recommend to everyone NOT to install the version 10.1b client utilities. Stick with the 10.1a. The README says that it's primarily an update to IBM standards in appearance. It's a BIG mistake as far as I'm concerned. The biggest problem is that when a session is minimized, the UniDebugger AND Dynamic Connect look identical and I've not been able to find a way to change it. Also, if you try to have the two versions co-exist, they don't. Then there's the problem of two different formats for the UniDebugger workspace files with no way to convert. Bottom line is you gain nothing in features or bug fixes, and the IBM standard appearance Well, let's just say I'm glad the car companies don't do the same thing. You wouldn't be able to tell the difference between trucks, cars, vans, or SUV's. BobW -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bob Woodward Sent: Friday, March 31, 2006 8:55 AM To: U2-Users List Subject: [U2] Newest UV UniDebugger Hi Folks, I've just downloaded and installed the newest utilities for Universe, v101b-clients-7149, from the IBM site. They seem to have made a number of changes and it seems like one is the format of the workspace file in the UniDebugger program. Does anyone know if there is a converter between the v101a version to the v101b version? I've got a number of different work spaces with a number of different programs I keep in them and it's going to be ROYAL pain in the butt to have to re-open all of them. I'm not too wild about the change in the icon's, either, since the Dynamic Connect icon and the UniDebugger icon are the same in the task bar. There's not an easy way to change it, either, without hacking a file association entry. Thanks, BobW --- 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] Newest UV UniDebugger
That's easy. In the view menu select 3 for Host. You can also close the other windows (session is the host screen). Finally, just drag the window edges (of the session window) to make it larger Hth Colin Alfke Calgary Canada P.S. I hope this isn't one of the really easy ones that gets 40 responses after I send this -Original Message- From: Bob Little I've only recently tried using the UniDebugger. The terminal display window is so tiny, I can't read any messages it outputs. It'd be nice to be able to change the font size for that window. If that's an option right now, I sure couldn't find it. Bob Little --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] [UV]write failure question
STATUS()=137 I'm not sure about. It's not in SYS.MESSAGES. Or ERRMSG, for that matter. It's always 137? The 20 minute wait makes me think it is a lock problem. How about this: - You are attempting top write without first EXPLICITLY locking the record. - Another user is holding a lock on that record. - Behind the scenes, the WIRTE statement implicitly attempts to lock the record before actually writing it. - It tries for 20 minutes, then errors out. The 20 minutes is hardcoded. - Fix: explicitly lock the record first (via READU, READVU, RECORDLOCK, FILELOCK) and include a LOCKED clause to handle the case where you can't get it. If anyone has a different explanation, I'd like to know. We have a case where the programmer cannot figure out and will not believe that he does not own the lock when he executes the WRITE. But this is the only explanation I know. In my case the error numbe that shows up in uv/errlog is 040019. From: Donnie Jacobs Sent: Wednesday, April 05, 2006 8:46 AM Universe Version 10.1.12 Unix SunOS 5.8 WRITE REC ON FLX,ID ON ERROR ERROR.NUMBER = STATUS() Blah. END ELSE *This code got executed... ERROR.NUMBER = STATUS() Blah. END It was the ELSE clause that actually got executed. We have different verbiage in the ON ERROR and ELSE clauses so that we can differentiate between the two. FLX is a file variable referencing a Type 30 file. The error number that came back was 137. Is there an include file or a header file somewhere that would tell me what an error 137 means? One other thing to note is that the error occurred after stalling for ~20 minutes. The program that was executing normally completes within a few minutes. Our log files show where the process started, and then ~20 minutes later is when we logged the write failure. As always, thanks for the assistance! --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] [UV]write failure question
STATUS()=137 I'm not sure about. It's not in SYS.MESSAGES. Error numbers 0- are operating system errors. 1+ are found in SYS.MESSAGES. So have to find out 137 from : Unix SunOS 5.8 cds --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] UD UniDebugger
Bob Colin: I checked the permissions and they are all propagated down through the subdirectories and files. Only server Administrators and the UniData group have control over everything under the MyApp shared directory, nothing else. When I open a file I'm given a choice of how the file is opened: 1) Disk, 2) Ftp, and 3) UniObjects. I've been trying Disk but it appears I can't update these files because I've set them up so only server administrators and UniData group users can modify the files. From my workstation, I can view the files, just not change them. When I try access via UniObjects, I'm asked to provide my server user name and password (credentials). Upon entering these server credentials I can update the files. So, it appears when I connect to the shared directory on the server, using my workstation's Windows Explorer (or anywhere else for that matter), I'm using the SYSTEM windows user that I've explicitly removed from access to these directories. Therefore, when securing the directories, UniDebugger should only be used with UniObjects where the server's credentials can be entered and used...unless, of course, anyone else knows of a valid, secure, user/group that I can add to the list of authorized users of the MyApp directory to make the Disk option work. :-) Thanks. Bill -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, April 04, 2006 10:52 PM To: u2-users@listserver.u2ug.org Subject: RE: [U2] UD UniDebugger Bill; Which read/write type are you using when you open the file? If you use disk then it uses standard windows permissions (i.e.. if you can update the program in notepad you can update it in UniDebugger). I have mapped drive letters - but I wouldn't think it would be any different. I've never gone through the hassle of setting up ftp to work on a windows host. But I have used it on an Aix host. Standard ftp... Lastly is UniObjects. I've gotten it to work - just to make sure I could. The only benefit I saw was having the program actually locked at the UniData level - never found it worth the trouble. Using straight disk is so much easier. What type of permissions/security do you have on the share? What if you use the full unc path? What if you map a drive? You're not doing something silly like logging in as someone who isn't a member of the admin or UniData group? Was the user recently added to the group? Sometimes it takes a while to take effect. hth Colin Alfke Calgary Canada From: Bill Haskett Speaking of UniDebugger, how does one go about updating a UniData file on another server? I have UD 7.1 running on a Win 2K3 server. The permissions on this server allow Administrators complete control and the UniData group complete control. The group of accounts I want access to is located in E:\MyApp\. I've shared this directory as MyApp then in UniDebugger I open the BP file in \\AsiDev\MyApp\Dta\BP then select a program. When I try to update the program I get a message that I don't have permissions. What permissions should I give to E:\MyApp so that UniDebugger can update these programs? Any help would be appreciated. :-) Bill Haskett --- 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] Newest UV UniDebugger
Does anyone else have trouble with the debugger? I'll set a break point in a program, and the debugger will blow right by it sometimes. It can be very frustrating. Thanks, Nick Cipollina -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, April 05, 2006 12:37 PM To: u2-users@listserver.u2ug.org Subject: RE: [U2] Newest UV UniDebugger That's easy. In the view menu select 3 for Host. You can also close the other windows (session is the host screen). Finally, just drag the window edges (of the session window) to make it larger Hth Colin Alfke Calgary Canada P.S. I hope this isn't one of the really easy ones that gets 40 responses after I send this -Original Message- From: Bob Little I've only recently tried using the UniDebugger. The terminal display window is so tiny, I can't read any messages it outputs. It'd be nice to be able to change the font size for that window. If that's an option right now, I sure couldn't find it. Bob Little --- 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] Newest UV UniDebugger
I don't have a problem with it going past a breakpoint. I have had trouble with it not realizing the debugging is done. The reset option under the debug menu appears to be there to fix the issue - but it doesn't seem to work. Hth Colin Alfke Calgary Canada -Original Message- From: Nick Cipollina Does anyone else have trouble with the debugger? I'll set a break point in a program, and the debugger will blow right by it sometimes. It can be very frustrating. Thanks, Nick Cipollina --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Newest UV UniDebugger
I have the same issue. I am a newbie, so I assumed I did not know how to use it properly. I find this especially true when the breakpoint or request to stop when a variable changes is in a called subroutine. I believe I did have the called subroutine as active, but it would not stop at all when the variable changed. I have read the available help and could not get past that. It also does not know the program is complete. It simply goes into some black hole. The whole situation made me uneasy and I could not find any help, so I use RAID which is what others here use. I would much prefer to use Unidebugger. I would love an online class session on this. Thanks, Leslie Chamberlin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nick Cipollina Sent: Wednesday, April 05, 2006 1:12 PM To: [EMAIL PROTECTED]; u2-users@listserver.u2ug.org Subject: RE: [U2] Newest UV UniDebugger Does anyone else have trouble with the debugger? I'll set a break point in a program, and the debugger will blow right by it sometimes. It can be very frustrating. Thanks, Nick Cipollina -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, April 05, 2006 12:37 PM To: u2-users@listserver.u2ug.org Subject: RE: [U2] Newest UV UniDebugger That's easy. In the view menu select 3 for Host. You can also close the other windows (session is the host screen). Finally, just drag the window edges (of the session window) to make it larger Hth Colin Alfke Calgary Canada P.S. I hope this isn't one of the really easy ones that gets 40 responses after I send this -Original Message- From: Bob Little I've only recently tried using the UniDebugger. The terminal display window is so tiny, I can't read any messages it outputs. It'd be nice to be able to change the font size for that window. If that's an option right now, I sure couldn't find it. Bob Little --- 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] Newest UV UniDebugger
Hi Nick, This has been a problem for awhile. I think it has to do with when you set the breakpoint. If you make any changes to the program that moves the lines of code, it loses it's position relative to the source code. Think of the source code file as an overhead projector document. Add a transparency on top of the document and mark specific points. Then modify the underlying document so that it moves sentences and paragraphs. The transparency is no longer valid to the points you think but are. You could also think of it as relative vs. absolute address in a spreadsheet. Breakpoints would be an absolute address reference regardless of the data at that location. Change the meaning of the data at that address and you no longer get the action you want. What I do to work with this is clear all the breakpoints when I recompile the program I'm working on and reset them. HTH's, BobW -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nick Cipollina Sent: Wednesday, April 05, 2006 11:12 AM To: [EMAIL PROTECTED]; u2-users@listserver.u2ug.org Subject: RE: [U2] Newest UV UniDebugger Does anyone else have trouble with the debugger? I'll set a break point in a program, and the debugger will blow right by it sometimes. It can be very frustrating. Thanks, Nick Cipollina -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, April 05, 2006 12:37 PM To: u2-users@listserver.u2ug.org Subject: RE: [U2] Newest UV UniDebugger That's easy. In the view menu select 3 for Host. You can also close the other windows (session is the host screen). Finally, just drag the window edges (of the session window) to make it larger Hth Colin Alfke Calgary Canada P.S. I hope this isn't one of the really easy ones that gets 40 responses after I send this -Original Message- From: Bob Little I've only recently tried using the UniDebugger. The terminal display window is so tiny, I can't read any messages it outputs. It'd be nice to be able to change the font size for that window. If that's an option right now, I sure couldn't find it. Bob Little --- 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] Newest UV UniDebugger
I'm referring to when I set a breakpoint on a variable. I've also noticed that if you have a breakpoint set on a line, and you hit a subroutine before the breakpoint. It will blow right by that too. Thanks, Nick Cipollina -Original Message- From: leslie chamberlin [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 05, 2006 2:59 PM To: Nick Cipollina; [EMAIL PROTECTED]; u2-users@listserver.u2ug.org Subject: RE: [U2] Newest UV UniDebugger I have the same issue. I am a newbie, so I assumed I did not know how to use it properly. I find this especially true when the breakpoint or request to stop when a variable changes is in a called subroutine. I believe I did have the called subroutine as active, but it would not stop at all when the variable changed. I have read the available help and could not get past that. It also does not know the program is complete. It simply goes into some black hole. The whole situation made me uneasy and I could not find any help, so I use RAID which is what others here use. I would much prefer to use Unidebugger. I would love an online class session on this. Thanks, Leslie Chamberlin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nick Cipollina Sent: Wednesday, April 05, 2006 1:12 PM To: [EMAIL PROTECTED]; u2-users@listserver.u2ug.org Subject: RE: [U2] Newest UV UniDebugger Does anyone else have trouble with the debugger? I'll set a break point in a program, and the debugger will blow right by it sometimes. It can be very frustrating. Thanks, Nick Cipollina -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, April 05, 2006 12:37 PM To: u2-users@listserver.u2ug.org Subject: RE: [U2] Newest UV UniDebugger That's easy. In the view menu select 3 for Host. You can also close the other windows (session is the host screen). Finally, just drag the window edges (of the session window) to make it larger Hth Colin Alfke Calgary Canada P.S. I hope this isn't one of the really easy ones that gets 40 responses after I send this -Original Message- From: Bob Little I've only recently tried using the UniDebugger. The terminal display window is so tiny, I can't read any messages it outputs. It'd be nice to be able to change the font size for that window. If that's an option right now, I sure couldn't find it. Bob Little --- 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] Newest UV UniDebugger
I've had the same problem with both setting the breakpoint and setting a watch. -Original Message- From: Nick Cipollina [mailto:[EMAIL PROTECTED] I'm referring to when I set a breakpoint on a variable. I've also noticed that if you have a breakpoint set on a line, and you hit a subroutine before the breakpoint. It will blow right by that too. Thanks, Nick Cipollina --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
[U2] [UV] mapped file pointers
Does anyone know how to create a UV file pointer on a Windows machine to a mapped drive? For example, I have a file V:\temp\THIS.FILE that I want to point to and V is mapped to another server. Thanks! -Dianne --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] [UV] mapped file pointers
As long as the mapping is on the UV server and not on your workstation, you can manually create a VOC entry. On line 1 put an F. Line 2 is where you would put V:\temp\THIS.FILE. On line 3, you'll need to put some kind of dictionary. Lot's of times, I'd just use D_VOC but that's up to you. BobW -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dianne Ackerman Sent: Wednesday, April 05, 2006 12:49 PM To: U2 List Server Subject: [U2] [UV] mapped file pointers Does anyone know how to create a UV file pointer on a Windows machine to a mapped drive? For example, I have a file V:\temp\THIS.FILE that I want to point to and V is mapped to another server. Thanks! -Dianne --- 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] Newest UV UniDebugger
I use the UniDebugger almost exclusively for all my programming. The only time I've had a problem with it not finishing is if I get into a program that is either looping or waiting for some kind of input. You can usually see which program you're in by looking at the Call Stack pane (Alt-4). This is probably only going to help if you're stepping through the programs, though. If you hit F5 for GO, though, you're going to lose the detail line by line execution display. Reset does cause an interrupt to be sent so that is a brute-force method of getting out of trouble. Another thing to keep in mind is the number of variables you're watching. The more there are the longer it takes to execute the step from line to line. HTH's, BobW -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, April 05, 2006 11:18 AM To: u2-users@listserver.u2ug.org Cc: [EMAIL PROTECTED] Subject: RE: [U2] Newest UV UniDebugger I don't have a problem with it going past a breakpoint. I have had trouble with it not realizing the debugging is done. The reset option under the debug menu appears to be there to fix the issue - but it doesn't seem to work. Hth Colin Alfke Calgary Canada --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] More XML [Universe]
Thanks John - anything you can dig up would be greatly appreciated. If you can point me in the direction of where look for this info that would be good as well. -Original Message- From: John Jenkins [mailto:[EMAIL PROTECTED] Sent: April 5, 2006 16:50 To: gerry-u2ug Subject: RE: [U2] More XML [Universe] Rings a bell - something to do with environment variables I think ..(maybe) I'll take a shufti JayJay -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of gerry-u2ug Sent: 05 April 2006 13:47 To: u2-users@listserver.u2ug.org Subject: [U2] More XML [Universe] I have a subroutine that accepts an xml document and processes it using the XDOM/XMAP routines When this routine is called from an interactive user session or from a phantom process it works. But if the routine is called from UniObjects session ( @TTY=uvcs ) XDOMOpen returns XML.ERROR Calling XMLGetError returns an error code of -1 and a blank error message. Just to be sure that this wasn't a data error, I forced the routine to load the xml document from a file rather than use the one that was passed to it. Same result. Does anyone know if there is some configuration that needs to be done to get this to work from a uvcs session ? Gerry --- 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] [UV]write failure question
What was the value of ID (include any non-printing characters)? --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] [UV] mapped file pointers
You may need to set the ALLOWNFS tuneable parameter in uvconfig to 1. Otherwise you ought not to have any problems. If UniVerse is also running on the machine from which V: is mapped, a more robust solution would be to use UV/Net. In that case, the F pointer in VOC has the form hostname!pathname. This allows a UV/Net process to manage locks in memory on the machine where the actual physical record is stored. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
[U2] [UD] phantom processing
I'm trying to start up an application service as a phantom. In D3 I was able to put the phantom startup in the system-coldstart process that guaranteed it started when D3 was started. I also created a menu item so clients could start and stop the service on their own if they so desired. I've been testing this in UniData and have set the LOGIN paragraph like: ** Test for phantom processing IF @TTY = 'PHANTOM' THEN GO LOGIN.END: IF @TTY = 'phantom' THEN GO LOGIN.END: * ** Test for UniObjects processing IF @TTY = 'udcs' THEN GO LOGIN.END: . . ** Now bring up the application main menu APP.START * *** LOGIN.END: *** When I connect, and login, via UniAdmin (udcs) the application start process is skipped (I believe). But when I try to start a phantom the application start process is run. Does someone know why? Secondly, how can I start the phantom when UniData is started? My last question is where can I start runtime-error logs? The event logging in UniAdmin seems to refer me to the RFS logging and I haven't found out where logging is set up in the Documentation. Any help would be greatly appreciated. :-) Bill Haskett Advantos Systems, Inc. www.advantos.net (760)944-5570 (CA) (360)923-4838 (WA) --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Newest UV UniDebugger
Bob, You can make the Session window bigger (and therefore the font bigger) by grabbing the left edge with the mouse and dragging it to the left. -Original Message- From: Bob Little [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 05, 2006 8:56 AM To: Nick Cipollina; Kate Stanton; Bob Woodward; U2-Users List Subject: RE: [U2] Newest UV UniDebugger I've only recently tried using the UniDebugger. The terminal display window is so tiny, I can't read any messages it outputs. It'd be nice to be able to change the font size for that window. If that's an option right now, I sure couldn't find it. Bob Little UniVerse Developer Market America, Inc. (336) 478-1694 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nick Cipollina Sent: Wednesday, April 05, 2006 8:33 AM To: Kate Stanton; Bob Woodward; U2-Users List Subject: RE: [U2] Newest UV UniDebugger I'd settle for the debugger working all the time. Thanks, Nick Cipollina -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kate Stanton Sent: Tuesday, April 04, 2006 9:50 PM To: Bob Woodward; U2-Users List Subject: Re: [U2] Newest UV UniDebugger Hear, hear! When you do Ctl-F to find a word you have highlighted, it no longer defaults to look for that word. You now have to highlight, Ctl-C, Ctl-F, Ctl-V to do the same thing. Same for Ctl-H to replace. Change in behaviour of HOME key is driving one of our people mad, too. Only enhancement we can see is list of labels from Edit menu (or Ctl-F12). No use to us, as we use numeric labels in small programs. What we would like to se is many, many more programs shown in the Windows list, with the ability to sort them. Cheers, Kate - Original Message - From: Bob Woodward [EMAIL PROTECTED] To: U2-Users List u2-users@listserver.u2ug.org Sent: Wednesday, April 05, 2006 5:15 AM Subject: RE: [U2] Newest UV UniDebugger As a follow-up to this posting, I'd recommend to everyone NOT to install the version 10.1b client utilities. Stick with the 10.1a. The README says that it's primarily an update to IBM standards in appearance. It's a BIG mistake as far as I'm concerned. The biggest problem is that when a session is minimized, the UniDebugger AND Dynamic Connect look identical and I've not been able to find a way to change it. Also, if you try to have the two versions co-exist, they don't. Then there's the problem of two different formats for the UniDebugger workspace files with no way to convert. Bottom line is you gain nothing in features or bug fixes, and the IBM standard appearance Well, let's just say I'm glad the car companies don't do the same thing. You wouldn't be able to tell the difference between trucks, cars, vans, or SUV's. BobW -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bob Woodward Sent: Friday, March 31, 2006 8:55 AM To: U2-Users List Subject: [U2] Newest UV UniDebugger Hi Folks, I've just downloaded and installed the newest utilities for Universe, v101b-clients-7149, from the IBM site. They seem to have made a number of changes and it seems like one is the format of the workspace file in the UniDebugger program. Does anyone know if there is a converter between the v101a version to the v101b version? I've got a number of different work spaces with a number of different programs I keep in them and it's going to be ROYAL pain in the butt to have to re-open all of them. I'm not too wild about the change in the icon's, either, since the Dynamic Connect icon and the UniDebugger icon are the same in the task bar. There's not an easy way to change it, either, without hacking a file association entry. Thanks, BobW --- 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/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] [UD] phantom processing
Billm When I connect, and login, via UniAdmin (udcs) the application start process is skipped (I believe). But when I try to start a phantom the application start process is run. Does someone know why? AFAIK the correct way to test if the process is a phantom in the login is IF @USER.TYPE=1 THEN GO PHAN: Secondly, how can I start the phantom when UniData is started? On Unix/Linux I have modded the startud/stopud script in $UDTBIN but of course I will have to redo after each upgrade. It would be nice if the startud/stopud scripts provided an options for us to specify any scripts we wanted to run after startup/before shutdown (e.g. startud -x myscript.sh or stopud -x myscript.sh). No idea on windows I'm afraid but if there is a BAT that starts and stops you could modify that. Regards, Adrian Auckland, NZ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
[U2][UD] Logout/Logoff/? Udtno/Pid
UD Ver 7.1.0 PE on Win 2000 Server: I have been unable to find a way to logoff/logout/otherwise disconnect a process running on another Udtno/Pid, including both foreground and background (phantom) processes. Any suggestions will be much appreciated. Thanks, Dave Dave Taylor President Sysmark Information Systems, Inc. 49 Aspen Way Rolling Hills Estates, CA 90274 800-SYSMARK (800-797-6275) (O) 310-544-1974 (C) 310-561-5200 (P) 800-339-1497 (F) 310-377-3550 Your Source for Integrated EDI Translation and DataSync Integration www.sysmarkinfo.com --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
[U2][UD] Ctrl-Break Key(s)?
UD 7.1.0 PE on Win 2000 Server The Env_Var INIT_BREAKOFF is not set UDT.OPTIONS 28 and 35 are ON (I get the same results when they are OFF) ECLTYPE = P BASICTYPE = P PTERM -BREAK ON has been executed PTERM -DISPLAY shows BREAK ON Still, Ctrl-Break and Break keys do not break out of a program. What am I missing? Thanks, Dave Dave Taylor President Sysmark Information Systems, Inc. 49 Aspen Way Rolling Hills Estates, CA 90274 800-SYSMARK (800-797-6275) (O) 310-544-1974 (C) 310-561-5200 (P) 800-339-1497 (F) 310-377-3550 Your Source for Integrated EDI Translation and DataSync Integration www.sysmarkinfo.com --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] Newest UV UniDebugger
Yeah - Colin pointed that out. You'd think I might have tried that grab and resize thingy too, wouldn't ya? I did in fact undock the host window in hopes it would reveal it's own menu, but it didn't and I said well I'll be darned! and redocked it. I hung my head in shame for several minutes upon finding that one out. :) At the risk of pointing out further bone-headedness on my part, can you step into a called subroutine that is not in the current source file? Also - can one remap the function keys? Eric Armstrong wrote: Bob, You can make the Session window bigger (and therefore the font bigger) by grabbing the left edge with the mouse and dragging it to the left. -Original Message- From: Bob Little [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 05, 2006 8:56 AM To: Nick Cipollina; Kate Stanton; Bob Woodward; U2-Users List Subject: RE: [U2] Newest UV UniDebugger I've only recently tried using the UniDebugger. The terminal display window is so tiny, I can't read any messages it outputs. It'd be nice to be able to change the font size for that window. If that's an option right now, I sure couldn't find it. Bob Little UniVerse Developer Market America, Inc. (336) 478-1694 --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2][UD] Logout/Logoff/? Udtno/Pid
Dave: Try this: ! ** Log off another line for UniData ** (C) Copyright 1985-2004, Advantos Systems, Inc. All Rights Reserved. ! ** Last Modified: 16 Mar 2006, wph ** First Created: 16 Mar 2006, wph ** Program Type-: Utility ! ** Notes: ** ** This process is designed to log off another UniData process (or ** port). It is necessary to logoff the user number as specified in ** the LISTUSER command. The syntax is: ** ** LISTUSER {USRNBR} ** ** If the user number isn't specified then the LISTUSER command is ** executed and one has the choice of entering the user number. ** **---** ** ** **I N I T I A L I Z A T I O N** ** ** **---** * ** Initialize local variables NULL$ = '' AM = @AM VM = @VM SP1= ' ' BadNos = NULL$ ** parse tcl sentence to get BASIC commands TclLine = @SENTENCE ** remove the command from the line and check if we need help TclLine = OCONV(TRIM(TclLine), 'G1 999') IF TclLine = '?' THEN GOTO DISPLAY.HELP ** convert spaces to VMs UserNos = CONVERT(SP1, VM, TclLine) * **---** ** ** ** S T A R T P R O G R A M R U N ** ** ** **---** * ** test if we need to enter the user numbers IF UserNos = NULL$ THEN EXECUTE \LISTUSER\ CRT CRT Enter numbers from the USRNBR column separated by spaces: INPUT UserNos ; UserNos = OCONV(TRIM(UserNos), 'MCU') IF UserNos[1,1] = 'E' THEN GOTO END.OF.PROGRAM IF UserNos[1,1] = 'X' THEN GOTO END.OF.PROGRAM IF UserNos[1,1] = 'Q' THEN GOTO END.OF.PROGRAM UserNos = CONVERT(SP1, VM, UserNos) END ** log off the selected user numbers xHigh = DCOUNT(UserNos, VM) FOR X = 1 TO xHigh UserNo = UserNos1,X PCPERFORM \stopudt \ : UserNo IF @SYSTEM.RETURN.CODE THEN BadNos := UserNo : SP1 NEXT X * GOTO END.OF.PROGRAM * **** **** ** S U B R O U T I N E S ** **** **** * ** Help display *** DISPLAY.HELP: *** * CRT CRT Utility to log off UniData processes. This command is similar to CRT the PICK command 'LOGOFF {PortNo}'. If the User# isn't supplied CRT then the 'LISTUSER' command is executed and the user has the option CRT of selecting a listed USRNBR. CRT CRT Syntax: CRT LOGOFF {UserNbr UserNbr ...} CRT CRT Example: CRT LOGOFF 3275 CRT CRT The user# 3275 is logged off. CRT STOP * **** **** ** E N D O F P R O G R A M ** **** **** * *** END.OF.PROGRAM: *** * IF BadNos NE NULL$ THEN CRT CRT The following items were not logged off: CRT TRIM(BadNos) END END Bill Haskett Advantos Systems, Inc. www.advantos.net (760)944-5570 (CA) (360)923-4838 (WA) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Taylor Sent: Wednesday, April 05, 2006 6:13 PM To: u2-users@listserver.u2ug.org Subject: [U2][UD] Logout/Logoff/? Udtno/Pid UD Ver 7.1.0 PE on Win 2000 Server: I have been unable to find a way to logoff/logout/otherwise disconnect a process running on another Udtno/Pid, including both foreground and background (phantom) processes. Any suggestions will be much appreciated. Thanks, Dave Dave Taylor --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2][UD] Logout/Logoff/? Udtno/Pid
deleteuser and stopudt PID from the command line. (ie. !deleteuser 4567). You must be a member of the administrators group to use deleteuser. stopudt will allow you to stop your own processes if you are not a member of the admin group - but you can't stop other users. list.queue and list.readu [detail] were a couple of other commands that we had trouble finding when we moved to UD. (list-lockq and list-locks (i). hth Colin Alfke Calgary Canada From: Dave Taylor I have been unable to find a way to logoff/logout/otherwise disconnect a process running on another Udtno/Pid, including both foreground and background (phantom) processes. Any suggestions will be much appreciated. Thanks, Dave --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2][UD] Ctrl-Break Key(s)?
We find ctrl+c usually works. Haven't spent enough time to determine the pattern for when it doesn't though. hth Colin Alfke Calgary Canada From: Dave Taylor UD 7.1.0 PE on Win 2000 Server The Env_Var INIT_BREAKOFF is not set UDT.OPTIONS 28 and 35 are ON (I get the same results when they are OFF) ECLTYPE = P BASICTYPE = P PTERM -BREAK ON has been executed PTERM -DISPLAY shows BREAK ON Still, Ctrl-Break and Break keys do not break out of a program. What am I missing? Thanks, Dave --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/