Re: [U2] Re: Once again and updated. Cheapest way to have Pick talk to Web ?

2004-05-23 Thread Craig Bennett
Will, Can a Pick database (on Windows) talk to the Web for say... under 5 grand? Option 1: Install Apache, run UV from CGI-BIN scripts. Option 2: Run UV from /etc/inetd.conf and write your own HTTP server. regards, Craig --- u2-users mailing list [EMAIL PROTECTED]

Re: [U2] Re: Once again and updated. Cheapest way to have Pick talk to Web ?

2004-05-23 Thread Craig Bennett
Will, Dmn, I was hoping you wouldn't ask -- actually we always run UV from inetd.conf -- but I see no reason why you shouldn't be able to #!/bin/sh /usr/ibm/uv/bin/uv MYCGIPROGRAM or even #!/usr/ibm/uv/bin/uv MYCGIPROGRAM Stdin/Stdout should get connected to the uv executables input and

Re: [U2] Data truncation

2004-05-23 Thread Craig Bennett
Hi Louis, Are there any OPTIONS directives or SYSTEM commands I can set to prevent the truncation? Have you tried: ASSIGN 1 TO SYSTEM(1017) This disables character conversion during reads/writes. How long is the data that is returned? I seem to recall coming across a 2k limit on data passed

Re: [U2] Re: Once again and updated. Cheapest way to have Pick talk to Web ?

2004-05-24 Thread Craig Bennett
Whoops, now there was a confused paragraph! You could try: #!C:\windows\system32\cmd.exe cd C:\MYACCOUNT C:\IBM\UB\BIN\UV MYCGIPROGRAM or if you install perl something like this might work: #!C:\pathtoperl\perl -w my @output = `C:\IBM\UB\BIN\UV MYCGIPROGRAM`; my $printline; while ($printline

Re: [U2] Gone....

2004-05-31 Thread Craig Bennett
Nothing of any consequence for the past 2 or 3 days Only a very small smattering of subscribes and U2 FMT mails. I could post some [AD]s to fill in the time if you would like? Craig --- u2-users mailing list [EMAIL PROTECTED] http://www.u2ug.org/listinfo/u2-users

Re: [U2] U2 XML

2004-06-14 Thread Craig Bennett
Hi Bob, we've been using XML to/from UniVerse since 9.5, but using our own parse/build routines written in BASIC. regards, Craig --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/

Re: [U2] Mime Type: application/dynamicarray

2004-06-17 Thread Craig Bennett
Tony, I do a fair amount of work with the guts of HTTP clients and servers, and with other RFC-standard protocols, as well as custom protocols over TCP. Me too (anyone want to license my ASN.1/BER routines?), but I was thinking of email and similar payloads attached to messages -- associate the

Re: [U2] How create list of uv files from VOC?

2004-06-30 Thread Craig Bennett
Put it in a paragrah and run the paragraph: Edit an item in the VOC called FLIST PA SSELECT VOC WITH F1 = F DIR BY F2 F2 SAVE-LIST FILEPATHS COPY FROM SAVEDLISTS FILEPATHS TO BP OVERWRITING You may need to check the COPY syntax depending on your account flavour. Now you can `uv FLIST` in your

Re: [U2] UV on Red Hat Linux

2004-06-30 Thread Craig Bennett
Sara, how is telnet running? Is xinetd or similar limiting who can connect? Does Connect Failed message return immediately? perhaps the linux box cannot do a reverse lookup on the NT4 box? Try SSHing to the linux -- SSH is more likely to be configured for access out of the box. Craig ---

[U2] [UV] [] operator and NLS

2004-07-12 Thread Craig Bennett
Hi All, I don't currently have an NLS system to fiddle with, but want to write a routine which will run correctly on an NLS system. Does anyone know how the [] operator works under NLS -- does it return characters or bytes? eg: if I have a string of 3 multibyte characters LEN = 3, BYTELEN = 6

Re: [U2] [UV] [] operator and NLS

2004-07-13 Thread Craig Bennett
Ray Wurlod wrote: Yes, and yet no. With NLS enabled, internal storage uses an idiosyncratic variant of UTF8 (sometimes called UV-UTF8) in which the mark characters Char(248) through Char(255) are always preserved as single-byte characters, so that the usual occupants of these Unicode code points

Re: [U2] [UV] File corruption error, but ON ERROR branch not taken

2004-07-19 Thread Craig Bennett
Hi All, we have a site which is experiencing file corruption problems (in one particular file). The clients are trying to find problems in their SAN etc, and have created the errlog item in the UV account so we are logging the Internal Data Error messages when the corruption occurs (UV 10.0.7,

Re: [U2] [UV] File corruption error, but ON ERROR branch not take n

2004-07-19 Thread Craig Bennett
Since you can't catch those via the program concerned, we merely put a program in the ON.ABORT paragraph to stop the users being dropped to the TCL prompt (where even more damage could be accidently be done). An @ABORT.CODE value of 3 is suppose to indicate an internal and/or fatal error, but

Re: [U2] [UV] File corruption error, but ON ERROR branch not taken

2004-07-19 Thread Craig Bennett
Try the On Error with the file open command, the error may be occuring at the file open. Have you played aroubnd with the FILEINFO Command, that may pick up the issue. I have noticed in the path if there is an error with the File Variable that the on error clause does not work in the read

Re: [U2] CallHTTP

2004-07-21 Thread Craig Bennett
Tony, - There are occasionally limits on the size of the domain name, which is included in the total for the query string. RFC3696 (which collates information from other RFCs) places the following limitations on a hostname from DNS: A DNS label (the parts of a domain name delimited by '.') may

Re: [U2] CallHTTP

2004-07-21 Thread Craig Bennett
Nick, I have previously posted UV code which uses sockets to do HTTP rather than CallHTTP -- this might solve your problem in the short term. Craig --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/

Re: [U2] [OT] Has anyone exoerienced a HUGE increase of Spam?

2004-07-25 Thread Craig Bennett
The IndexInfocus archives are not indexed by search engines, when that's all there was, we were fairly anonymous. Are you sure, I recall googling and following a link to the list archives. Craig --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/

Re: [U2] [UV] File corruption error, but ON ERROR branchnot taken

2004-07-25 Thread Craig Bennett
The suggestion made by Ray using uvbackup as a check of files is the philosophy we have adopted after experiencing this type of corruption. We run this every Saturday night over all our files and email the result reporting any likely problems. We are still discussing this one with IBM. They

Re: [U2] [UV] File corruption error, but ON ERROR branch not taken

2004-07-25 Thread Craig Bennett
I am not sure I would agree that blink errors not taking ON ERROR clauses is a defect. While inconvenient to the user to have a program stop abruptly, the error needs to be dealt with as quickly as possible or the problem will perpetuate. The abort in this case is a deliberate one, i.e. it is

Re: [U2] [UV] File corruption error, but ON ERROR branch not taken

2004-07-26 Thread Craig Bennett
Leroy, But Leroy, the program neither aborts nor takes the ON ERROR branch, it takes the ELSE branch and continues. That might be a problem. I guess you see something in the errlog file, but does anything display on the screen? If so, then perhaps that is a problem. The code is a bit tricky and

Re: [U2] [UV] File corruption error, but ON ERROR branch not taken

2004-07-26 Thread Craig Bennett
I couldn't find where this anything has changed in this area of our code, nor could I reproduce the condition of it taking the ELSE clause. Leroy, I have a corrupted file which reports the following on a READ from the corrupted group: File '/path/FILE': Computed blink of 0x74617C20 does not

Re: [U2][AD] Universe 10.1.1 WebSphere MQ API's

2004-07-28 Thread Craig Bennett
Just wondering if anyone out there has used the new WebSphere MQ API's that are provided with Universe 10.1.1 and if so have you found any problems with the product? Hi Jeremy, only peripheraly an answer to your question but: We have a GCI interface to MQ (for sale) which has worked with UniVerse

Re: [U2] Universe/AIX Spooler Management

2004-07-29 Thread Craig Bennett
Louis, We would like to have our tech person handle all spooler matters, but we don't want to give him administrator rights. Please advice on the best way to handle this. Have you looked at the Role based security access in SMIT? This may allow you to make someone a spooler administrator without

Re: [U2] Universe 10.1.1 WebSphere MQ API's

2004-07-29 Thread Craig Bennett
Cameron, Sorry for this some what fundamental question but I want to get an idea how well this will scale Does the Universe end of MQ require a phantom or Universe process to handle that side of the communications or do the websphere processes handle that? MQ allows multiple processes to read and

Re: [U2] combining licenses [ot]

2004-07-29 Thread Craig Bennett
Ross, Does anyone know if the device licencing (aka enterprise licence I think) will work with any telnet client (eg: we use AccuTerm), or if it is tied to wIntegrate If I understand the licencing model correctly, does this also mean/imply that with the workgroup sized sites, each of the max 24

Re: [U2] Universe 10.1.1 WebSphere MQ API's

2004-07-29 Thread Craig Bennett
Ross, With 10.1, don't phantoms that use sockets count as users -- I wonder if MQ phantoms count as users, or are they free ? they count as users. Craig --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/

Re: [U2] FAQ

2004-07-29 Thread Craig Bennett
Just discovered an extract from the UniVerse FAQ for the mailing list. Clif, you supplied the extract, do you still have the FAQ? Could we add it to the FAQ on the U2UG site please? thanks, Craig --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit

Re: [U2] [UV] File corruption error, but ON ERROR branch not taken

2004-08-04 Thread Craig Bennett
Having talked to IBM (who were as usual amazingly helpful, thankyou Jonathan and Leroy), their conclusion was that when a blink error occurs in a file, the action taken will depend on the type of file corruption that has occured: When a READ is performed and a group is dicovered to have a

Re: [U2] B2B

2004-08-09 Thread Craig Bennett
Ross, Ross Ferris wrote: Secure implies SSL, which as you identify means using well known ports. I'd think it would take a lot more work to bastardise a solution using encrypted traffic on non-standard ports (I don't think you want to encrypt ALL traffic, so 80 won't do the trick) than changing

Re: [U2][AD] Wintegrate - Email

2004-08-11 Thread Craig Bennett
Mark, For whatever reason, I'm not a fan of Accuterm. I enjoy using the Wintegrate utilities and WIN.MLSEND for seamless email sending is very attractive. So why not just send email? Mail me offlist if you would like to beta test our native email utilities for U2. Craig --- u2-users

[U2] EXTRA! Personal Client

2004-08-15 Thread Craig Bennett
Hi All, one of our sites is using EXTRA! Personl Client Version 6.3 as their terminal emulator. Is anyone else using this, and if so do you know if we can send it host control codes for file download etc like Wintegrate and Accuterm? thanks, Craig --- u2-users mailing list [EMAIL

Re: [U2] Unusual error returned from submitRequest

2004-08-18 Thread Craig Bennett
Hi Jamie, setRequestHeader=0 21621:error:140DA111:SSL routines:SSL_set_session_id_context:ssl session id cont ext too long:ssl_lib.c:272: Abnormal termination of UniVerse. Fault type is 10. Layer type is BASIC run machine. Fault occurred in BASIC program BOB.HTTP4 at address 1d2. have you tried

Re: [U2] [UV] Initialization error 9 22 -- undocumented?

2004-08-19 Thread Craig Bennett
Hi Lee, Unless you have the path to UniVerse established in your system, you would have to: cd /etc (or wherever you have installed UniVerse) ./rc.d/init.d/uv.rc start Are you saying I need to be in the UniVerse directory for the uv.rc script to work or that the uv executable needs to be in my

Re: [U2] [UV] File Types...

2004-08-24 Thread Craig Bennett
David, I'm now working some with UniVerse - the mystical side of the U2 family... I never knew how easy we have it in UniData!! I can say SELECT FILE WITH A = [AAA] and will find AAA whether at the start, middle or end... That LIKE ...AAA... won't do the same - you have to have 3 LIKES to

Re: [U2] Data Security

2004-08-24 Thread Craig Bennett
Robert, UniVerse 10.x has a base64 encoding/decoding function built in. And OCONV code MX0C will convert to a hex string (faster but less space efficient). If you are careful in how you read the data in the first place and you then encode it before writing it should be no different to any

Re: [U2] major (?) @var security hole

2004-09-12 Thread Craig Bennett
If you need a value that won't change, try SYSTEM(27) or SYSTEM(28). These return the operating system user Id and effective user Id. You may need to parse the /etc/passwd file to match to a login name (but your LOGIN proc could store this too, before anyone has a chance to fiddle with

Re: Unclassified RE: [U2] major (?) @var security hole

2004-09-12 Thread Craig Bennett
Mike, Not on a Windows host, Craig Both are zero for me on our Dev box (probably because I'm an Administrator-equivalent) And System(19) ends up with the 'bogus' @LOGNAME On PE running on my laptop, SYSTEM(27) and (28) return 0 if login is administrator but a 6 digit number if I login as craig.

Re: [U2] [UV] Processing a string

2004-09-15 Thread Craig Bennett
Is it not against the XML standard to have a quoted string containing or in a tag? You can certainly have comments like this in valid XML !---- And processing instructions ? !-- ? And CDATA Sections (I forget the format, but they can hold arbitrary binary data). So just working on

Re: [U2] [UV] Processing a string

2004-09-15 Thread Craig Bennett
Sorry that's not correct. Comments have to be delimited just like everything else. I did not say you can ignore what the tag says. I only said you can use and to find the tag. If a tag starts with ! then it requires special processing. Apologies Will, I didn't mean to verbal you, just point

Re: [U2] [UV] Processing a string

2004-09-16 Thread Craig Bennett
Glen, Per HTTP 1.0-1.2 specifications, and are not exempt from content encoding requirements. They are protected characters and must be treated as such when sending content. Light bulb going off yet? Surely you don't mean the HTTP specifications? (Which the W3 have officially closed at

Re: [U2] Editors

2004-09-23 Thread Craig Bennett
I understand that you may be 'free-time challenged', but I'd say that vim is seriously worth checking out. (www.vim.org) And Ken has forgotten to mention his great syntax highlighting file which lets vim format MV Basic with colours during editing. All the power of vim and the convenience of

Re: [U2] Editors (was: Comparison Unidata and Universe)

2004-09-23 Thread Craig Bennett
I occasionaly need to edit a type 1 file of around 30-50 megabytes. The problem is most editors want to load the file into memory before working on it. Does anyone know an editor that would handle big files like this It's not that flash, but how about hexedit? It will even let you edit a unix

[U2] [UD] BASIC COMPILE ERROR: Too many constants near line

2004-10-11 Thread Craig Bennett
Hi All, I'm trying to compile a UniData program which has a LOT of constants in it when I do I get the error: too many constants near line XXX Is this a limitation in Unidata or something I can configure? We are running Unidata 6.0 on AIX 4.3.3 thanks, Craig --- u2-users mailing list [EMAIL

Re: [U2] [UD] BASIC COMPILE ERROR: Too many constants near line

2004-10-12 Thread Craig Bennett
Hi Wally, 32765 is the limit for contants. No, it is not configurable. Time for a subroutine? thats depressing, this IS a subroutine. I have a large amount of text in need to include in the program object which I would STRONGLY prefer not read from disk. There is a maximum line length too isn't

Re: [U2] [UD] BASIC COMPILE ERROR: Too many constants near line

2004-10-12 Thread Craig Bennett
Some of our software converts Adobe Type 1 font programs into BASIC programs and we have an issue on some larger fonts where I cannot fit the data from the font into the program because of the limit on the number of constants and the limit on line length. When you say: Is there any way to

Re: [U2] [UD] BASIC COMPILE ERROR: Too many constants near line

2004-10-13 Thread Craig Bennett
Hi Wally, 32765 is the limit for contants. No, it is not configurable. Time for a subroutine? I just reread the first few chapter of the UniData basic manuals and there it was. Could you tell me the maximum line length in a UniData basic program? thanks, Craig --- u2-users mailing list

Re: [U2] [UD] BASIC COMPILE ERROR: Too many constants near line

2004-10-13 Thread Craig Bennett
Hi ennis, Cant it be read ONCE and put into one (or more) named common variables? I could do that, but I am trying to have the data cached by a process (object loaded) without having to read the data. This works nicely on UV and has the advantage that you can load the program into shared

Re: [U2] [UD] BASIC COMPILE ERROR: Too many constants near line

2004-10-14 Thread Craig Bennett
PCPERFORM lp -d :QUEUE: :FONTFILE CAPTURING MSG Thanks for the suggestion Tom, but I'm generating PDF files and embedding the fonts before writing to disk, so this doesn't really apply. I think I may just have to split the data into multiple subroutines. Craig --- u2-users mailing list

Re: [U2] Wintegrate Email

2004-10-05 Thread Craig Bennett
Unfortunately, when sending formatted Pick Spooler output, the -html option in BLAT (along with tagging the email body with PRE/PRE as a html document) doesn't have a counterpart in WIN.MLSEND. There is a parameter called OPTS that the RTFM indicates for values of 0,1 2 but no html indicator.

Re: [U2] UniVerse 10.1.2 bug/error

2004-11-08 Thread Craig Bennett
Hi Karl, we are running 10.1.2 on AIX 4.3.3 and analyze.shm reports the correct licence count. Craig --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/

Re: [U2] [UV] Random number (RND()) help

2004-11-17 Thread Craig Bennett
There's a really good section in Numerical Recipes for C on pseudo random number generators. There's also a bit about doing 64-bit math in two 32-bit numbers, which would be especially applicable for the OP's Win32 implementation. I remember finding this chapter on the web in PDF format a

Re: [U2] PCL5/6 Universe / AIX printer setup question

2004-11-17 Thread Craig Bennett
Hi Lee, Anyone have any insight on SMIT for AIX and how to set it up to eliminate character translations? If you start smit, then go to Print Spooling - Change/Show Print Queue Characteristics. Enter your queue name or press F4 to list available queues. Select option 2 Default Print Job

Re: [U2] SSH and wIntegrate

2004-11-18 Thread Craig Bennett
Ken, Can someone who uses a current version of wIntegrate tell me whether it supports connections via SSH? Its a kind of backwards solution, but you could try using putty (a free ssh client) to connect to the system and then tunnel your wintegrate telnet connection through this. Not elegant,

Re: [U2] [ot] hpux11/uv10 validate user login

2004-12-06 Thread Craig Bennett
Hi Gerry, have you considered using LDAP? On AIX you can LDAP authenticate against the local user database so I presume HPUX can do something similar. Then use an ldap client (I believe curl would work or one of the openldap utilities) to authenticate (be aware that passing passwords in

Re: [U2] [ot] hpux11/uv10 validate user login

2004-12-07 Thread Craig Bennett
Gerry, Their web interface is driven built on redback I have zero experience with or knowledge of it. I would have thought os(unix) level user authentication would have been handled within redback as part of its basic design/functionality. True or not true ? Your problem is a security issue.

Re: Unclassified RE: [U2] Sites using UniVerse

2004-12-08 Thread Craig Bennett
Hi Mike, just wanted to thank you for your information. I offered it upwards and I think it helped. Craig PS: Thanks to Martin too, but when is the opensource AIX port coming out :) --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/

RE: [U2] LOOP or GOTO on READNEXT

2004-12-13 Thread Craig Bennett
UPDATE filename SET @ID = EVAL FMT(@ID,'R%6'); Poetry, Poetry. --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/

Re: [U2] Universe to Web interface

2005-02-07 Thread Craig Bennett
What I can't make it do it seems is RUN a universe subroutine. But I'm wondering how it knows how to log into universe? Surely it's not just an open portal ? Maybe I have to setup a Universe account with *no* password for it to use? How exactly does that work? Alternatively perhaps you

Re: [U2] uv pe

2005-02-15 Thread Craig Bennett
Leroy, They are nearly ready to be placed on the Web again, and we do regret the time it has taken to get this far. We will be sure to announce their arrival as soon as they are ready. would it be possible to leave the older versions up? That way if someone quickly want to test something on an

Re: [U2] uv pe

2005-02-17 Thread Craig Bennett
Hi John, Ease of development? Very little support required? I have just started to use UD, and development is horrific, it take 10 times longer to do things that can be accomplished by a single line query in an RDBMS'. Our system requires constant attention, more attention than even MS Sql server

Re: [U2] uv pe

2005-02-17 Thread Craig Bennett
John, I want to do). The best answer I got was create a virtual field that stored the field in caps and then use that in the select. In fact, the example in an old Unidata manual I found says to do just that. Perhaps there is good reasoning behind that method, but the logic of it completely

Re: [U2] [UV] making 00001 our of 1

2005-03-02 Thread Craig Bennett
I have seen X=(X+100)[2,5] [EMAIL PROTECTED] wrote: Hi all, I have a need to search through our program files for any code that format a number from 1 through 9 with leading 0's. I have always used R%5 but I may miss programs that use other techniques to arrive at the same result. Can

Re: [U2] Unique Ids

2005-03-08 Thread Craig Bennett
David, I just came out of a meeting where it was stated that MV databases allow non-unique keys. perhaps the person was refering to multivalues? If you were modelling parents and children in an SQL database you might use a PARENTS table and a CHILDREN table. Usually neither table would allow

Re: [U2] UD: ODBC/OleDB access to selected records in a file

2005-03-14 Thread Craig Bennett
in the ODBC/OleDB interface to UniData. Before we give up entirely and resign ourselves to putting out paper reports with UniQuery, I thought I would ask this group if anyone has solved this problem. Anyone? Don't do that Jim. I you have to use UniQuery, at least convert the text reports to

Re: [U2] UniObjects and LDAP user authentication.

2005-03-16 Thread Craig Bennett
Gordon, Our system admin department just changed our Sun servers from using NIS (Network Information Name Service) to LDAP Directory Service. It was said that this user authentication is more secure than NIS. Unfortunately, our UniObjects quit working. When I try to open a session within a

Re: [U2] [AD]UniObjects and LDAP user authentication.

2005-03-21 Thread Craig Bennett
Gordon, I was thinking about your problem further over the weekend. You can use our routines to authenticate from BASIC but I think that being unable to directly authenticate with UniObjects is going to make you jump through some hoops. You will need to have at least one local unix user on the

[U2] XSL dialect

2005-03-28 Thread Craig Bennett
Hi All, I know U2 uses the Apache Xerces parser for XML, but from the docs I read at www.apache.org, this does not seem to include an XSL parser. Does anyone know which libraries U2 (UV 10.1) uses to process XSL when using the XDOMTransform function? thanks, Craig --- u2-users mailing list

Re: [U2] [UV] send data to IP address?

2005-04-03 Thread Craig Bennett
Actually, now that I have done a port scan on this device, it apparently IS listening on port 9100. However, the same technique that produces output on a networked HP 4200 does not produce any results on the Zebra. I am missing something. Are you writing ZPL? perhaps the printer driver is

Re: [U2] [UV] Version Control

2005-04-12 Thread Craig Bennett
Hi Kieran, I got subversion to work alongside UV. There were no real issues. I found that a very flat structure worked best rather than the multi-level repository structures in the SVN docs. This mean't that I could checkout code into a UV account (rather than an entire UV account) and have

Re: [U2] Decoding 64Base string

2005-04-18 Thread Craig Bennett
David, I am looking for information on decoding a base64 string. We will be receiving this back with an xml stream from a client. The base64 string is a image which we must decode and write out. what version of U2 are you on? What O/S? UV 10.0 and later allows you to call ALG = Base64 ACTION = 2

Re: [U2] IBM Licensing Requirement - MQ Series

2005-04-20 Thread Craig Bennett
I amazed that in this discussion noone has mentioned the IBM MQSeries interface that has been added to U2. It is now easy to write a phantom which monitors a queue for messages and processes them. These messages could be for batch processing, but they could equally be for client/server data

[Fwd: Re: [U2] IBM Licensing Requirement - MQ Series]

2005-04-21 Thread Craig Bennett
Since the process can only wait for messages one queue at a time, it is assumed that if multiple message queues are used, multiple phantom processes may be required, thus consuming additional licenses. But multiple mq processes can listen to the same queue, so you can run 10 phantoms listening to

Re: [Fwd: Re: [U2] IBM Licensing Requirement - MQ Series]

2005-04-25 Thread Craig Bennett
Leroy, I'm not trying to be obtuse here (and I don't mean to make you suffer, but I really think there is a contradiction between the technology and your licensing requirements). How do you decide when I have an application talking via MQ and when I am multiplexing a user-interactive

Re: [Fwd: Re: [U2] IBM Licensing Requirement - MQ Series] {Unclassified}

2005-04-25 Thread Craig Bennett
Bill, If I figure correctly, a hundred webshares cost $150,000 at $1,500 per webshare retail! my understanding is that each webshare can service 20-25 users and once you buy a certain number of webshares (my memory says 11, but I could be wrong) you are treated as having an unlimited number of

Re: [Fwd: Re: [U2] IBM Licensing Requirement - MQ Series] {Unclassified}

2005-04-26 Thread Craig Bennett
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Craig Bennett Sent: Monday, April 25, 2005 5:00 PM To: u2-users@listserver.u2ug.org Subject: Re: [Fwd: Re: [U2] IBM Licensing Requirement - MQ Series] {Unclassified} Bill, If I figure correctly, a hundred webshares

Re: [U2] Validating an email adress

2005-05-03 Thread Craig Bennett
Claus, When matching, you can match multiple patterns if you separate them with @VM. Eg: 1N0N:@VM:'N/A' matches one or more numerics or N/A. try this (the logic from my email address validation subroutine): The string must contain @ (unless you allow sending to users in your local domain

Re: [U2] Include Vs Call - Software Maintenance

2005-05-18 Thread Craig Bennett
Bill, I need a UniBasic program that uses a lot of code from another program. I am inclined to move all of the common code out to an include file. If you do decide to use an include file, have a look at compile time directives. These allow block of code to be included or excluded by the compiler

Re: [U2] Include Vs Call - Software Maintenance

2005-05-18 Thread Craig Bennett
You chances of stuffing up a program that INCLUDEs logic by a small change to that logic are much higher than if you CALL it as an external routine. Immediately you eliminate the risk of someone introducing a new local variable into either your main line or the INLCUDE and finding that it collides

Re: [U2] Domino / Universe connectivity

2005-05-22 Thread Craig Bennett
Safwat, UniVerse has a websphere api, although consider the performance requirements as IBM mentioned it is not a good alternative for pooling processes. What we have is a WebSphere MQ API which is different from what Tony is referring to in his message about the WebSphere middle-tier (see

Re: [U2] Pdf Software Upgrade

2005-06-16 Thread Craig Bennett
Bill, What is the new PDF software? I don't think Anthony meant that message to go to the list, he is testing a new version of our PDF suite for U2. AD The CROSS PDF Suite allows you to generate PDF documents direct from U2 Windows/Unix/Linux. Quick conversion for existing reports and field

[U2] [UV] Disable UniObjects Access

2005-06-19 Thread Craig Bennett
Hi All, I would like to disable UniObjects and ODBC access to UV 10.1.x on AIX via the Unirpc service but still allow UniAdmin to function. I think I can achieve this editing the /usr/ibm/unishared/unirpc/unirpcservices file but I am unsure which services I need to edit/remove to stop

Re: [U2] [UV] Disable UniObjects Access

2005-06-20 Thread Craig Bennett
Thanks Brian and Ray, I'll delete the services we don't want to run and decide whether we really want UniAdmin (or if we should limit it to particular hosts). regards, Craig --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/

Re: [U2] Unidata and MQ series

2005-06-29 Thread Craig Bennett
John, The UniBasic Extensions guide says you need to run the script makeu2mqs to enable WebSphere MQ support. I do this and it errors xlc: not found. xlc is the IBM C compiler. Is my only option to buy and install the C compiler? which release of U2 on which architecture? regards,

Re: [U2] Unidata and MQ series

2005-06-30 Thread Craig Bennett
John, in the work subdirectory of ud60 is a file called u2mqseries.mk. This sets CC=xlc for the build. I have used gcc succesfully when recompiling UniVerse. You can download it from IBM here http://www-1.ibm.com/servers/aix/products/aixos/linux/ or as a smit installable package from here

Re: [U2] String compare anomaly {Unclassified}

2005-07-05 Thread Craig Bennett
Mike, I have to code 'if (TheField eq 0) and (len(TheField) eq 5) then How about: if (TheField MATCHES 5N) AND (TheField eq 0) then or if (TheField MATCHES '0') then Craig --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit

Re: [U2] String compare anomaly {Unclassified}

2005-07-05 Thread Craig Bennett
But why doesn't 'if (TheField eq 0)' work properly? [I can sort of understand this being mis-recognised as a numeric compare] Or 'if (TheField: eq 0 )' ? [Now that really should work, in my view, but it doesn't] Sorry Mike :) I was in helpful but thoughtless mode, didn't

Re: [U2] Socket universe vs d3

2005-07-18 Thread Craig Bennett
Hi Cedric, sock = %socket(AF$INET, SOCK$STREAM, 0) err = %setsockopt(sock, SOL$SOCKET, SO$REUSEADDR, one, 1) err = %bind(sock, AF$INET, INADDR$ANY, ser.port) %listen(sock, 3) loop while 1 do send/receive operations repeat I think the UniVerse equivalent would be: err = initServerSocket(,

Re: [U2] Socket universe vs d3

2005-07-19 Thread Craig Bennett
Tony, I don't do U2 sockets but I'm guessing Craig's code is missing something. In socket comms, you wait on the listen, accept a connection, do whatever you need, then go back to listen. Looping on accept is OK but after the repeat you have to go back to listening, and that shouldn't mean

Re: [U2] [UV] Create Secondary Indices with Relative Paths in file header

2005-07-24 Thread Craig Bennett
Check the SET.INDEX command - it's lets you change the path to the index in the main file's header. Which is all you'd need to do after copying the file indices. Thanks Adrian ... bit embarrassing that I missed that one when I read the manual :) Craig --- u2-users mailing list

Re: [U2] Text extraction.

2005-07-28 Thread Craig Bennett
Mark, I know you usually look for cross platform solutions, so this may be a UVism but how about NEW=ABC:REC[15,-1] Then you have no constant limits to worry about. Craig --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/

Re: [U2] [OT?] SATA vs SCSI drives

2005-08-01 Thread Craig Bennett
Ross, Ross Ferris wrote: Somewhat off topic I know, but does anyone have any definitive information re these 2 technologies? Traditionally I've always used SCSI drives, as many years ago we discovered that although the specs if EIDE looked good on paper, in practice they were sub-optimal. I

Re: [U2] Connection Problems with Ud6 and UV10

2005-08-10 Thread Craig Bennett
David, are you connecting to localhost or 127.0.0.1. I have had problems in the past where a DNS server returned a value for localhost which was not 127.0.0.1. It could explain why you had problems on both machines. You might also have a look at your hosts file in \WINDOWS\SYSTEM32 and see

Re: [U2] [UV] This 2 line program can crash a UV session

2005-08-28 Thread Craig Bennett
Jacques, 0001: A = SPACE(7) 0002: A = LOWER(FOLD(A,1)) just crashed on my AIX 4.3.3 server running UV 10.1.12. The crash occcured in Reality and Ideal flavour accounts. Abnormal termination of UniVerse. Fault type is 11. Layer type is BASIC run machine. Fault occurred in BASIC program TEST

Re: [U2] [UV] Triggers, transaction state and interaction with the 'outside world' {Unclassified}

2005-09-08 Thread Craig Bennett
Mike, I think your best solution would the IBM MQSeries interface (be aware that IBM have not provided access to the transaction/rollback aspects of MQ in their UV interface, this has led us to not switch to the new UV-MQ interface). If you can't use the MQSeries interface (and fair enough

Re: [U2] [UV] Triggers, transaction state and interaction with the 'outside world' {Unclassified}

2005-09-08 Thread Craig Bennett
Mike, In this particular instance, 'hard real-time' isn't an issue, a delay of a few seconds would be quite OK. I wasn't commenting on hard real-time. MQ Series and MSMQ guarantee delivery not delivery time (I could be wrong about MSMQ). Rather I was thinking about how guaranteed you need

Re: [U2] [UV] Triggers, transaction state and interaction with the 'outside world' {Unclassified}

2005-09-08 Thread Craig Bennett
Mike, have a look at this MSMQ example from MSDN: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msmq/msmq_using_transactions_1gz2.asp I don't know if GCI presents any special problems under windows but this looks like it might work to send a single message transaction

Re: [U2] UD, MD5 Hash algoritm

2005-09-27 Thread Craig Bennett
Bjorn, the past few releases of UD have allowed the use of the ENCRYPT function specifically for MD5 hashing. I have some source code that Dave Meagher wrote. It claims to do encryption (BLOWFISH, CIPHER, ICRYPT, IDEA) and hashing (MD5, SHA1). I have no idea if it works but I can send it to

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

2005-09-29 Thread Craig Bennett
This thread, while starting on noble grounds of 'good' programming practices, will eventually turn into a pissing contest of implied standards. Will? --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/

Re: [U2] [UV][OT]Embed command in CSV file?

2005-10-23 Thread Craig Bennett
Anyone looking for the SYLK format can go to: http://www.wotsit.org/search.asp?page=2s=database Craig --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/

Re: [U2] Creating Multiple page RTF documents

2005-10-24 Thread Craig Bennett
Hi Harkinder, you should probably have a look at the RTF spec here http://www.wotsit.org/search.asp?page=3s=text From memory you want a \page Instruction to insert a page break or perhaps \sect To start a new section (which by default starts a new page) and will allow you to supply

  1   2   >