RE: [U2] D Debugger

2006-09-07 Thread Brian Leach
Mark Try checking your PTERM settings to make sure your break key isn't assigned to the susp or quit actions instead. Also, did you log directly into that account, or did you LOGTO from somewhere else? AFAIR the settings are read when you first log into UniVerse and remain in force for your

RE: [U2] Using DICT items in basic program

2006-09-03 Thread Brian Leach
Tim/Mark You both make good points. Mark was responding to a specific requirement (how to get a single field for a single record) with one working and largely cross platform solution. Obviously getting a tranch of data requires a different solution. I don't think Mark was seriously suggesting

RE: [U2] Using DICT items in basic program

2006-08-31 Thread Brian Leach
a field value from the dictionary * Author : Brian Leach * Project : STD * Module : GENERAL *-- Value = Open DICT, FileName To DFL Else RETURN End Read DictRec From DFL, FieldName

RE: [U2] Connection pooling with UniObjects for Java

2006-08-08 Thread Brian Leach
Steven I know some members of this list have done so (there being no other options), but it is legally dubious (we had a long discussion on this some months ago). If you can wait a couple of months, UniVerse 10.2 will be addressing this by supporting a native connection pool with shared

RE: [U2] Input Mask

2006-08-08 Thread Brian Leach
Allen Looks good :) On UniVerse the equivalent is the KeyIn() function to get a single raw key. So Seq(KeyIn()) will do the same as your IN CH.VAL Brian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Allen E. Elwood Sent: 08 August 2006

RE: [U2] Win to Lin Universe migration

2006-08-05 Thread Brian Leach
Jason I notice no-one has replied to this. I'm not surprised... Please don't take this the wrong way, but the best advice would be - if you claim to know zero about UniVerse, unless it is a really tiny system with no users don't do this yourself. Replatforming an existing system is not a job I

RE: [U2] OT possibly - yet another browser difference

2006-08-04 Thread Brian Leach
2006 20:21 To: u2-users@listserver.u2ug.org Subject: RE: [U2] OT possibly - yet another browser difference Brian Leach wrote: my recently updated shiny new website renders differently in IE7 than it did in IE6. ... So those of you running RedBack using floating sections might want

RE: [U2] UniObjects .net

2006-08-04 Thread Brian Leach
Bob The timeout value is set in the unirpcservices file, a text file located in the UniShared directory on the server (location depends on your version of U2). Look for the lines beginning uvcs, udcs and defcs. (You may not have all three). The last column is the timeout value in 1/10th seconds:

[U2] OT possibly - yet another browser difference

2006-08-03 Thread Brian Leach
All I've been playing with Vista and amongst the other annoyances (security, sharing, inability to recognize my USB keys, lack of support for my hp printer etc) discovered that my recently updated shiny new website renders differently in IE7 than it did in IE6. Specifically IE7seems to handle

RE: [U2] Replication Between Unidata and MySQL

2006-07-31 Thread Brian Leach
Kevin I'd go for a 'keep it simple' approach. First, create three data files on UniData: SYNC_TARGETS, SYNC_ACTIONS and SYNC_ERRORS. - The SYNC_TARGETS defines a table or entity to update, including insert and delete commands (Update=delete+insert) and a list of column positions to substitute.

RE: [U2] LISTB (tab delimited output)

2006-07-27 Thread Brian Leach
Dave No, but you might want to download a free utility from my web site to do the same. Go to http://www.brianleach.co.uk and download EXPORT from the Downloads page. This is a stand-alone program with a RetrieVe like syntax for generating delimited files. Regards, Brian -Original

RE: [U2] LISTB (tab delimited output)

2006-07-27 Thread Brian Leach
: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave S Sent: 27 July 2006 14:58 To: u2-users@listserver.u2ug.org Subject: RE: [U2] LISTB (tab delimited output) Will the program run only in Universe ?Dave Brian Leach [EMAIL PROTECTED] wrote: Dave No, but you might want

RE: [U2] device licensing question ...

2006-07-27 Thread Brian Leach
The tell-tale is to run lictool. The UO.net sessions have the IP address reversed, and so appear as different licences. That hit me bad when I put in a new .net application at a customer site to run alongside their existing uvCase/UniObjects app. Regards Brian -Original Message-

RE: [U2] device licensing question ...

2006-07-27 Thread Brian Leach
. If the ip is reversed as you say then that would explain it. - would this not be a UO.net bug Thanks Symeon. On 27/07/06, Brian Leach [EMAIL PROTECTED] wrote: The tell-tale is to run lictool. The UO.net sessions have the IP address reversed, and so appear as different licences

RE: [U2] Select Lists in Proverb

2006-07-20 Thread Brian Leach
Carl Two more options: 1. Use the IF S construct. This returns true if a select is active, e.g. PQN MV #1 SELECT stuff P IF S GO 10 C goes here if no stuff X NO SELECT 10 2. Use the REQUIRE.SELECT clause when processing the second command, e.g. SSELECT OW WITH blah REQUIRE.SELECT Brian

RE: [U2] asymmetric encyption

2006-07-14 Thread Brian Leach
Lukasz Not sure if this helps, but.. I've handled secure FTP of encrypted documents by shelling out to the gnu gpg package. This is a usefully command line based tool for handling PGP compatible encryption/decryption. To automate it, you need to ensure you strip the keyphrase from the key, or it

RE: [U2] UODOTNET.DLL

2006-07-13 Thread Brian Leach
Jacques Is there any chance you are passing a null reference to/from the call? I've seen various errors if one of the subroutine arguments is never assigned. Brian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jacques G. Sent: 13 July 2006 16:53

RE: [U2] UODOTNET.DLL

2006-07-12 Thread Brian Leach
You just need to add UODOTNET.dll into the GAC on each workstation/system that uses UniObjects.NET. I'm not sure why IBM don't do this as part of their SDK install... I guess because using GAC is a pain in the backside if you want to use one-click publishing

RE: [U2] Universe/NT Rel. 10.0.10: How to run a program written and compiled in one flavor in another flavor?

2006-07-10 Thread Brian Leach
Dave The program flavor and $OPTIONS statement dictate the way the program is compiled: determining the specific object code generated. Which means that the BASIC code itself will run the same, regardless of the flavor of the account in which is runs. What won't work the same, of course, are

Re: [U2][UV]How to start properly uv from cron ?

2006-07-06 Thread Brian Leach
There is also a bug in some 10.x releases that subroutines called from UO are considered 'background' and use an iPhantom if they open a socket. Can't recall when/if it was fixed. Brian -Original Message- From: Symeon Breen[EMAIL PROTECTED] Sent: 06/07/06 07:08:07 To:

RE: [U2] [ad] U2 Software Installer

2006-07-04 Thread Brian Leach
Or for anyone needing an installer/snapshot builder for their MultiValue applications, an alternative can be found at: http://www.brianleach.co.uk mvInstaller offers Windows and server based building and installation, and is designed to fit into existing release procedures. Brian ---

RE: [U2] [ad] U2 Software Installer

2006-07-04 Thread Brian Leach
Or for anyone needing an installer/snapshot builder for their MultiValue applications, an alternative can be found at: http://www.brianleach.co.uk mvInstaller offers Windows and server based building and installation, and is designed to fit into existing release procedures. Brian ---

RE: [U2][UV]Universe NT on Microsoft Virtual Server

2006-07-03 Thread Brian Leach
Manu Similarly to Tony, I use Virtual PC all the time for development, testing and backups. It has proven stable and very capable, but I would second the warning about dynamic disks: they are not for production use, and need regular maintenance. I haven't seen anyone running Virtual Server with

RE: [U2] Barcode PCL Commands (link to code)

2006-06-29 Thread Brian Leach
George Can I ask you to write this up as a short article for the U2UG knowledge base. It's the kind of useful information we're looking for :) In case you haven't visited, you can find it at: www.mvopen.org/kb There's also a link from the U2UG website. Thanks, Brian -Original

RE: [U2] PDF Document [AD]

2006-06-28 Thread Brian Leach
Andrew Check out mvPDF at www.brianleach.co.uk This creates PDFs directly from U2 applications, using a number of potential routes: in order of complexity - - Capturing existing spool jobs and render as PDF (quick and simple) - Capture and render exisiting prints against watermark pages

RE: Re:[U2] [UV][uvodbc]where date_field = (subqueries)

2006-06-19 Thread Brian Leach
Manu Does it work if you submit it as a NATIVE command: {NATIVE SELECT ... } NATIVE passes the command directly throught to the UV SQL processor (bypasses ODBC processing). Generally quicker and can give access to more options. The braces are a required part of the syntax. Brian

RE: [U2] RE: VB6 UniObjects to VB.NET question

2006-06-15 Thread Brian Leach
The bad news, VB6 and VB.net are really different animals that just happen to share certain syntactic conventions and keywords. There is a hit-and-miss conversion utility, but really you are working with different paradigms. In fact, for historic reasons, VB.net is very much closer to Delphi ( a

RE: [U2] ICONV 'DW' [was:UniVerse Internal Date Blackout]

2006-06-13 Thread Brian Leach
Stuart Speaking of ICONV, anyone noticed that `DWx' conversions are fubar. Sorry to sound negative and apologies if I'm misunderstanding your gripe but.. How can you ICONV with a DW? Date conversions should ICONV to a specific date to be meaningful: if you want to convert a Monday -

RE: [U2] SETPTR MODE 1

2006-06-09 Thread Brian Leach
Chris, The shd files are not meant to be readable. To get the printer and job information you really need to go through the Windows APIs - but it's not as bad as that sounds grin. You can get printer and job information through the WMI library (search on MSDN for WMI Printer). WMI is a COM based

RE: [U2] SETPTR MODE 1

2006-06-09 Thread Brian Leach
setptr mode 3 and read the resulting item from HOLD? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Brian Leach Sent: Friday, June 09, 2006 3:01 AM To: u2-users@listserver.u2ug.org Subject: RE: [U2] SETPTR MODE 1 Chris, The shd files

RE: [U2] UniVerse Internal Date Blackout

2006-06-09 Thread Brian Leach
Hmm 14001 through 14365 are a valid julian dates (14001 = 1 Jan 2014) So it is reading these as external dates in your selection. 14000 is not a valid julian date, so it is reading it as internal. Just why are you trying to force selection using an internal date when you have a date conversion?

RE: [U2] FW: [UV] Change in behaviour of EXECUTE ... CAPTURING at 10.1.18 {Unclassified}

2006-06-08 Thread Brian Leach
Mike, I assume you've already tried it, but does a simple NOPAGE on the RetrieVe command work? Otherwise I guess XMLEXECUTE is probably the best bet, as that is likely to be the quickest to get fixed if there IS anything wrong! It is also a key part of the UO.net stuff, so there is a lot of

[U2] UDT Sequential File Length

2006-06-08 Thread Brian Leach
All, Is there a simple way of getting the size of a file opened sequentially under UniData short of actually reading though it in BASIC ? Something equivalent to using the Status statement on UniVerse? Must be OS neutral - no shelling out to ls or DIR I'm afraid. Thanks Brian ---

RE: [U2] IBM U2 UniData ODBC sample working program

2006-06-08 Thread Brian Leach
Angelo One of my friends at VMARK UK has unearthed a couple of IBM articles on setting up ODBC with UniData on UNIX: one for Merant and one for EasySoft. I'll forward these to you off-list. Brian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of

RE: [U2] [UV] XMLEXECUTE syntax {Unclassified}

2006-06-07 Thread Brian Leach
Mike/David GETXMLSUB does work : it is called (internally) from the UniXML UO.Net object as a globally cataloged program to get an XML data set. TIP: if you're trying to use UniXML and haven't got it to work, check that all the uv account BP programs with 'XML' in the name are globally cataloged!

RE: [U2][UV] Inhibiting Access to Debugger

2006-06-07 Thread Brian Leach
Perry There is a VOC entry INTR.KEY. This holds a list of characters representing the available actions. A = abort C = continue L = return to login Q = quit (logout) D = debug If you remove the D they should be unable to get into the debugger. AFAIR it is read on initial login to UV, so make

RE: [U2] Implementing LOCATE function in .NET

2006-06-01 Thread Brian Leach
Bhupendra Not the best or most elegant.net function I've ever written, but this might get you on the way.. Don't know if I've ever used it so you might want to test it first :) Should be self-explanatory anyway. Brian ---| copy here

RE: [U2] OK...Is there a way....UV

2006-05-26 Thread Brian Leach
George Hmmm, how are your IDs ordered? Just wondering whether something along these lines might work... SELECT ID TO SLIST 0 FROM YourFile WHERE ID = (SELECT MIN(ID)+1 FROM YourFile) ORDER BY ID; Brian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On

RE: [U2][UD] MVQ MVQuery -

2006-05-25 Thread Brian Leach
Brad If you are running PSE against multiple machines, each print job should have a unique server id prefixing it. This prevents them from overlapping. Check your ADGCONTROL MVQUERY.INI on each server has a setting under [PSE] called ServerID. This should be unique for each machine. Sorry I

Re: [U2] Help with non functional printer

2006-05-22 Thread Brian Leach
Louis GDI mode in UV is exactly that: it uses Windows device calls to render on the printer. These calls render text/graphics at a high/abstract level, leaving the specific implementation of e.g. Font handling to the device driver. The problem comes when you want to send sequences that are

RE: [U2] Accessing UV Data from Microsoft SSIS in SQL Server 2005

2006-05-20 Thread Brian Leach
Bill The VSG is for UniData only, and is used to enable a UniData account for ODBC. For UniVerse you don't have a VSG equivalent, but you do need good clean dictionaries (I recommend creating a clean set of dictionary files and connecting them to the live data files via file pointers), ensure

RE: [U2] php and udt

2006-05-16 Thread Brian Leach
Just a couple of thoughts: 1. AFAIR there is a module in PHP that can instantiate Java classes - I remember JayJay did an article on using PHP with RedBack that exposed RedBack Objects through Java. You might be able to do something similar using UOJ if you haven't got RedBack. 2. Alternatively,

[U2] RE:

2006-05-15 Thread Brian Leach
Dave You can try CLEAN.ACCOUNT to restore the pointers. And of course make sure none of the files you have copied have any indices attached. These use absolute pointers: one of the standard mistakes is copying a file to test leaving an absolute pointer to a live index file. Otherwise you are

RE: [U2] HTTP ERROR

2006-05-10 Thread Brian Leach
Nancy Could this be down to - 1. Firewall blocking? 2. Proxy configuration and authentication? 3. Does the version of HTTP match what they are expecting (e.g. 1.0 vs 1.1)? What are you setting as your HTTP options? It's a bit of a black box from what you describe. Brian -Original

RE: [U2] Unit testing and UniObjects for Java

2006-05-08 Thread Brian Leach
Wendy Sorry for the long answer, and some of this sounds like it may be too late, but you've hit a hobby horse of mine here ! It looks from your example (and apologies if I am misreading this) that you have business logic and file interaction inside your UO code. That really makes life hard. I

RE: [U2] RE: Using the BCI

2006-05-03 Thread Brian Leach
Victor, I've just written an article/tutorial on using BCI for Vmark UK's newsletter. As soon as it is published I'll post the link: it has a reasonable set of examples for both UV and UDT, though it doesn't cover calling stored procedures (I was going to keep that for an 'advanced' article).

RE: [U2] [UV] File sizing

2006-04-26 Thread Brian Leach
Barry That's not entirely correct. Universe uses a number of different lock types. At the group level, the main lock types are Read and Write locks - these are used to ensure exclusive access during read and write operations, to prevent two processes trying to restructure the group at the same

RE: [U2] Press any key to continue... - how to skip

2006-04-12 Thread Brian Leach
You can either: Press N at the prompt itself or Use the NOPAGE option LIST VOC NOPAGE Brian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lukasz s Sent: 12 April 2006 15:12 To: u2-users@listserver.u2ug.org Subject: [U2] Press any key to

RE: [U2] Window User setup for Universe

2006-04-10 Thread Brian Leach
You can create non-admin users that run UniVerse. Make sure that 1. The user is defined in the UV.LOGINS file or is a local user with a specified home directory that is a UniVerse account. Otherwise UniVerse doesn't know where to place them as their initial account. See the 'Network Services'

RE: [U2] Newest UV UniDebugger

2006-04-07 Thread Brian Leach
Just to add: If you have entries for defcs and udcs, change those as well. Later revisions will also allow you to specify zero for no timeout. Brian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Jordan Sent: 06 April 2006 22:10 To:

RE: [U2] [UD] Executing save-list

2006-03-31 Thread Brian Leach
Jack RTNLIST works but it creates a select list variable not a regular dynamic array. This means you can use it to segregate list processing as below: Execute SSELECT VOC RTNLIST SLIST CAPTURING OUT Crt OUT= :OUT Fin = @False Loop ReadNext Id From SLIST Else Fin = @True Until Fin Do Crt Id

RE: [U2] [UV] Resize error

2006-03-10 Thread Brian Leach
You might want to try handle from www.sysinternals.com. They do a whole range of excellent free tools for system monitoring. Brian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Fitzgerald Sent: 09 March 2006 17:36 To: 'U2-users (E-mail)'

RE: [U2] Universe Scalability

2006-03-03 Thread Brian Leach
Anmol, The 'small to medium' is more about market positioning than technical limitations. Small to Medium implies a number of positives, such as the low administration overheads, low cost of ownership, ability to run on limited resources etc. IBM recently benchmarked a UniVerse database at

RE: [U2] Steve Cashman

2006-02-27 Thread Brian Leach
Larry, Thanks. Steve is in hospital - I'm trying to get hold of his assistant to get this sorted. Brian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Larry Hiscock Sent: 25 February 2006 20:25 To: u2-users@listserver.u2ug.org Subject: RE:

RE: [U2] Universe users under Win2003

2006-02-16 Thread Brian Leach
Jeff, In addition: If the user is a domain user: 1. ensure they have the Log on Locally permission. 2. Use the UniAdmin Network Services to decide how the UniVerse telnet will assign their home directory. If the user is a local user: Ensure their home directory or login script takes them

RE: [U2] UV 10.1.11 Windows 2003 server SP2

2006-02-16 Thread Brian Leach
If you mean the errlog file this can be created in the uv home directory, but is not created by default. Just go to the uv account, ED UFD errlog and file as an empty record. Brian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Anthony Caufield

RE: [U2] CAll Stack

2006-02-07 Thread Brian Leach
Whilst we're on the subject, has anyone compiled a list of these 'undocumented' system() values? Brian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of James Cowell Sent: 07 February 2006 11:48 To: u2-users@listserver.u2ug.org Subject: RE: [U2]

RE: [U2] Simple OT question

2006-02-06 Thread Brian Leach
Or what we refer to in the UK as a 'kettle lead' Brian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Doyle Sent: 06 February 2006 19:30 To: u2-users@listserver.u2ug.org Subject: Re: [U2] Simple OT question Evidently, it's a C-14

RE: [U2] U2UG board activity: [U2] Knowledgebase access

2006-01-29 Thread Brian Leach
All, Well there is a simple answer: Contribute to our (U2UG) knowledge base! That's how the open source community thrives - by people contributing. There is so much knowledge locked up in this list - so spread some of that around. I'm even willing to write the final versions if people will

RE: [U2] [UD] Best practices

2006-01-29 Thread Brian Leach
I would second all the points about maintainability and legibility being key. One additional thing I have seen on one site: Unlike the A/S type dictionaries, there is no standard way of separating base and synonym dictionaries using D types, which can lead to dictionary listing that takes

RE: [U2] [UD] Best practices

2006-01-29 Thread Brian Leach
] On Behalf Of Louie Bergsagel Sent: 29 January 2006 17:33 To: u2-users@listserver.u2ug.org Subject: Re: [U2] [UD] Best practices Good idea, but is there any performance penalty to using I-types like that? -- Louie On 1/29/06, Brian Leach [EMAIL PROTECTED] wrote: I would second all

RE: [U2] Knowledgebase access

2006-01-26 Thread Brian Leach
Phil, This is something for which the U2UG have been actively campaigning. That campaign is beginning to bear fruit: 1. There are now a number of articles on the techconnect that are available 'outside' the knowledge base (e.g.the excellent article by Mark Baldridge publicised on the list

RE: [U2] Difference between IBM Universe and IBM UniData

2006-01-20 Thread Brian Leach
Pankaj That's a huge subject. The fundamental database handling is broadly the same, based on the same original model. You will find yourself at home there. Most of the differences are on the periphery and to do with emulations. You will find the same thing whenever you change platform: those

RE: [U2] Moving Data between input buffers

2006-01-20 Thread Brian Leach
Doug Does UniData PROC support file buffers (n.m format)? I've never used PROC on UniData, but that is traditionally the place to stuff things 'for future reference', e.g. MV 1.0 %1 Only if the PROC implementation supports PQN format though. Brian -Original Message- From: [EMAIL

RE: [U2] Difference between IBM Universe and IBM UniData

2006-01-20 Thread Brian Leach
Kevin, Well, many of the commands ARE the same and they are both horrible old line editors that should have been put out to pasture years ago... Personally like many people I use my own editor - with full cursor control, syntax highlighting, build commands Oh and I'm just doing some work

RE: [U2] Unidata on XP Lap Top

2006-01-19 Thread Brian Leach
Tony, The point I'm making is that: A) I have both VS2005 and VB Express loaded and find I'm finding that I'm far more productive using the latter for most work. Mind you, I also have Delphi for more serious stuff grin B) VB Express is highly capable as a free development tool for U2. For which

RE: [U2] Unidata on XP Lap Top

2006-01-18 Thread Brian Leach
Larry, VB 2005 Express Edition is free - not evaluation. It is also very powerful (all the .Net 2 features) and frankly a lot nicer to use than the full blown Visual Studio 2005 which is ludicrously machine consumptive. I now use it in preference and haven't found anything I need to go back to

[U2] RE System Migration Issues

2006-01-12 Thread Brian Leach
Steve Assuming UniVerse, uvbackup and uvrestore is safest: it is item level and will create new files on the target. Brian --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/

RE: [U2] PROC Question

2006-01-11 Thread Brian Leach
The only sensible ways are: 1. Subroutines GOSUB n n MV #1 blah P .. RSUB 2. Ext subroutines C has commands [file someproc] 3. Execute something sensible like a paragraph and give up using ugly PROCs Brian Like PROC - ugly but works -Original Message- From: Bob Woodward[EMAIL

RE: [U2] OT - Launching DOS executables from Universe 10.0.10 on Win 2000

2006-01-09 Thread Brian Leach
Just as an off-topic side point: don't forget the oft-overlooked Windows Scripting Host. This is a very powerful beast built into all versions of windows, running VBScript and JScript (and any other scripting engines installed): very much more powerful and legible than BAT files and capable of

RE: [U2] DATE conversion problem

2006-01-09 Thread Brian Leach
You need to issue the server command: DATE.FORMAT This would normally be done by the UV.LOGIN paragraph in the UV account or by the LOGIN in the account, but UniObjects bypasses both of these. Brian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of

RE: [U2] [UD] OSBWRITE problem

2006-01-06 Thread Brian Leach
if that fixes your problem. Hth Colin Alfke Calgary, Canada -Original Message- From: Brian Leach All, I'm having a problem writing a binary file from UniData. I need to store some lengths as 4 byte integers, and I'm deliberately encoding all numbers to base 250 + 1

RE: [U2] [UV] Create hashed file in subdirectory?

2006-01-06 Thread Brian Leach
Jacques, Does it work correctly if you specify commas between e.g. CREATE.FILE TEMP.JAG,WORK.JJ 16,17,1 18,101,1 ? It could be flavor dependent. Brian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jacques G. Sent: 06 January 2006 19:53 To:

[U2] [UD] OSBWRITE problem

2006-01-05 Thread Brian Leach
All, I'm having a problem writing a binary file from UniData. I need to store some lengths as 4 byte integers, and I'm deliberately encoding all numbers to base 250 + 1 shifted to avoid writing char(0) or char(255)s but I'm still getting a problem with byte translation. I've narrowed it

RE: [U2] Converting numeral to word

2006-01-05 Thread Brian Leach
SUBROUTINE NumberToWords(NumberIn, FormatOptions, NumberAsText) *-- * Name: NumberToWords * Description : Convert number to text * Author : Brian Leach * Project : GENERAL * Module : GENERAL

RE: [U2] openseq question

2006-01-04 Thread Brian Leach
Jeff, AFAIR OpenSeq on UniData looks for either a path name, or if you specify an item id it looks for an item in a directory file (not a path). So you would need to either A) OPENSEQ /tmp/ : MTR.REC TO F.MTR.ROW.FILE ... Or B) create a file pointer to /tmp (e.g. named TMP) and then

RE: [U2] Running Uniobjects from a web server

2005-12-23 Thread Brian Leach
You can use UniObjects but remember that UniObjects represents a single stateful login session (like a terminal) and web servers both stateless and scalable. Which means that: A) you cannot persist state at the server. So anything like common blocks and record locking probably go out the window.

RE: [U2] uniXML question on uonet7.1

2005-12-22 Thread Brian Leach
Have you tried the element syntax LIST file TOXML ELEMENTS That may parse better.. But I'm in a coffee shop with no udt to hand. Brian -Original Message- From: Victor St Clair[EMAIL PROTECTED] Sent: 22/12/05 01:29:50 To:

RE: [U2] jBASE : PRINT FMT('6.71509648127128E-02', 'R9') error

2005-12-21 Thread Brian Leach
Chuck, You were right first time. Must be the hour. Number = 1.234567E+14 Base = Number[E,1,1] Factor = Number[E,2,1] Multiplier = 1 : Str(0, Factor) If Factor 0 Then Result = Base / Multiplier End Else Result = Base * Multiplier End Crt Result Should give: 1234567 Brian

RE: [U2] just because its nearly christmas

2005-12-21 Thread Brian Leach
Ok if people are going to reply ... (I *was* holding myself back, okay) .NET: In week 1 you find the System.ballistics.nonpointy.shooters.guns.gun.gunparts.moving.greasy.casing. trigger interface. In week 2, you discover the required

Re: [U2] Using Esc

2005-12-20 Thread Brian Leach
Mark, AFAIR UV does provide cursor driven input - see the Input @, KeyEdit and KeyTrap statements. It is however pretty horrible. You can't blame the vendors for this one though. The problem has been the mindset of a community that hasn't shared code (how many virtually identical menu runners

RE: [U2] pgsql and unidata basic

2005-12-14 Thread Brian Leach
Jeff Is postgres on the same box as udt? Brian -Original Message- From: Jeff Powell[EMAIL PROTECTED] Sent: 14/12/05 14:01:58 To: u2 users groupu2-users@listserver.u2ug.org Subject: [U2] pgsql and unidata basic Is there a way to execute queries to a postgresql

[U2] MV Design

2005-12-14 Thread Brian Leach
All I'm intending to put a series of articles together on Designing MultiValue solutions, starting from first principles and emphasizing best practice. These will be published in the knowledge base. Since this is a contentious subject, rather than impose my thoughts :) I would like to invite

RE: [U2] FW: Uonet Timeout

2005-12-09 Thread Brian Leach
Bob You need to update the unirpcservices file to have a sensible timeout value for the server. This can time out without notifying the client in a manner that can be easily trapped. Look for the lines headed udcs and defcs and change the final column. Note that the values are in 1/10th seconds

RE: [U2] Deciphering Pick UniBasic statement

2005-12-09 Thread Brian Leach
Caleb, Just to point out - as a newbie don't think all MV coding is like this! It's this sort of rubbish that gives our industry a bad name. (Mind you I've seen worse C++ code...) :) Brian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Caleb Ng

RE: [U2] SOX question (United States only, I believe)

2005-12-09 Thread Brian Leach
Is it sufficient to formally separate the roles and procedures, even if they are carried out by the same person? and just think, you could put in for two pay rises :) Brian SOX-Free here -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lance Jahnke

RE: [U2] Re:UV XMLDB Tool

2005-12-06 Thread Brian Leach
Jonathan Thanks Brian -Original Message- From: Jonathan D Smith[EMAIL PROTECTED] Sent: 06/12/05 09:14:14 To: u2-users@listserver.u2ug.orgu2-users@listserver.u2ug.org Subject: [U2] Re:UV XMLDB Tool Hi All, We are already aware of the problem with Pick

[U2] UV XMLDB Tool

2005-12-05 Thread Brian Leach
Hi, Does anyone know what determines whether an account appears in the UniVerse XMLDB tool? I have an account that just doesn't want to show up in the list. For the record, it has an entry in the UV.ACCOUNT file. It has been enabled for ODBC. I also created a uci entry for it on the client in

RE: [U2] UV XMLDB Tool

2005-12-05 Thread Brian Leach
@listserver.u2ug.org Subject: RE: [U2] UV XMLDB Tool Yes, it is flavor dependant - it does not like the PICK or PICK like flavours. Kurt Neumann; IBM Certified Solutions Expert -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brian Leach Sent

[U2] U2UG Knowledge Base

2005-11-28 Thread Brian Leach
solution :-) Any articles and feedback submitted to the prototype site may (if the author wishes) be considered for the live site. Let us know what you think. Brian Leach, U2UG Board --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/

RE: [U2] Unidata's .Net UniDynArray

2005-11-11 Thread Brian Leach
Like other posters I use my own functions to handle dynamic array operations. I wonder whether the server access however may be down to NLS support on UniVerse where you can redefine the delimiters. Brian --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit

RE: [U2] Universe running on Linux/SuSE

2005-10-14 Thread Brian Leach
Rob, As a comment, at my last company all our development was (and as far as I am aware still is) done using UniVerse on Linux. This was a combination we used for over 10 years. Stable certainly. Brian --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit

RE: [U2] Printer problems on UV PE under Windows XP

2005-10-14 Thread Brian Leach
Eric, A couple more points: 1. You can specify a share name to SETPTR so long as the printer has been locally added to the system. The share name cannot contain spaces. 2. SOME printers will work if you use a generic/text only driver and install them locally, however ... 3. You may need to

RE: [U2] UniOleDB - Delphi

2005-10-14 Thread Brian Leach
Claus, If you have set up your config file correctly (looks ok, did you use the horrible UCI Config editor to make sure it is saved in the right place ?) your connection string should just read: Provider=IBM.UniOLEDB.1;Persist Security Info=False;Data

RE: [U2] Printer problems on UV PE under Windows XP

2005-10-10 Thread Brian Leach
Eric, Can we start from the top: 1. Is this a local printer or a share e.g. \\machine\printer ? 2. If remote, is it installed under Windows? If so, does your UniVerse user have privilege to access it? 3. Does the printer show up if you do a SPOOL -LIST ? Is there an error code reported when you

RE: [U2] Source Code Management

2005-09-30 Thread Brian Leach
Karen I originally used to use RCS under UniVerse with some simple verbs that committed items in and out of a work directory using an index file to map account|file|item paths to work file keys. This meant that I could easily manage items from hashed files (eg dictionaries) using some simple

RE: [U2] Good Programming Practice Question.........

2005-09-30 Thread Brian Leach
Susan, You make a good point, but the problem with that approach is that it stifles innovation and learning - though not in your case, of course :-) I have known programmers who took a 'lowest common demoninator' approach that was based on systems that were obsolete 20+ years ago, ignoring

RE: [U2] Good Programming Practice Question.........

2005-09-27 Thread Brian Leach
Kevin, I disagree, for a simple reason: I use alpha labels that make sense and then place them in the code in alphabetical order. Problem solved grin. Just a few off the top of my head (it's late here): 1. If using UniVerse, use mixed case to encourage readability when scanning through a

RE: [U2] ICONV of Date - Strange result

2005-09-22 Thread Brian Leach
I may have missed something but maybe an empty string value is accurate for the year . The way we are treating our planet whose to says there will be any computing going on anyway. But, but... Isn't that when Windows Longhorn is finally scheduled for release? Brian ---

RE: [U2] PHP Options

2005-09-19 Thread Brian Leach
Dawn, You can also use RedBack: PHP can instantiate COM objects on Windows platforms, and has a java interface so it can create java redback objects (RedObjects). I guess these would also allow UO and UOJ, but then you're back to the old web access/connection pooling issues. There is a paper

<    2   3   4   5   6   7   8   9   >