Re: [U2] EDI Question...

2014-01-02 Thread Craig Bennett
Hi Rob, I have a couple of options for you that will let you handle EDI in-house. Not MV specific but we do have serveral MV and U2 customers. Please email me at craig.benn...@flowsoftware.com.au if you are interested. Craig On 3 January 2014 12:50, da...@sysmarkinfo.com wrote: Robert,

Re: [U2] Pick Hits

2010-11-04 Thread Craig Bennett
In 1988 I believe, and then again in 1990 or so, Pick Systems published a book called Pick Hits which listed every vendor and what they were... vending. I thought that was the story of Leon Trotsky's assassination? ___ U2-Users mailing list

Re: [U2] U2 Web Services

2010-01-18 Thread Craig Bennett
Hi Dan, I have a java stack for sale to do this using REST and Uniobjects. Please contact me off list if you would like to discuss [craig AT amajuba.com] regards, Craig Dan McGrath wrote: Hi all, Are there any people out there currently using U2 Web Services in production? Do

Re: [U2] Updating AS400 Data from Universe

2009-07-01 Thread Craig Bennett
Hi Scott, have you considered an ODBC link and using BCI (the UV calling interface to ODBC)? A quick google suggests that ODBC interfaces are available for AS400. regards, Craig ___ U2-Users mailing list U2-Users@listserver.u2ug.org

Re: [U2] validate active directory username password from within unidata?

2009-03-18 Thread Craig Bennett
Any ideas how I might be able to validate active directory username password from within unidata? Contact br...@cross.net.au and see if he is still selling the LDAP interface I wrote for him. This will let you use a unibasic subroutine to query active directory including validating a username

Re: [U2] IDE

2009-03-17 Thread Craig Bennett
Norman Bauer wrote: I'll chime in that I use Emacs with UniBasic.elhttp://www.emacswiki.org/emacs/UniBasic.elfor basic code. Well if someone is going to make claim to Emacs, I'll have to point out how great Vim with the mvbasic syntax file is for basic code ... --- u2-users mailing

Re: [U2] biztalk adapter

2008-11-25 Thread Craig Bennett
Hi Bob, I believe Biztalk will talk to SOAP so have you might want to investigate the U2 Soap Server (assuming Biztalk can be customised to work within its limitations). Craig --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/

[U2] Joining the List

2008-08-05 Thread Craig Bennett
Hi List Admins, one of my guys applied to join the list a few weeks ago and still hasn't got a confirmation/invitation email. Any way to find out whats up? Craig --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/

Re: [U2] UniObjects and setting up Common Block

2008-07-15 Thread Craig Bennett
Hi Jason, I am an asp.net developer and a recent adopter of UniObjects to connect to our Universe database (our student records system). We are experiencing some issues with odd values returning from some IType dictionary items, which we have narrowed to the absence of initialised

Re: [U2] Getting daily data from SAP from Universe

2008-07-08 Thread Craig Bennett
Hi John, doesn't excel query SAP using ODBC? You might be able to do the same directly from UV or in your uniobjects client. Craig --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/

Re: [U2] Error Opening HOLD file

2008-06-12 Thread Craig Bennett
Have you looked in errlog? Are you using a READU and could you have so many simultaneous processes opening HOLD that you are exceeding the READU threshold? Craig --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/

Re: [U2] UniVerse to PDF {Unclassified}

2008-05-11 Thread Craig Bennett
Hi Mike, I wrote the system you are probably thinking of for CROSS Pty Ltd in Sydney. It will do small jobs in memory or you can build up enormous documents a character/line/page at a time writing to a sequential file handle. Whether this will generate 12k lines in 2 minutes probably depends

[U2] [UV] fixtool

2008-05-06 Thread Craig Bennett
Hi All, fixtool allows you to nominate a Diagnostic level between 1 and 10 using -level. Does anyone know what the different levels check? thanks, Craig --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/

Re: [U2] [UV] fixtool

2008-05-06 Thread Craig Bennett
Thanks Cliff, I didn't realise they were verbosity levels. So the actual checks performed are the same for every level? --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/

Re: [U2] UV SOAP into Tomcat

2008-03-29 Thread Craig Bennett
Please let us know if you hear from IBM. I have email u2askus and will post the results to the list. Craig --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/

Re: [U2] UV SOAP into Tomcat

2008-03-28 Thread Craig Bennett
UniSOAPServer is built on top of Jetty (it is embedded). So, it won't work under Tomcat, unless it has some kind of servlet mode hidden under the covers. Thanks David, I'll share the good news. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit

[U2] UV SOAP into Tomcat

2008-03-27 Thread Craig Bennett
Hi All, I know this has been asked before and I have tried reading the responses in the archives but I think I'm missing a step somewhere. The new UniSoap server can be run from a command line on any platform with java -- thats just a matter of classpaths and config files. Thats fine -- we

Re: [U2] test for a unix file?

2008-03-03 Thread Craig Bennett
To unsubscribe please visit http://listserver.u2ug.org/ -- Craig Bennett Director Amajuba Pty Ltd Phone: 02 9987 0161 Mobile: 0412448781 Fax: 02 8456 5943 --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/

Re: [U2] - Websphere MQ

2008-02-26 Thread Craig Bennett
The current interface works but is frustrating as the environment setup is difficult to track down. The AMI (which are the libraries U2 use to access MQ) is now deprecated so AMI configuration info is hard to find. Also there is no support for MQ transactions in the BASIC API -- so

Re: [U2] - Websphere MQ

2008-02-26 Thread Craig Bennett
BTW...Craig: Does the C.R.O.S.S. MQ Interface product (UniVerse edition) still exist? Or is no longer available? I think so -- anyone interested in a GCI interface to the MQI could try asking [EMAIL PROTECTED] Craig --- u2-users mailing list u2-users@listserver.u2ug.org To

Re: [U2] Unidata DOM/XML Features

2008-01-30 Thread Craig Bennett
Hi Kevin, The record is read from the file without difficulty and is a standard multi-attributed text string. The STATUS gets returned as -1 from the XDOMOpen even though the record is properly formed XML. The error code is 30 and the message is: U2 uses external libraries for XML parsing

Re: [U2] [UV] Selection help

2008-01-23 Thread Craig Bennett
@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ -- Craig Bennett Director Amajuba Pty Ltd Phone: 02 9987 0161 Mobile: 0412448781 Fax: 02 8456 5943 --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/

Re: [U2] testing

2007-12-29 Thread Craig Bennett
list I am on - they are pretty rare these days it seems You mean like the ratio of SQL to MV sites? --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/

Re: [U2] testing

2007-12-28 Thread Craig Bennett
://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ -- Craig Bennett Director Amajuba Pty Ltd Phone: 02 9987 0161 Mobile: 0412448781 Fax: 02 8456 5943 --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe

Re: [U2] Server Processors (Universe)

2007-12-28 Thread Craig Bennett
Dave, as far as I'm aware UV uses a process model for load balancing. This would mean that multiple processors will reduce CPU contention if you run multiple UV processes at the same time (assuming that the operating system allocates them to different CPUs). However multiple processors will

Re: [U2] Determining double-byte status of a character

2007-12-20 Thread Craig Bennett
Bob, can you use the UNISEQ function? or failing that BYTEVAL (testing for the multibyte character start byte)? Craig --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/

Re: [U2] universe syntax for vim?

2007-12-05 Thread Craig Bennett
! dougc --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ -- Craig Bennett Director Amajuba Pty Ltd Phone: 02 9987 0161 Mobile: 0412448781 Fax: 02 8456 5943 --- u2-users mailing list u2-users@listserver.u2ug.org

Re: [U2] Need to partially hide a file

2007-11-28 Thread Craig Bennett
--- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/

Re: [U2] Good Practice?

2007-11-26 Thread Craig Bennett
First, the value of F200.SCHEME.CODE of CK *cannot* trigger a false positive. TEST = '\AF1\CK1\CK2\H\LHC\MP\NU1\NU2\TK1\TK2\' IF INDEX(TEST,'\':F200.SCHEME.CODE:'\',1) THEN THAT = @FALSE If can if F200.SCHEME.CODE contains an embedded slash eg: F200.SCHEME.CODE = AF1\CK1 ---

Re: [U2] Fastest Bi-Directional data transfer btwn MV and non

2007-10-23 Thread Craig Bennett
Baker, if you want something that will run pretty much anywhere, high throughput and all the transport level thinking done for you why not IBM MQSeries (Websphere MQ). Pretty easy to integrate into any of the MV's through the C libraries and IBM already make it available in UV/UD. Maybe

[U2] U2 gone AWOL on IBM site again?

2007-10-15 Thread Craig Bennett
Is it just me or have the links to U2 from the IBM product directory gone missing again? --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/

Re: [U2] [UV] Using VI instead of ED for EDIT-LIST [not-secure]

2007-10-11 Thread Craig Bennett
will be there. Mark Hennessey -Original Message- [mailto:[EMAIL PROTECTED] On Behalf Of Craig Bennett Sent: Wednesday, October 10, 2007 10:17 PM Hi All, But if you edit the EDIT-LIST verb in your VOC and replace ED SAVEDLISTS with UV.VI SAVEDLISTS EDIT-LIST runs VI to edit your list. cheers

[U2] [UV] Using VI instead of ED for EDIT-LIST

2007-10-10 Thread Craig Bennett
Hi All, just a quick trick I discovered today: I like editing savedlists using EDIT-LIST but I hate using ED. UV.VI SAVEDLISTS listname Works fine but typing SAVEDLISTS is tedious. But if you edit the EDIT-LIST verb in your VOC and replace ED SAVEDLISTS with UV.VI SAVEDLISTS EDIT-LIST

Re: [U2] Product Distribution Methods

2007-09-12 Thread Craig Bennett
Hi Dave, Our system is far too complex to describe here in a single email, but I'd like to discuss the topic in general with anyone who needs to distribute their server-based code to clients, whether external or internal. I'm willing to provide specifics; I just don't want to bore everyone else

Re: [U2] Religious Wars

2007-09-11 Thread Craig Bennett
Hi Charles, I can't post this to U2-Community as I'm not subscribed so apologies for posting here. I remember the solipsistic and personal threads and do not miss them. I much prefer and value the moderated list and have nothing but thanks and appreciation (and a beverage of choice if your

Re: [U2] Binary data corruption on copy

2007-08-22 Thread Craig Bennett
The OP was worried about a Unix directory not being able to handle the thousands of jpegs he had. Oh. Then in UV a type 1 file would be the go (assuming filenames are longer than 14 characters or perhaps using a mapping file to convert file ids to something that would spread nicely) these

Re: [U2] Binary data corruption on copy

2007-08-22 Thread Craig Bennett
I was suggesting type 1 to use the 14 character restriction so that there wouldn't be too many files in a single directory. phil walker wrote: Use type 19 to get around the 14 character restriction. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit

Re: [U2] Binary data corruption on copy

2007-08-21 Thread Craig Bennett
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/ -- Craig Bennett Director Amajuba Pty Ltd Phone: 02 9987 0161 Mobile: 0412448781 Fax: 02 8456 5943 --- u2-users mailing

Re: [U2] U2 University {Unclassified}

2007-08-19 Thread Craig Bennett
Is there going to be a U2UG catch up at the Sydney event? I'd like to put some faces to names especially with the NZ crowd. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/

Re: [U2] U2 AMI Interface

2007-08-05 Thread Craig Bennett
Hi Herve, thanks for the information. I think I'll write some C code and see if the problem happens there as well. regards, Craig Herve Balestrieri wrote: Craig, The behaviour you describe is related to WebSphere MQ, not the U2AMI interface. This interface is purely programmatic with the

Re: [U2] Socket API problem

2007-08-02 Thread Craig Bennett
Hi Nick, I don't have an answer to your licensing problem, but have you considered running your listener from inetd or a similar superserver? In this setup your inetd daemon (or service on windows) listens on your known port, when a request comes in the superserver starts a UV process to

[U2] U2 AMI Interface

2007-08-02 Thread Craig Bennett
Hi, is anyone actually using the U2AMI interface to talk to MQ Series? Have you experienced a problem where a timeout does not occur if your send a request with amSendRequest and no response is returned regardless of the timeout setting in the policy used? regards, Craig --- u2-users

Re: [U2] [AD] Single Signon for U2 - Identity Management ?

2007-04-20 Thread Craig Bennett
Not sure how to best call out from u2 to ldap - callc or uv equivalent possibly? Sadly AFAIK u2 _still_ doesn't have the much discussed callJava functionality. CROSS at www.cross.net.au sell a native LDAP client for U2 which will allow you to authenticate credentials against AD or OpenLDAP.

[U2] Wintegrate Scripting for Images

2007-04-18 Thread Craig Bennett
Hi All, does anyone know if Wintegrate can be scripted to change the background image at run time? I want to display a scanned image for behind a data entry screen. regards, Craig --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit

Re: [U2] [UV] Assignable SYSTEM() functions

2007-04-17 Thread Craig Bennett
Hi Ray, below is a copy of an email from Glen Herbert to the list from 2001 which includes a few. Craig Original Message Subject:Re: UV: ASSIGN Date: Thu, 1 Nov 2001 01:01:29 +1100 From: Glenn Herbert [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To:

[U2] Changing Subscribed Email Address

2007-04-10 Thread Craig Bennett
Dear Moderators, please tell me how I can change the email address by which I subscribe to the list? thanks, Craig --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/

Re: [U2] Changing Subscribed Email Address

2007-04-10 Thread Craig Bennett
Thanks Chuck. Craig, Go to this site for full information: http://listserver.u2ug.org/ You can handle the unsubscribe and the new subscription using the instructions there. - Chuck --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit

Re: [U2] PRINTERS getting set up using Jet Direct/AIX

2007-03-26 Thread Craig Bennett
I totally agree with Karl, but for added flexibility Put the IP address in, or the printer name if it's under your DNServer that way. Add the port as the name of the queue on the remote host. For Jetdirects, you can use 9100 or RAW1, 9101, RAW2, etc. Don't use a static IP address here even

Re: [U2] Upper Case and Editors

2007-03-15 Thread Craig Bennett
Hi Arnold, I haven't really been following this thread -- I gave up and learned to love THE BOMB years ago (despite coming to UV from a C background). With all the above (and more!) happening, I find it annoying having to switch caps-lock all the time - what happens a lot is that I switch to

Re: [U2] Upper Case and Editors

2007-03-15 Thread Craig Bennett
Such nobility of spirit! Arnold Bosch wrote: Thanks Craig - I'm aware of PTERM -CASE INVERT. Unfortunately updating the LOGIN paragraph is not an option, as it impacts 75+ other users. The best I can do is to manually issue the command each time I get to TCL. So sometimes one has to suffer

Re: [U2] IBM Course U2125 in Australia/NZ? {Unclassified}

2007-01-30 Thread Craig Bennett
Mike, if you get the course going in NZ, I could fly my candidate out -- no sense waiting for a quorum in Sydney. I've been certifiable for years, Craig HENDERSON MIKE, MR wrote: Thanks, Ray Training Choice don't appear to have a presence in NZ, they sub-contract to Ace Training, who

Re: [U2] IBM Course U2125 in Australia? {Unclassified}

2007-01-29 Thread Craig Bennett
If the course runs in Sydney, I have a candidate too. Craig HENDERSON MIKE, MR wrote: Oz Folks, The IBM Course U2125 IBM UniVerse UniData Database Programming (or its predecessors) has not been delivered in NZ for ages, despite my having a standing order with the alleged provider for about

[U2] [BB] Cross Platform Compilation and Licence Identification

2006-12-17 Thread Craig Bennett
We develop software to run both on UniData and UniVerse. We currently use a common code base and $DEFINE/$IFDEF to customize code for each platform. eg: $DEFINE C_UNIVERSE $IFDEF C_UNIVERSE Do UV specific stuff here $ENDIF It would be great if the compiler could identify what platform

Re: [U2] [BB] Internal functions in Basic

2006-12-17 Thread Craig Bennett
I'd really appreciate a way to write an internal function which can have parameters and can contain it's own local variables (although global variables would be OK). Often it's just not worth the effort to write a full blown external function that's only called a few times by one program.

Re: [U2] Re: SYSTEM() to identify PE - wish granted!

2006-11-09 Thread Craig Bennett
Wally Terhune wrote: all you have to do is ask :-) At UniData 7.1.5 (from the readme): Thanks Wally! --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/

Re: [U2] The Next Big Thing

2006-11-08 Thread Craig Bennett
This NBT product for non-mv users must be packaged with some simple applications that work out of the box, that do things that can't be done with competitive products, that wow the new users and that the new users can use in their everyday lives. Perhaps IBM could add a SYSTEM() code which

Re: [U2] [OT] goodbye to the list(s)

2006-10-24 Thread Craig Bennett
Farewell Claus. Have fun in the Sunny North Sea (Oh, you meant THAT North Sea). Craig --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/

Re: [U2] Sockets Universe Question

2006-10-17 Thread Craig Bennett
Anthony, If you are the client (ie contacting the bank) why are you using initserversocket? Initserversocket creates a process to listen for incoming connections binding to one of your local IP addresses (eg 192.168.1.1 from your example). To connect to the bank you need to use opensocket

Re: [U2] wIntegrate Editor Printer Font Size

2006-09-20 Thread Craig Bennett
Hi Russ, I'm looking for a method of changing the font size that the wIntegrate Editor uses when sending output to the printer. In wIntegrate 6. Select printer setup from the File menu. Tick the Use Font box and select your font. The setting appears to be session specific and you need to

Re: [U2] Reading Binary data from a file...

2006-07-30 Thread Craig Bennett
Ray Wurlod wrote: Prefer UNISEQ and UNICHAR to SEQ and CHAR respectively if there's any possibility that NLS might be enabled. BYTEVAL can be misleading; it only reports the value of a single byte, which may be a lead or trailing byte of a multi-byte character. Wouldn't the raw bytes be

Re: SpamSlayer Alert: [U2] Reading Binary data from a file...

2006-07-30 Thread Craig Bennett
George Gallen wrote: When assigning 1 to System(1017), does that only affect the current process, or all processes running on UV? So, does System(1017) get reset when the program terminates? or do I need to set it back to normal. The setting is per-process and is reset when the program

Re: [U2] Reading Binary data from a file...

2006-07-27 Thread Craig Bennett
George, use OPENSEQ and READBLK to read the raw data without conversion then use BYTEVAL (not SEQ as this may be affected by NLS) to determine the ASCII character/byte value. Alternatively if you have memory to spare: OPEN TYPE19FILE TO FT ELSE STOP ASSIGN 1 TO SYSTEM(1017) ;* Disable UV

Re: SpamSlayer Alert: [U2] Reading Binary data from a file...

2006-07-27 Thread Craig Bennett
George it does require ASSIGN 1 TO SYSTEM(1017) or UV will convert any CHAR(10) or CHAR(13):CHAR(10) sequence to CHAR(254) on a read and the reverse on a write. George Gallen wrote: never mindIt didn't require anything special. I didn't think I could read binary into a varible if it had a

Re: [U2][AD] PDF Document

2006-06-28 Thread Craig Bennett
Andy, its not the exact solution you describe but it may be simpler to use from BASIC. We sell a native PDF generator for U2 (no shells, or external programs just BASIC subroutines to call). Have a look at www.cross.net.au/pdf.asp if you are interested. regards, Craig Bennett --- u2

Re: [U2] [UD] XML levels question

2006-06-28 Thread Craig Bennett
Arthur, I have a Purchase Order XML file that I need to load into UniData, the problem is that it has 4 levels to it. I can read it to the SVM level (3) with the extraction file, but what do I do about level 4? I tried using two extraction files, one for the 'Header' information. And one

Re: [U2] Duplicate Print Jobs

2006-06-05 Thread Craig Bennett
Karl, We are on AIX 5.2, but could set the printer up on a PC somewheres. How large a job? Do you know? One printer is dedicated to checks, so it may be tough to get a big enough job to test with, however that's not as bad as it is now. why not sending your print jobs to a unix file (HOLD

Re: [U2] Duplicate Print Jobs

2006-06-01 Thread Craig Bennett
Karl, When we print very large jobs, either to HP laser printers with a JetDirect card, or to label printers, on a JetDirect print server, the job prints fine, then starts over. I've been thinking it might be a buffer overflow, but can't track it down. We have had similar issues due to a

Re: [U2][UV][AD] MQSeries and UniVerse

2006-05-30 Thread Craig Bennett
The current implementation uses the AMI interface to MQ series. However AMI is now EOL'd by the IBM MQ group and a new interface will be available shortly. And if you get bored waiting for IBM visit http://www.cross.net.au/mqmv.asp. Our MQ Series interface using GCI was available long before

Re: [U2] [UV] Active Directory, RHEL 4 integration and issues with UV

2006-05-17 Thread Craig Bennett
Phil, Has anyone configured their RHEL 4.0 system to authenticate against their active directory, to hopefully overcome the administration cost of maintaining both Linux and Windows security. I haven't done this but I do recall an issue last year on the mailing list where uniobjects would

Re: Fw: [U2] Unidata logging of BASIC Runtime errors {Unclassified}

2006-05-11 Thread Craig Bennett
Mike, But actually, if you're on UV 10.1 you can use the new GCI function UVRunCommand [see Issue Number 5616 in the Release Notes] even in transaction State. Gee, another reason to upgrade! :-) Or you could call the windows api functions directly from GCI. I'd find you the reference in

Re: [U2] xls to text

2006-05-11 Thread Craig Bennett
Rudy, Does anyone know where I can get FREE software that will convert Excel files to text files in command line mode ? Have you considered a perl script? The Spreadsheet::ParseExcel::Simple module is very easy to use. This might even work for you (no promises there aren't errors):

Re: Fw: [U2] Unidata logging of BASIC Runtime errors

2006-05-10 Thread Craig Bennett
Wally, Collect your thoughts and funnel them thru the U2UG Better and Better committee... That is likely a better way than flooding this list. Just my recommendation. As a UV user I don't mind what happens to UniData; but wouldn't it be great if UV and UD logged to syslog (every platform

Re: Fw: [U2] Unidata logging of BASIC Runtime errors {Unclassified}

2006-05-10 Thread Craig Bennett
Mike, Yes, Yes, YES! CALL OSEventLog(Category, Type, EventID, DescriptionText) surely that one is easy using GCI? If you really want it (excuse the unix version, can error logging from C be that much harder in windows?) #include syslog.h void OSEventLog(int priority, char* message){

Re: [U2] Changes to mail list configurations

2006-02-27 Thread Craig Bennett
Unusually, I agree with Tony. Perhaps we should have talked on the list before making a change like this? Craig --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/

Re: [U2] [UD] XML Question...

2006-01-12 Thread Craig Bennett
David, So... Now I'm sitting in my UniBASIC routine, with a complete XML document in hand, assigned to a UniBASIC Variable - but - and this is the part that confuddles me - it appears none of the U2 UniBASIC XML extensions would be usable against that XML item held in a variable unless I write

Re: [U2] More Credit Card Info

2005-12-05 Thread Craig Bennett
JayJay, A new version of the interface calling MQ Series should be available shortly (an API avoiding the need to call AMI). do you know if the now MQ interface will support transactions? ie MQBEGIN,MQCOMMIT etc? regards, Craig --- u2-users mailing list

Re: [U2][AD] More Credit Card Info

2005-12-05 Thread Craig Bennett
Phil, contact me off-list if you need an MQ interface for RHEL. We sell the GCI code to do it. Craig --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/

Re: [U2] [UV] - word Document

2005-12-04 Thread Craig Bennett
Hi Bjorn, We generate a 'text/word' document from Universe. What I would like to know is does anybody know what characters I need to place in the document so that when it is opened up in Word, it is in landscape format? I don't think you will be able to do this from a text file -- word will

Re: [U2] C-KERMIT in windows

2005-11-13 Thread Craig Bennett
David, have you tried downloading Kermit from Columbia University? http://www.columbia.edu/kermit/ regards, Craig --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/

Re: [U2] Bug in UV.VI

2005-11-02 Thread Craig Bennett
Hi Karl, Below is an email from Tony Wood explaining how to patch UV.VI to work correctly. Apparanently IBM have had a GTAR outstanding for years but it isn't considered important enough to fix (you can use ED after all). Craig Original Message Subject: Re: [UV] file

Re: [U2] PDF Efficiency

2005-10-30 Thread Craig Bennett
Fine by me Anthony. Accidental banner adverts are ok too. Anthony Dzikiewicz wrote: I apologize to everyone for the post about PDF. I used the wrong to address. I think I've done this before. I suspect I will be banned from the list. This was meant for Craig Bennet. I will try not to do

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

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] 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] 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] [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] [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] 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] [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] 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] [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] 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] 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] 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] 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] 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] [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/

  1   2   >