Re: [U2] {BDT] Commenting A Block Of Code

2013-01-09 Thread Peter Cheney
Hi Bill, In UV's ED use the (start block) and (end block) to define a block of code. Then do C//*/B This will prompt for confirmation of change block from line n through m. Alternatively in unix vi: :s/^/*/999 This will (s)ubstitue nothing at the beginning of each line (^) with an asterix

[U2] [UV Retrieve] Selecting file based on partial key

2013-01-14 Thread Peter Cheney
Dear U2 List, Is the below at all possible in universe retrieve please? I didn't think it was but there're a lot more clever people out there than I plus it's been too long since I was doing this regularly and cannot remember if it is or not. I cannot see anything obvious in the manuals. We

Re: [U2] [UV Retrieve] Selecting file based on partial key

2013-01-14 Thread Peter Cheney
FILENAME.INDEX0 F I__FILENAME/INDEX.000 (or other physical filename) for selection 3) GET.LIST ACC_LIST 4) QSELECT FILENAME.INDEX0 the active select list is the content of FILENAME.INDEX0 ... the keys you need I hope this help manu Manu Peter Cheney peter.che...@firstmac.com.au a écrit : Dear U2

Re: [U2] Unidata 6.1.13/AIX 5.3 Stops Unexpectedly

2013-01-16 Thread Peter Cheney
Not sure what it's called in AIX/IBM speak but if it was a Solaris machine I'd be finding the system console and looking at that to see if anything interesting is showing. At least then you have a direct serial connection (and/or K/B + monitor) facility to get directly to the host without

Re: [U2] Unidata 6.1.13/AIX 5.3 Stops Unexpectedly

2013-01-20 Thread Peter Cheney
Distance should not be an obstacle. You may not be able to physically access the console but console access should still be possible either by getting someone else to physically eyeball it or a launch remote console session yourself. How about using something like a Cyclades terminal server to

Re: [U2] Universal COMO

2013-01-23 Thread Peter Cheney
Hi Will, I think the biggest *con* you might come up against will be concurrency issues with multiple processes writing to the one central location. If you had a solution where each session log is unique amongst all processes then that would work very well. You will still need to clean it out

Re: [U2] Universal COMO

2013-01-23 Thread Peter Cheney
Or lymbollic sinks if you're little endian? :) -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Augusto Alonso Sent: Thursday, 24 January 2013 11:17 To: U2 Users List Subject: Re: [U2] Universal COMO What about

Re: [U2] Triggers in Universe

2013-01-28 Thread Peter Cheney
Could use the trigger program to call one or more external subroutines based on the trigger action required? I understand that the external subroutines are not cached and can be updated without needing to stop/start the master trigger. -Original Message- From:

Re: [U2] Searching for 'Bad' Dates

2013-01-29 Thread Peter Cheney
How about a DICT item that performs a match like 2n'/'2n'/'2n on that field? -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Greg Coelho Sent: Wednesday, 30 January 2013 8:38 To: u2-users@listserver.u2ug.org

[U2] UV: Generating XML from Retrieve

2013-02-05 Thread Peter Cheney
Hi Everyone, Hoping someone can help me here or at least point me in the right direction please. I am trying to generate xml output via a retrieve sentence so that a single valued field is either a) the parent to 3 multi-valued fields, or b) nested correctly within a parent element along with

Re: [U2] UV: Generating XML from Retrieve

2013-02-06 Thread Peter Cheney
...@listserver.u2ug.org] On Behalf Of Jeff Schasny Sent: Wednesday, 6 February 2013 3:03 To: U2 Users List Subject: Re: [U2] UV: Generating XML from Retrieve You might take a look at Cedarrville's DOWNLOAD utility ftp://ftp.cedarville.edu/download/download.pdf Peter Cheney wrote: Hi Everyone, Hoping

Re: [U2] Record locks (Unidata 7.2)

2013-02-07 Thread Peter Cheney
I think it would also be useful to add some form of exit routine inside the LOCKWAIT loop. Something like a counter to only allow say 10 attempts at trying to obtain the lock. That way you don't keep looping for ever if some other process which has the lock does not release it for whatever

Re: [U2] Record locks (Unidata 7.2)

2013-02-10 Thread Peter Cheney
In the example below what happens to the lock? Does it release if the write is not executed? If not shouldn't you have a RELEASE statement at the end after the last END? -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf

[U2] : Evaluating DCOUNT

2013-02-10 Thread Peter Cheney
Hi Everyone, Does a DCOUNT get evaluated again for each iteration of a loop? Or is UniVerse these days intelligent enough to keep track of what's going on? e.g. for i = 1 to dcount(array,@fm) *commands here next i versus totalattributes = dcount(array,@fm) for i = 1 to totalattributes

Re: [U2] AIX 5.3 IBMIHS Web Server

2013-02-19 Thread Peter Cheney
Perhaps a silly question but it's not something as simple as file permissions or owner/group membership or environment path is it? -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Kevin King Sent: Wednesday, 20

[U2] UV: Consuming https service from within UVBasic using SOAP

2013-02-19 Thread Peter Cheney
Hi Everyone, Think I'm suffering a bit from old dog new trick syndrome... Been reading up on and playing with the Soap functions in UV basic but can't seem to get any joy with https url that I've been supplied to use. Was wondering if anyone might have some advice? In particular I've been

Re: [U2] UV: Consuming https service from within UVBasic using SOAP

2013-02-20 Thread Peter Cheney
with endpoints that allow self cert -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Peter Cheney Sent: 20 February 2013 07:57 To: U2 Users List (u2-users@listserver.u2ug.org) Subject: [U2] UV: Consuming https service from

Re: [U2] UV: Consuming https service from within UVBasic using SOAP

2013-02-20 Thread Peter Cheney
Hi David, Thanks for the url - am going through this now and the accompanying log. It seems the host not found in hostlist error is not an issues so will continue investigating other causes. I do believe the answer will lie somewhere in my own malformed request so just need to work it out I

Re: [U2] UV: Consuming https service from within UVBasic using SOAP

2013-02-21 Thread Peter Cheney
...@listserver.u2ug.org] On Behalf Of Peter Cheney Sent: Thursday, 21 February 2013 11:44 AM To: U2 Users List Subject: Re: [U2] UV: Consuming https service from within UVBasic using SOAP Hi David, Thanks for the url - am going through this now and the accompanying log. It seems the host not found

Re: [U2] VOC Pointer

2013-03-04 Thread Peter Cheney
How about using scp with public/private key authentication running from a unix cron to scp from the windows host to a dir on the unix host? Requires ssh installed on both hosts. I've also installed Cygwin on a windows host in the past and used that for the ssh/scp component as you get a nice

Re: [U2] UV: Consuming https service from within UVBasic using SOAP

2013-03-05 Thread Peter Cheney
-Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Peter Cheney Sent: Thursday, 21 February 2013 11:44 AM To: U2 Users List Subject: Re: [U2] UV: Consuming https service from within UVBasic using SOAP Hi David

[U2] UV Creating a Soap Request

2013-04-16 Thread Peter Cheney
Hi Everyone, Recently I had some success getting a secure version of this to work etc. but now they want to change it to non-SSL so am trying to get plain old http to work. Using this example as a starting point: https://u2devzone.rocketsoftware.com/accelerate/articles/soap-api I've managed

Re: [U2] UV Creating a Soap Request

2013-04-16 Thread Peter Cheney
or hostname name, etc. SOAPAction: http://tempuri.org/IJobService/CreateJob1UserPartyRole Cheers, David -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Peter Cheney Sent: Tuesday, 16 April 2013 4:14 PM To: U2

Re: [U2] TCL input and response logging such as COMO

2013-04-25 Thread Peter Cheney
I guess it depends on what legislation you must comply with for auditing purposes and what you can get away with. If you have to log everything then I'd agree that the unix tee command as others suggest would be best. The following works OK on our AIX dev box but there are a few strange

Re: [U2] Running total

2013-07-03 Thread Peter Cheney
of @ (via @2 thus keeping it separate to @) and add it to SIZE which then becomes the new result (@) of the expressions and the whole thing is repeated. Does that sound about tight? Or have I got it way wrong? Cheers Peter Peter Cheney Universe Engineer t 07 3017 8837 | f 07 3002 8400 e

Re: [U2] [UV] Auto Starting Applications

2013-07-10 Thread Peter Cheney
Peter Cheney Universe Engineer t 07 3017 8837 | f 07 3002 8400 e peter.che...@firstmac.com.au | w www.firstmac.com.au From: u2-users-boun...@listserver.u2ug.org [u2-users-boun...@listserver.u2ug.org] on behalf of Kevin King [ke...@precisonline.com

Re: [U2] Mobile phones

2013-07-10 Thread Peter Cheney
as the remainder of the number is all numeric I can send it to our SMS gateway and job is done. We also have an alternative procedure/screen for customer service to use to circumvent the international SMS failures and edit/enable the related functions for those clients overseas. HTH Cheers Peter Peter

Re: [U2] Mobile phones

2013-07-11 Thread Peter Cheney
it looks like we'll be using this now and just storing the validated numbers in UV. Cheers Peter Peter Cheney Universe Engineer t 07 3017 8837 | f 07 3002 8400 e peter.che...@firstmac.com.au | w www.firstmac.com.au From: u2-users-boun

Re: [U2] Removing bad Q-pointers. Good idea or not so much?

2013-08-07 Thread Peter Cheney
the track? Peter Cheney Universe Engineer t 07 3017 8837 | f 07 3002 8400 e peter.che...@firstmac.com.au | w www.firstmac.com.au From: u2-users-boun...@listserver.u2ug.org [u2-users-boun...@listserver.u2ug.org] on behalf of Wjhonson [wjhon...@aol.com] Sent

Re: [U2] Universe Configuration --

2013-08-15 Thread Peter Cheney
From my UV9.4 internals manual in the UV data structures chapter... Sizing lock tables... - The file lock table has FSEMNUM (default 23) rows, each with FLTABSZ (default 11) entries. - The group lock table has GSEMNUM (default 23) rows, each with GLTABSZ (default 300) entries. - The

Re: [U2] Stumped on a WRITE failure

2013-08-18 Thread Peter Cheney
this. Conflicts with backups etc. Hope this is of some help. Cheers Peter Peter Cheney Universe Engineer t 07 3017 8837 | f 07 3002 8400 e peter.che...@firstmac.com.au | w www.firstmac.com.au From: u2-users-boun...@listserver.u2ug.org [u2-users-boun

Re: [U2] [UV] ED PERMISSIONS subroutine

2013-08-20 Thread Peter Cheney
be windows equivalent of unix /etc/nsswitch.conf). This would let the problem host resolve hostnames locally without the need to go to a (networked) DNS lookup. Then see if that improves the DNS response times? Peter Cheney Universe Engineer t 07 3017 8837 | f 07 3002 8400 e peter.che

[U2] Exchanging XML data instead of JSON between hosts via RESTful Server

2013-08-21 Thread Peter Cheney
in advance. Cheers Peter [Description: Description: https://www.firstmac.com.au]http://www.firstmac.com.au/ Peter Cheney Universe Engineer t 07 3017 8837 | f 07 3002 8400 e peter.che...@firstmac.com.aumailto:peter.che...@firstmac.com.au | w www.firstmac.com.auhttps://www.www.firstmac.com.au

[U2] resolved: RE: Exchanging XML data instead of JSON between hosts via RESTful Server

2013-08-21 Thread Peter Cheney
} } } } } } Larry Hiscock Western Computer Services -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Peter Cheney Sent: Wednesday, August 21, 2013 12:30 AM To: 'U2 Users List' ‎[u2-users@listserver.u2ug.org

Re: [U2] REPLICATING DATA

2013-09-03 Thread Peter Cheney
the Solaris dump/restore and once complete we'd dump the backup file systems off to tape and then rsync it to DR. The backup scripts were mostly perl but the rsync was ksh scripts. Only took a few months to hack together. The disks themselves were all under Veritas VM control. Regadrs, Peter Peter

[U2] UV Basic parsing xml with XDOM commands

2013-11-05 Thread Peter Cheney
[Description: Description: https://www.firstmac.com.au]https://webmail.firstmac.com.au/owa/redir.aspx?C=3TxBWxfLckGBVPoLiIA9bpVACaOTOtAI5wx873XG4iVimMG4ihRNvq2GjE8ncHzAUsu8CiQ8FdM.URL=http%3a%2f%2fwww.firstmac.com.au%2f Peter Cheney Universe Engineer t 07 3017 8837 | f 07 3002 8400 e

Re: [U2] Non-SQL re-entrant query calls are not allowed??? (UV 10.0.2 )

2013-11-07 Thread Peter Cheney
mentioned. Regards, Peter Peter Cheney Universe Engineer t 07 3017 8837 | f 07 3002 8400 e peter.che...@firstmac.com.au | w www.firstmac.com.au From: u2-users-boun...@listserver.u2ug.org u2-users-boun...@listserver.u2ug.org on behalf of George Gallen

Re: [U2] moving UV from one server to another (windows)

2013-11-18 Thread Peter Cheney
Hi Bob, Post migration, one thing for consideration might be user education regarding the new use of their workstation/PC? No more will the user just be able to re-boot it when it freezes etc or shut it down each night at home-o'clock. Cheers Peter On 19/11/13 05:55, Woodward, Bob wrote: Oh, I'd

Re: [U2] List of display control @ variables for UVBasic

2013-11-20 Thread Peter Cheney
Try in the UniVerse Basic Commands Reference manual - UniVerse BASIC Commands section - @ function Peter Cheney Ultracs Developer t 07 3017 8837 | f 07 3002 8400 e peter.che...@firstmac.com.au w firstmac.com.au On 20/11/13 07:54, Jeff Schasny wrote: Anyone know where the list of @ variables

Re: [U2] Exporting to File regularly

2013-12-11 Thread Peter Cheney
| tail -1` periodically in a cron job to derive the last updated record. Regards, Peter Peter Cheney Ultracs Developer t 07 3017 8837 | f 07 3002 8400 e peter.che...@firstmac.com.au w firstmac.com.au -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun

[U2] UV/Net usage and licensing

2013-12-11 Thread Peter Cheney
file access too please? Regards, Peter Peter Cheney Ultracs Developer t 07 3017 8837 | f 07 3002 8400 e peter.che...@firstmac.com.au w firstmac.com.au --- Note: This email (inc all attachments) is for the use

Re: [U2] UV/Net usage and licensing

2013-12-11 Thread Peter Cheney
to re-check the alignment of the actual UID and GID's as you mentioned below and perhaps turn on logging too. Thanks again for the other tips. Most appreciated. Regards, Peter Peter Cheney Ultracs Developer t 07 3017 8837 | f 07 3002 8400 e peter.che...@firstmac.com.au w firstmac.com.au

Re: [U2] UV/Net usage and licensing

2013-12-12 Thread Peter Cheney
Cheney Ultracs Developer t 07 3017 8837 | f 07 3002 8400 e peter.che...@firstmac.com.au w firstmac.com.au -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Peter Cheney Sent: Thursday, 12 December 2013 17:10 To: 'U2

Re: [U2] UniVerse Install on HP-Ux

2013-12-15 Thread Peter Cheney
then be able to cd to /tmp/mount and run the cpio command as root (or uvadm?) and follow the install instructions for hpux. # cpio -ivcBdum uv.load ./STARTUP # ./uv.load -longnames HTH Peter Peter Cheney Ultracs Developer t 07 3017 8837 | f 07 3002 8400 e peter.che...@firstmac.com.au w

Re: [U2] [OT] Interview Questions

2013-12-16 Thread Peter Cheney
IsThisThursday = (oconv(InternalLastPreviousMonth, 'DW') = 4) until IsThisThursday do InternalLastPreviousMonth -= 1 repeat if IsThisThursday then crt oconv(InternalLastPreviousMonth, 'D4') /code Peter Cheney Ultracs Developer t 07 3017 8837 | f 07 3002 8400 e peter.che...@firstmac.com.au w

Re: [U2] BASIC code - upper, lower, CamelCase, what say you?

2013-12-22 Thread Peter Cheney
introduced me to the joys of Emacs but am struggling to un-learn vi. Cheers Peter Peter Cheney Ultracs Developer t 07 3017 8837 | f 07 3002 8400 e peter.che...@firstmac.com.au w firstmac.com.au From: u2-users-boun...@listserver.u2ug.org u2-users

Re: [U2] [UV] INPUTTRAP Statement

2013-12-23 Thread Peter Cheney
Could you do this via a combination of the PTERM command's BREAK and INTR options along with the ON.ABORT etc? Something like changing the break from ctrl-C to another key combo during that session? Peter Cheney Ultracs Developer t 07 3017 8837 | f 07 3002 8400 e peter.che...@firstmac.com.au

[U2] Multi-threaded phantom processing

2014-03-04 Thread Peter Cheney
alternatives/advice so I can get a better appreciation of what else might be possible please? Many thanks in advance, Peter Peter Cheney Ultracs Developer t 07 3017 8837 | f 07 3002 8400 e peter.che...@firstmac.com.au w firstmac.com.au

Re: [U2] Multi-threaded phantom processing

2014-03-04 Thread Peter Cheney
to find a middle of the road solution and sockets was it. For the moment at least until they upgrade. :) Peter Cheney Ultracs Developer t 07 3017 8837 | f 07 3002 8400 e peter.che...@firstmac.com.au w firstmac.com.au -Original Message- From: u2-users-boun...@listserver.u2ug.org

Re: [U2] Multi-threaded phantom processing

2014-03-04 Thread Peter Cheney
more phantoms?), it would also need to select 1-n ports which I suppose must also be predetermined? Or is there a call to the OS that can return an unused port? We're on AIX but the remote host is HPUX. Cheers Peter Peter Cheney Ultracs Developer t 07 3017 8837 | f 07 3002 8400 e peter.che

Re: [U2] Multi-threaded phantom processing

2014-03-05 Thread Peter Cheney
://stackoverflow.com/questions/10294515/how-do-i-find-in-c-that-a-port-is-free-to-use So back in UV Basic we'd just call initServerSocket with the desired port number and action according to success or failure! Peter Cheney Ultracs Developer t 07 3017 8837 | f 07 3002 8400 e peter.che...@firstmac.com.au w

Re: [U2] Multi-threaded phantom processing

2014-03-06 Thread Peter Cheney
via another queue. Hence my question if there there's another possibly better way of doing it? It is nice to know if a particular phantom is busy or available though so that suggestion is certainly handy thanks. Peter Cheney Ultracs Developer t 07 3017 8837 | f 07 3002 8400 e peter.che

Re: [U2] Multi-threaded phantom processing

2014-03-06 Thread Peter Cheney
command that you could use to pause a phantom indefinitely. Then wake it up again via another command in another program (POKE I think) directed at its PID. It was a very handy tool back then but have not seen it or an equivalent since. Peter Cheney Ultracs Developer t 07 3017 8837 | f 07 3002

Re: [U2] Handle multi request

2014-03-06 Thread Peter Cheney
so just have to write the code. I’m releasing a beta version to test on 17th and there’s still plenty of work left for me to do. Cheers and thanks. Peter Peter Cheney Ultracs Developer t 07 3017 8837 | f 07 3002 8400 e peter.che...@firstmac.com.au w firstmac.com.au From: Van Rooyen, C

Re: [U2] Multi-threaded phantom processing

2014-03-06 Thread Peter Cheney
ends once the data starts flowing and we get some idea of what needs changing. Fingers, toes, arms, legs (and eyes!) all currently crossed. Cheers Peter Peter Cheney Ultracs Developer t 07 3017 8837 | f 07 3002 8400 e peter.che...@firstmac.com.au w firstmac.com.au -Original Message

Re: [U2] Unidata 7.2.6 Secure submitRequest Question

2014-03-24 Thread Peter Cheney
in your code with the security context (handle) that is returned? It should remain untouched for re-use down the chain of those remaining routines. Peter Cheney Ultracs Developer t 07 3017 8837 | f 07 3002 8400 e peter.che...@firstmac.com.au w firstmac.com.au -Original Message- From

[U2] [UV] Messing with file triggers and error 30107

2014-04-08 Thread Peter Cheney
then I recommend you check the file permissions of any newly created files that your code/modification is trying to write to. Regards, Peter Peter Cheney Ultracs Developer t 07 3017 8837 | f 07 3002 8400 e peter.che...@firstmac.com.au w firstmac.com.au

Re: [U2] [Universe] [Windows]

2014-05-06 Thread Peter Cheney
[PCTMP] $ So I'd be looking at the permissions of the parent folder as well as its contents. HTH Peter Peter Cheney Ultracs Developer t 07 3017 8837 | f 07 3002 8400 e peter.che...@firstmac.com.au w firstmac.com.au From: u2-users-boun

Re: [U2] Web services at 11.x

2014-05-14 Thread Peter Cheney
Basic extensions manual is where you need to look. It can be a steep learning curve if you have not done any of this before (it certainly was for me and I still don't understand some of it!). Peter Cheney Ultracs Developer t 07 3017 8837 | f 07 3002 8400 e peter.che...@firstmac.com.au w

Re: [U2] Web services at 11.x

2014-05-14 Thread Peter Cheney
Found the sample code ... https://u2devzone.rocketsoftware.com/accelerate/articles/soap-api/soap-api Peter Cheney Ultracs Developer t 07 3017 8837 | f 07 3002 8400 e peter.che...@firstmac.com.au w firstmac.com.au -Original Message- From: u2-users-boun...@listserver.u2ug.org

Re: [U2] Read yourself

2014-05-14 Thread Peter Cheney
the better of me and so I tried it and yes it does work as you described. Cheers and thanks Peter Peter Cheney Ultracs Developer t 07 3017 8837 | f 07 3002 8400 e peter.che...@firstmac.com.au w firstmac.com.au -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2