UniVerse 10.0.x and higher have the SWAP command in BASIC. Please refer to
our documentation regarding its use.
<-- original message -->
Is there a command to swap two array contents?
Like "matswap" array(x,y) will swap the contents of
array(x) -> array(y)
and array(y) -> array(x)
Without
t;
Sorry Leroy,
but swap only swaps non array values,
and the mat portion will swap one array with another array
I want to swap two values inside an array.
I tried swap a(1),a(2) but it did nothing
tried.
dim a(10)
a(1)=5
a(2)=6
print a(1),a(2)
swap a(1),a(2)
print a(1),a(2)
and got:
5 6
5 6
but
Dan,
Send me your organization name and address off-line and I will be happy to
have a CD sent to you.
Regards,
LeRoy F. Dreyfuss
Advanced Technical Services - UniVerse
IBM U2 Data Management Solutions
Tel: 303-672-1254 Fax: 303-294-4832
Mobile: 720-341-4317
External email: [EMAIL
Try using UNLOCK PSTATLOCK SEMAPHORE from TCL in the UV account. Perhaps
smat -s shows a PORT.STATUS lock in a state of 1?
Regards,
LeRoy F. Dreyfuss
Advanced Technical Services - UniVerse
IBM U2 Data Management Solutions
Tel: 303-672-1254 Fax: 303-294-4832
Mobile: 720-341-4317
Exter
Actually, at release 10+, it should be successful via Windows Task
Manager's kill option. UV 10 and higher use detached processes by default,
and KeepAlive (for tl_server processes) was added as well. If it really
becomes necessary to kill a process that for some reason has ignored its
KeepAli
ered for /associated with the process in
some way to make this menu option visible?
Since Wol said he _does_ see 'debug' in UniData, and I don't in UniVerse,
maybe there's something you guys could do in the UV product to make it
happen for us too? Please :-)
Thanks
Mike
---
Mike,
UniVerse does have some capabilities you may have forgotten about. Using
RAID, you can generate program/subroutine timings (#) and instruction
counting ($). Take a look at the RAID information in the BASIC book to see
if they help.
Regards,
LeRoy F. Dreyfuss
Advanced Technical Service
Your LIST statement needs the LPTR keyword.
Regards,
LeRoy F. Dreyfuss
Advanced Technical Services - UniVerse
IBM U2 Data Management Solutions
Tel: 303-672-1254 Fax: 303-294-4832
Mobile: 720-341-4317
External email: [EMAIL PROTECTED]
WWW: http://www.ibm.com/software/data/u2/suppor
Stuart,
I guess I missed something in Glenn's note. What exactly in the
documentation needs updating?
Regards,
LeRoy F. Dreyfuss
Advanced Technical Services - UniVerse
IBM U2 Data Management Solutions
Tel: 303-672-1254 Fax: 303-294-4832
Mobile: 720-341-4317
External email: [EMAIL
Dave,
Just thought you'd like to know that multi-threaded sorting is available
(via a uvconfig parameter) in 10.1.
Regards,
LeRoy F. Dreyfuss
Advanced Technical Services - UniVerse
IBM U2 Data Management Solutions
Tel: 303-672-1254 Fax: 303-294-4832
Mobile: 720-341-4317
External em
10 matches
Mail list logo