Re: [U2] [OT] Need Lexmark 6150 Multifunction Printer Software

2014-03-30 Thread Anthonys Lists

On 30/03/2014 16:12, Charlie Noah wrote:
I always thought drivers resided on the computer, not the printer. Oh 
well, learn something new every day. 


I think they do. Microsoft have some mode where you install the drivers 
on the computer that the printer is attached to, but they have to be 
able to run on the computer that is doing the printing. The best way to 
explain it is to assume that we have a bunch of printers physically 
attached to a linux/samba print server. You can install the windows 
drivers onto the linux machine, and when a windows machine wants to 
print it pulls the drivers down and uses them.


So in this example, if you didn't have your fancy compatibility hack you 
could have the printer attached to an XP machine. But your Windows 7 
machine still wouldn't be able to print, because it couldn't pass the 
job to the XP machine to use the XP drivers, and there aren't any 7 
drivers for the machine to pull down and use.


That said, I shall have to investigate this fix. My father-in-law has a 
printer that has no Win7 drivers, so anything he wants to print he has 
to save onto his XP machine and print from there. If I can use that hack 
... :-)


Cheers,
Wol
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] SpreadsheetML and Excel2013

2014-03-24 Thread Anthonys Lists

On 24/03/2014 18:31, Bill Haskett wrote:
I'm not using 2013.  A friend was showing me that the new word and 
excel files were nothing but XML inside a zip file.  So, open a 
.xlsx or .docx file with a zip client and you can actually see its 
contents.  Kind of amazing. 


Copying free software ... I'm not sure how long this has been in the 
Open Document formats, but it's quite a while. Mind you, I didn't know 
that MS's documents were zip archives - I knew it was true of 
Libreoffice et al.


Libreoffice and its predecessors like to trumpet that they are great 
tools for recovering corrupt MS documents - bit embarrasing for them 
that I have had to - on one occasion - use Excel to recover a corrupt 
OOo spreadsheet! I split open the zip document, retrieved the xml, and 
tried to read it back into calc. Could I heck! It refused to recognise 
it and even when I tried to force calc to open it it passed it over to 
writer. Finally I had to open it in Excel, save it as an xls, and import 
it back into calc.


Cheers,
Wol
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Dump truck backup

2014-03-10 Thread Anthonys Lists

On 10/03/2014 21:11, Dale Kelley wrote:

along with it the
nature of my character based software and some reactions to UviVerse as a
product.
You could also quietly point out, if he's worried about UniVerse, that 
although IBM sold it, when they did so it was near enough HALF of their 
DB2 division. I'm sure he's heard of DB2 - that will tell him that U2's 
market share is pretty much the same as IBM's currrent database market 
share.


Surely that means there's plenty of people out there who know the system 
(yes I know, the problem is finding them...)


Cheers,
Wol
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Left Outer Join Question

2014-03-03 Thread Anthonys Lists

On 03/03/2014 19:06, randyleesmith wrote:

I've found that you can keep on going too as long as the keys are the same.


:SELECT FILE1
xxx items selected.

NSELECT FILE 2

yyy items selected.

NSELECT FILE 3

zzz items selected.

Turns out I may need to do it this way.

Cool.

u2 neither knows nor cares how you get a select list, so each subsequent 
NSELECT doesn't know that the current list is the result of an NSELECT 
rather than a SELECT.


The other way to do it is
SELECT FILE1 TO 1
SELECT FILE2 TO 2
SELECT FILE3 TO 3
and then use commands that combine select lists. I can't remember what 
they are because I've never used them.


Cheers,
Wol
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] How do you verify windows printer is good before fatal error by PRINTing to a bogus printer.

2014-01-30 Thread Anthonys Lists

On 30/01/2014 22:15, Charles Stevenson wrote:
Thanks Anthony.  Yeah, it you can find the code w/o too much trouble, 
I'd be interested.


BTW,  it's impressive how little printing this company actually does.  
Remember that promise of a paperless society?   Maybe we're getting 
there.   Good.  I hate printers.  Always have.


I'll see if I can find them for you. But it'll have to wait as it's long 
past bed-time here :-)


The company I learnt all about printers at ... when I started there they 
had a full-blown printing press in the basement!


But by the time I left all the info was going out on CDs or over the web.

Cheers,
Wol
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] How do you verify windows printer is good before fatal error by PRINTing to a bogus printer.

2014-01-29 Thread Anthonys Lists

On 28/01/2014 20:59, Charles Stevenson wrote:

Anthony pretty much nailed how we're doing it.

But my original question is still unanswered.
I want to make sure it's a valid printer before I start printing to it.
I think I problably need to do something like
EXECUTE DOS /C [some-command] \\MY_PRINT_SERVER\PrinterName 
CAPTURING DOSMSG

IF DOSMSG = [something bad] THEN  . . .

I was hoping someone in this august body had crossed that bridge before.


We never had that problem.

I had a PRINTER subroutine or suchlike that accessed a printers file 
with all the parameters. Any programatic (or user command line) attempt 
to access a printer was via my stuff, that checked this file, and set 
things up accordingly.


So as far as eg accounts was concerned, they had the ACCOUNTS printer. 
Whenever anything changed, I simply changed the ACCOUNTS entry in the 
parameter file. Very useful, because on the odd occasion when a printer 
went down I just made a temporary change to the file and everything got 
diverted :-)


If tyou're interested, let me know and I'll see if I can find the code - 
I know I had it but it's a long time ago ...


Cheers,
Wol
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Migrating UniVerse 10.1.20 on HP-UX to UV 11.x on Redhat Linux

2014-01-08 Thread Anthonys Lists

On 08/01/2014 06:34, Hona, David wrote:

Did you use format.conv (UNIX / DOS/Windows command) or FORMAT.CONV (TCL 
command) on the HPUX sourced files that restored - post-restore? This will convert them 
into the format required for the target system...


I hate to say it, but I think you've missed something crucial ...

iirc FORMAT.CONV doesn't affect file format, rather it changes the date 
format from American to European, so that's the wrong command.


HOWEVER the OP used UVBACKUP / UVRESTORE, the whold point of which is to 
*avoid* all these endian problems! UVBACKUP dumps the database as 
*text*, and then UVRESTORE puts it back. So the file should be created 
on the new system in the new endian format without any problems.


There are many options to choose from...see Admin.pdf (In the UV11.1 edition, 
see section 15-21 - PDF page 362 or do a TCL HELP FORMAT.CONV)

A quick google would've revealed to you the following thread... which could be 
useful as well...
http://u2-universe-unidata.1073795.n5.nabble.com/UniVerse-On-RedHat-td7144.html



Bearing in mind I've never done this, what I would try is ...

Do a UVBACKUP at the account level to save the account on the old system.

Delete the contents of the account directory on the new system, then run 
UV to create a new empty account.


UVRESTORE your backup into the directory.

A lot more hassle than a global UVBACKUP / UVRESTORE if you have 
multiple accounts, but it might work.


The other thing is to put a fault call into Rocket, because this ought 
to work!


I wonder ... could it be because the new system has a newer version of 
UV, and somehow the account upgrade mechanism is cutting in and 
messing up?


Cheers,
Wol
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] UniVerse Install on HP-Ux

2013-12-16 Thread Anthonys Lists

On 16/12/2013 18:14, George Gallen wrote:

Also, check your uv.load to see if it does an uncompress
Then make sure your OS has that command
If not, I changed mine from uncompress to gunzip in the uv.load
I guess you could also cp gunzip uncompress as well

Ummm.

If you've got that problem ... I know when I was installing it, I was 
installing it on SuSE, for which it isn't certified. And the options to 
cpio changed - the default of some option was inverted! - so with UV 
certified for the old cpio and me running the new one, it was quite a 
mess :-)


But at the end of the day it was pretty easy to go in and edit the script.

Cheers,
Wol
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] [OT] Interview Questions

2013-12-16 Thread Anthonys Lists

On 17/12/2013 00:17, Wjhonson wrote:

What is the last Thursday of the current month.

Current Date minus Current Day of Month number plus 1 puts you on the first of 
the current month
Or you could just Oconv d2/ and replace the middle number with 01 with Iconv 
that.


Actually, I think that'll screw up pretty spectacularly! OCONV(@TODAY, 
D2) gives me 17/12/13. If I replace the middle number (or if Kevin 
replaced the middle number) we'd both end up somewhere in January! Why 
do you Yanks put the least significant number in the middle? That's crazy!


If you want the first of the month, the easiest way to do it is

FIRST = 01/:OCONV(@TODAY,D2[M,Y])

(if I've remembered my syntax correctly). Then to get that into internal 
format


I_FIRST = ICONV(FIRST, D2DMY)

You should NEVER assume that dates are in the format you expect, unless 
you are in control (which you aren't, here, seeing as you've messed up 
pretty spectacularly :-)


Cheers,
Wol

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] [OT] Interview Questions

2013-12-16 Thread Anthonys Lists

On 16/12/2013 23:42, Robert Frailey wrote:

 Some of the biggest mistakes you made.
Corrupted the first install of Exchange, messed up all the right but 
made a backup bgefore I did it, saved the day. 
What's really annoying is when the experts mess up - especially when 
they were instructed not to!


I set up an Exchange server, but my manager got a consultant in to redo 
it. We had a user, ExchangeAdmin, for precisely that task.


So what did the consultant do (despite, as I say, being told not to)? He 
used Administrator as the Exchange admin id. Dunno if they've changed 
it, but it always used to be re-install Exchange if you change the 
admin password. Then the MD sacked out network administrator and 
demanded we changed all the master passwords ... cue chaos as Exchange 
broke and had to be rebuilt ...


Cheers,
Wol
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] REPLICATING DATA

2013-09-04 Thread Anthonys Lists

On 04/09/2013 20:27, Ard956 wrote:

We are on Windows Server 2003.
I think you can get rsync for Windows, but also investigate robocopy. I 
don't know whether that can do the same.


Basically, rsync will normally check file metadata and not try to copy 
stuff if it hasn't changed. If the metadata has changed, it will then 
compare MD5 sums or whatever of chunks of the file to identify which 
bits have changed. That way, if you have a 2Gb file and change one 
record, rsync will find the changed block and send just that, without 
having to copy the entire file.


If you can find something like that, it'll give you far shorter network 
backup times.


(Combined with DBPAUSE/DBRESUME, it might well give you zero backup 
downtime as seen by the users.)


Cheers,
Wol


Sent from my iPad

On Sep 3, 2013, at 1:45 PM, Wols Lists antli...@youngman.org.uk wrote:


On 03/09/13 18:33, Ard956 wrote:

and we would keep replication in place as a DR solution.

What OS are you on?

Given that, I'd be inclined to use rsync - DBPAUSE the database to make
sure it's quiescent, run an rsync, and then bring the database back.

Dunno what the Windows equivalent of rsync is, but if you're backing up
across machines, rsync tries to not copy stuff that hasn't changed.

Cheers,
Wol


Sent from my iPad

On Sep 3, 2013, at 1:30 PM, Ard956 ard...@optonline.net wrote:


We are moving our servers to a new colo and wanted to replicate from the server 
in the old colo to the one in the new colo and then flip over to the new server 
one weekend.  Looking to have minimal down time.


Sent from my iPad

On Sep 3, 2013, at 12:26 PM, Baker Hughes baker.hug...@mouser.com wrote:


Andrea - are you wanting to replicate for the purposes of having a warm backup 
as DR solution, or for reporting from, or some (what) other purpose?

This question will dictate the strategy and what tools to employ.  We copied 
the entire db every night to a hot system for Business Analysis.  That was put 
in place before EDA was available.

You could spend a lot of resources and time cobbling a 'replication solution' 
into place, while trying to dodge an upgrade... and perhaps spend more and have 
less satisfactory results than proceeding with standard methodology (upgrade to 
get the new toolset).

HTH.
-Baker


-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Ard956
Sent: Tuesday, September 03, 2013 11:19 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] REPLICATING DATA

Does anyone do replication with a tool outside of the U2 toolbox?  We are on UV 
10.2.10 which does not support UV replication.  We have no plans to upgrade at 
this time but need a backup for our Universe server.  Our database is about 
180GB.

Thank you,

Andrea Dente
Taylored Services

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users



___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Unidata 7.1.22/AIX - Stack overflow

2013-08-10 Thread Anthonys Lists

On 10/08/2013 21:12, Kevin King wrote:

We have a customer that has a program (and associated subroutines) that has
not been modified in a good long while.  Just this past week it started
blowing up with a memory failure and segfault at different times in the
process.  Unidata was recently restarted.


Did it start happening at the same time as Unidata was restarted? I 
suspect you don't actually know.


I'm suspecting that some bit of code in this quagmire is doing some GOSUBs
and not unravelling the stack, and eventually it's just running out of
stack space.  But ... how can I prove this without stepping through the
code line by line?  Is there something in the Unidata debugger that shows
the GOSUB stack?

I've tried running this through the MM -E trick (this is a SB+ app, btw)
and it never drops in the debugger when this happens, the process just
terminates and returns to AIX.  So I'm a little uncertain as to how to go
about figuring this one out.


Not knowing what MM -E is, I don't know what this is supposed to do, but 
surely a basic stack overflow should not crash Unidata itself?


The first thing  I'd be inclined to rule out is a hardware failure of 
some sort. Can you run a memory test?


Any ideas?


Just my tuppence worth - if it's worth even that ... :-)

Cheers,
Wol
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] CentOS with Universe?

2013-07-17 Thread Anthonys Lists

On 17/07/2013 19:09, Bill Haskett wrote:

Dawn:

I kind of figured.  :-)  Whatever you decide, I'm sure would be fine.  
I would just not look for anything free, because nothing is free.


It's only free if your time is worth nothing - I think that's one of 
Tony's quotes. Just don't forget, linux is Free, which is completely 
different.


I run everything on Windows because everything in the O/S is updated 
and I know every machine I run is running the same version of 
Windows.  It seems when Windows updates I have very few problems with 
the software I'm running on the machine. Surprisingly, this makes my 
life a lot easier.  IIS is easy to install, and 3rd party SFTP is too, 
with virtual accounts as act like real Windows accounts.


And yet we hear loads of stories about how updates regularly break 
Windows ... although they tend to be client stuff that suffers most of 
that. The counter-advantage of linux is it's easy to run a stripped-down 
box with only the services you want. Especially with a net-facing 
system, how easy is it to run Windows with everything except IIS 
locked-down/disabled/deleted?


And on linux you have total control over updates too. I don't think you 
want to run gentoo like me, but if you've got someone who can administer 
the system you could run Apache on one system facing the net, on a 
totally locked-down system (maybe even with a DVD as your system drive) 
with a firewall between that and your UV system.


I'd be a little bit worried about having just one Windows system, 
net-facing, running both the web server and the database.


Although I run UniData, I think UniVerse is just as stable on Windows 
as it is on ..nix.  Although you may have specific reasons to run on 
..nix I would think free shouldn't be one of them.


Just a thought.


A sensible thought :-) but you can see which way I'd go :-)

Cheers,
Wol
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] SORT reports line length, change right margin?

2013-07-15 Thread Anthonys Lists

On 15/07/2013 15:32, randyleesmith wrote:

It's been a while, nice to be back and working again. :)


I'm on a Universe Database;
  
I have a proc full of SORT reports.


Bear in mind SORT and LIST are pretty much the same thing ...


I needed to add new fields, but the size of the line is too small. I'm
already using landscape mode and don't have enough space.

I have been testing with PCL, but I was wondering if I could just make the
line longer. Seems to be enough room if I could adjust the right margin.


Could you shrink any field widths? Are there any text fields which often 
have wasted space? You can use the FORMAT or FMT (not sure which) 
modifier to adjust the field width just for that report rather than 
messing around cluttering up the dictionary.


MARGIN /n/ only changes the left margin.


What margins have been set in SETPTR? I can't remember whether the 
default is 0 or 3 (both left and right).


I never had to deal much with SORT reports in the past, so I though you
Guru's could help.



Cheers,
Wol
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] UniVerse LPTR

2013-07-08 Thread Anthonys Lists

On 08/07/2013 19:36, Bill Brutzman wrote:

Where can I change the default printer?  We have an HP-Ux machine.



The default printer is called DEFAULT. That's probably in the DEVICE file.

But we never did that. I've always put a SETPTR in VOC LOGIN. But we had 
a lot of users and a lot of printers, so it read the user's default 
printer from a config.


Cheers,
Wol
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Illegal use of the file, select, cursor, BCI, Socket, HTTP, XML, SCTX , MQS, SOAP or database variable.

2013-05-08 Thread Anthonys Lists

On 08/05/2013 18:11, George Gallen wrote:

That's assuming you are the one who created / imported the data into Excel.
However, I receive Excel files very frequently where the user who created it
Has little knowledge of formatting cells.

So very often I am forced to import data with dropped trailing zeros.

That and phone numbers being converted to E notationHate those.

With our phone numbers ... we are forced to use a database that exports 
to excel ...


And if you don't put spaces and whatnot in phonenumbers to force excel 
to realise it's text, all your phone numbers have their leading zeroes 
stripped ...


(I believe it's written by outside consultants, but the lady internal to 
the organisation who looks after it thinks it's wonderful. As a database 
programmer forced to use it, my opinion of it is unprintable ... I can't 
be too rude though because this lady is a good friend of and 
sort-of-boss-to my wife)


Cheers,
Wol
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] History of Prime Information

2013-05-02 Thread Anthonys Lists

On 30/04/2013 19:03, Wjhonson wrote:

Anthony I'd be very surprised if the DevCom code was created that way.
My understanding, and I'm willing to be corrected, was that the DevCom code was 
built independently
(And thanks for those who jogged my memory)
As a Pick-*like* implementation.
Which if you read my post, is what I said! Pick Systems picked off all 
the derivative versions, but couldn't touch the independent versions, 
such as Devcom/PI.

And the lawsuit wasn't so much a they stole our code from us, as an looks like a 
duck lawsuit.
So I don't think the DevCom folk worked for or with Dick at all when they 
developed that code.


I don't know whether they worked with Dick or not. But Devcom was a 
*grandchild* to the group that developed GIRLS, GIRLS split in two, and 
then Devcom split off from the not Pick half.


Do read :-)

And (most of) the lawsuits were they stole our code suits - which was 
why the end result of it wasn't your code for them to steal was so 
important. Ashton Tate got burnt over the dBase code in exactly the same 
way - the original code was US government and when they sued over it 
they got burnt.


Cheers,
Wol







-Original Message-
From: Wols Lists antli...@youngman.org.uk
To: u2-users u2-users@listserver.u2ug.org
Sent: Tue, Apr 30, 2013 10:57 am
Subject: Re: [U2] History of Prime Information


On 29/04/13 19:25, Jerry Banker wrote:

Prime Information was originally developed by Devcom I'm not sure what the

name was at that time but I do know that Prime Computers bought them out and
bought the rights from Pick to develop independently. Prime became a database
powerhouse with the product at one time encompassing almost 50% of the database
business in the US. From what I heard Vmark was a group of users of Prime
Information that decided to go UNIX so they developed UniVerse borrowing much of
the expertise from Prime to build a product that would ride on UNIX instead of
Primos, Prime's operating system. They even took over some of the offices that
Prime had on Speen Street. When Prime went under, don't ask why, at the end of
the 80's, early 90's, Vmark bought Prime Information.

Actually, I don't think Pr1me bought the right to develop independently.

iirc, the group developing GIRLS (Public Domain, btw, as all software
developed for the US gov then was) split in two, with Dick forming Pick
Systems as one half. The Devcom guys then split off from the other half
and were sued (like pretty much everyone else) by Dick. The lawsuit then
concluded that the Devcom guys had as much rights as the Pick guys (bear
in mind also, that Devcom was a re-implementation, not a derivative).

Which is why Pick Systems ended up picking off and taking over all the
derivative versions, but not the re-implementations.

I wasn't aware of INFORMATION owning a large chunk of the US market,
after all, they were up against Oracle and DB2 in their own back yard,
but it was Pr1me Australia that licenced PI from Devcom, and they ended
up pretty much owning the Aussie market. I didn't think they bought
Devcom out - Devcom might have turned into Revelation, but they did buy
the (joint) copyright to PI. Again iirc, I think the deal was joint
copyright, co-develop, PI on Pr1me and Devcom elsewhere.

Cheers,
Wol
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users



___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] is this an INDEX ISSUE

2013-04-15 Thread Anthonys Lists
Not to say this has anything to do with it, but it sounds like this is a 
big file. Does CALL.STATUS just have a few valid values? And when you're 
running this report are you selecting a lot of values for one value of 
CALL.STATUS?


It shouldn't mess up, but indexing used to be iffy if you indexed 
hundreds of records for a single value of the index. If you're stressing 
the index that could be the problem.


Do you have a date of appointment field? Could you index on that? If 
you need rapid reports and you could run the report for appointment == 
today with that indexed, would that give you the fast reports you need?


Cheers,
Wol

On 15/04/2013 22:41, david yu wrote:

We did not have any OS or Universe upgrade.
  
here is the list.index
  

LIST.INDEX CALL.FILE ALL

Alternate Key Index Summary for file CALL.FILE
File... CALL.FILE
Indices 4 (2 A-type, 1 C-type, 1 D-type, 0 I-type, 0 SQL, 0 S-type)
Index Updates.. Enabled, No updates pending
Index name Type  BuildNulls  In DICT  S/M  Just Unique Field 
num/I-type
CALL.STATUS  DNot Reqd  YesYes  SL N13
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users



___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] One print job or many print jobs

2013-04-10 Thread Anthonys Lists

On 10/04/2013 18:56, Dianne Ackerman wrote:
In my experience, the 2nd statement will overwrite the first statement 
unless you use that setptr keyword BANNER NEXT, which will then append 
a number onto the hold name so that each would have its own unique 
hold name.
-Dianne 


The alternative to BANNER NEXT is, iirc KEEP. This will keep the print 
file open until the next SETPTR, so you will get the two listings one 
after the other in the same file.


Another trick I used to make extensive use of, every time I used special 
SETPTR characteristics, I would use a dedicated print channel. iirc it's 
the first number of the SETPTR command, so I would do SETPTR 1, and 
then do a LIST ON 1 ... command.


The main, very useful, trick behind this was a basic program could scan 
a file printing 3 or 4 reports in one pass, suchh as a detailed report, 
a summary report and an error report, without having to cache all the 
data and save the printing to the end.


Cheers,
Wol
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] c#/uniobject/chinese/spanish characters

2013-04-05 Thread Anthonys Lists

On 05/04/2013 23:37, Bob Rasmussen wrote:
* The codes for multi-value mark, etc., are not used. 
iirc, if you use UV NLS (and presumably UD too) the mark characters have 
UTF-8 values assigned. Don't have a clue what they are, though.


Cheers,
Wol
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] How do you print a .pdf from inside a Unix Box

2013-04-04 Thread Anthonys Lists

On 04/04/2013 16:54, Bruce Conway - Bamac LTD wrote:

I may have missed this discussion but if someone can help me that would be
great.

We have been executing a SB command to windows to open Adobe and print the
PDF document. We would like to either not have to open Adobe and print the
document or print the document from within our Unix box.

We have a hp7640 11iv3 running on an Itanium processor.


I don't know whether the hp7460 is one of them, but a lot of modern 
printers are pdf printers. If it's a postscript printer there's a decent 
chance it's also a pdf printer.


In which case, just copy the the pdf to the printer (dump it to 
tcp:9100, ftp it across, dump the file across the raw connection, 
whatever) and the printer will recognise and print it. Just look at the 
options the printer's network card offers you for transferring print jobs.


Cheers,
Wol
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Compressing PDFs

2013-03-28 Thread Anthonys Lists

On 28/03/2013 13:09, Martin Braid wrote:

Move all the PDF files to a new Unix folder FRED
tar  -cvf   JI.tar  FRED
compress JI.tar
This will then give you a Unix file JI.tar.Z  which you can then ftp to a 
Windows location
Accessing this file in NT will act as a zip file that can be extracted (with 
folder names enabled if any)

or simpler (most tars will support this, check the docu)

tar -czvf JI.tgz FRED

(Although I'd just run samba, export the directory to windows, and run 
7zip from there)


Cheers,
Wol
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] ODBC Errors 81001/81002

2013-03-25 Thread Anthonys Lists

On 25/03/2013 16:47, Kevin King wrote:

Please forgive the response to my own post.  The problem appears to be the
log files that are being created by the UniRPC daemon.  The users have a
mix of umask settings and this is leaving log files around (millions of
'em) that aren't overwritable due to umask settings.  Clearing the log
files appears has had very positive results so far.


If they're all in one directory, then I'm not sure how to do it, but you 
can  set something like the sticky bit on the directory. That then 
means that the permissions on the directory will over-ride the umask 
setting. So you can make sure log files can be deleted ...


Cheers,
Wol

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Social Networks for MV

2013-03-16 Thread Anthonys Lists

On 16/03/2013 19:02, Wjhonson wrote:

You start with an example posting and let's see how it goes.

Well, I've got a planned, VERY high profile project lined up. Problem 
is, it'll take a lot of work to pull off. I'll broadcast it here when 
I'm in a position to do something about it.


As some of you here know already, I'm a carer now :-( and that plays 
havoc with my ability to sit down and concentrate on work :-(


Cheers,
Wol
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Social Networks for MV

2013-03-16 Thread Anthonys Lists

On 16/03/2013 16:23, Robert Houben wrote:

How you use these networks depends on the nature of your brand.  LinkedIn is 
the clear winner for B2B interaction, while Facebook is huge for B2C brands, or 
anything with a mainstream consumer component.

I use Facebook for personal connections and LinkedIn for business connections, 
and I try not to cross-pollinate too much! :)

Be aware that according to Gartner, the largest single demographic using 
Twitter is not teens and tweens, but baby boomers!  While the former get all 
the media attention, your prospective customers and suppliers are probably 
among the latter.  They can all improve your SEO more than anything else you 
do, but note that Google+ improves it inordinately (I'm pretty sure Google 
gives it priority.)

Google+ is also the winner social network for FLOSS developers - not 
least because of that distrust of farcebook amongst many of them. I've 
got a linked-in account and a G+ account but refuse to have one on 
facebook ...


Cheers,
Wol
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] ISO Date Format

2013-03-11 Thread Anthonys Lists

On 11/03/2013 17:16, Woodward, Bob wrote:

An interesting note is using the OCONV(IDATE,'D-YMD[2,2,2]') format, the
dash can be replaced with the digits 5 to 9 but using the digits 0 to 4
result in an output delimited with a space.  Would have been acceptable
(and nice) to have been able to get 13003011 but oh well.  I guess I
could use 'D5YMD[2,2,2]' to give me the value 13503511 just as well.
That's because the first character after the D is not specified as the 
delimiter, but as the year length. And as is usual for Pick, if it 
doesn't make sense Pick assumes that that argument isn't there and 
pushes it back one in the list.


Because 5 is not a valid year length, it gets pushed back to the 
delimiter place.


Try D44YMD and see if that works ... :-)

Cheers,
Wol
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] User cannot login

2013-03-11 Thread Anthonys Lists

On 11/03/2013 20:32, Holt, Jake wrote:

I have a user, one of my system admins, that cannot login to Universe.
Their user account is setup exactly like mine, there is no voc entry for
the user and I have deleted and recreated the user a couple times just
today.

Is there anything else I can look at that would be preventing the him
from logging in?

We're running 10.0.21 on windows server 2003.

Do they have log in locally rights on the server?

That's the typical problem, I think.

Cheers,
Wol
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Record locks (Unidata 7.2)

2013-02-07 Thread Anthonys Lists

On 07/02/2013 20:46, Jon Wells wrote:

What I'm wondering is; what can I put into the 'Xxx what to do if locked' 
section whereby it waits until the record lock clears, once it clears, set my 
own lock, read the record, alter the record, and then write the record (which 
would release my lock)?


Somebody will correct me if I'm wrong, but I thought that was exactly 
what READU did!


If you don't provide a LOCKED clause, READU will hang and wait until 
the lock clears, then read and lock the record.


As I say, check the docu and make sure I'm right ... I've never had to 
bother much with locks ...


Cheers,
Wol



Thank you,

Jon Wells




___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users