Re: [U2] Turn a device and inode into file name

2012-03-16 Thread Buss, Troy (Logitek Systems)
We use the following subroutine.   Pass in the filename in variable FNAME.   In 
the mainline is 'THIS.ACCOUNT' and of course the F.FILESTATS.XREF file variable.

We then use this information in our expanded record locks display so that we 
can show real file names.

UPDATE.XREF: *;*
*
CRT Building item lock xref... :
*
OPEN FNAME TO F.CHECK ELSE
  CRT CANNOT OPEN: :FNAME
  RETURN
END
*
STATUS STATUS.INFO FROM F.CHECK THEN
  DEVICE = STATUS.INFO11
  XREF.ITEM = AM:THIS.ACCOUNT:*:FNAME
  WRITE XREF.ITEM ON F.FILESTATS.XREF, DEVICE
END
*
CLOSE F.CHECK
*
RETURN

*


-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Wjhonson
Sent: Friday, March 16, 2012 12:24 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] Turn a device and inode into file name


Anyone have an easy way to do this?
In the past I've run a batch routine to just query each and every Universe file 
for it's inode and device and build a table of these

_
Scanned by IBM Email Security Management Services powered by MessageLabs. For 
more information please visit http://www.ers.ibm.com

This email is intended only for the use of the party to which it is addressed 
and may contain information that is privileged, confidential, or protected by 
law.  If you are not the intended recipient you are hereby notified that any 
dissemination, copying or distribution of the email or its contents is strictly 
prohibited.  If you have received this message in error, please notify us 
immediately, by replying to the message and deleting it from your computer.

WARNING: Internet communications are not assured to be secure or clear of 
inaccuracies as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.  Therefore, we do not accept 
responsibility for any errors or omissions that are present in this email, or 
any attachment, that have arisen as a result of e-mail transmission.
_
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


[U2] universe compiler -xref output

2012-02-10 Thread Buss, Troy (Logitek Systems)
The universe compiler (-xref) option is pretty useful for tracking down 
variable usage.  Specifically, I'd like to eliminate assigned but unused 
variables, so I'm looking for output that has single assignments only.   It 
looks like the raw compiler output from -X is from an intermediate file and 
then captured using retrieve.   Does anyone know if the intermediate file is 
available for running my own reports?

On d3 it was the BSYM file and you could write your own reports to find what 
you need.   I'm looking for something similar on universe because scanning for 
these variable assignments from large programs is very tedious using the 
current data in the captured cross reference listing that comes out of the 
source.L file.

Worst case, I guess I could write another program to scan that record for what 
I need.

-Troy

_
Scanned by IBM Email Security Management Services powered by MessageLabs. For 
more information please visit http://www.ers.ibm.com

This email is intended only for the use of the party to which it is addressed 
and may contain information that is privileged, confidential, or protected by 
law.  If you are not the intended recipient you are hereby notified that any 
dissemination, copying or distribution of the email or its contents is strictly 
prohibited.  If you have received this message in error, please notify us 
immediately, by replying to the message and deleting it from your computer.

WARNING: Internet communications are not assured to be secure or clear of 
inaccuracies as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.  Therefore, we do not accept 
responsibility for any errors or omissions that are present in this email, or 
any attachment, that have arisen as a result of e-mail transmission.
_
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Build Redback Object in BP

2012-02-01 Thread Buss, Troy (Logitek Systems)
We've dealt with the same by pushing the logic down a level and calling the 
common subroutine from either a redback wrapper or a TCL wrapper.  The new 
generic subroutine then handles either situation because the parameters are not 
extracted directly from redback.  

-Original Message-
How do I BUILD a Redback object in a BP program to simulate that it was built 
from a web page?


_
Scanned by IBM Email Security Management Services powered by MessageLabs. For 
more information please visit http://www.ers.ibm.com

This email is intended only for the use of the party to which it is addressed 
and may contain information that is privileged, confidential, or protected by 
law.  If you are not the intended recipient you are hereby notified that any 
dissemination, copying or distribution of the email or its contents is strictly 
prohibited.  If you have received this message in error, please notify us 
immediately, by replying to the message and deleting it from your computer.

WARNING: Internet communications are not assured to be secure or clear of 
inaccuracies as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.  Therefore, we do not accept 
responsibility for any errors or omissions that are present in this email, or 
any attachment, that have arisen as a result of e-mail transmission.
_
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Wintegrate 3 on Windows 7 issues

2011-11-09 Thread Buss, Troy (Logitek Systems)
Scott,

wIntegrate 3.0.03 runs on windows 7 32 bit, but I don't believe it runs on 64 
bit.  On windows 7, when I run my old wInteg 3, it shows as a child process of 
NTVDM and parallel with WOWEXEC.  I'm not running it with any UAC, admin or 
other custom settings.

We had the same thing happen where it would not appear for a long time, and we 
never traced the cause.  Perhaps it was the licensing routine, I'm not sure, 
but it was quite annoying when it happened.

We've since updated to 6.2 so that we could use 64bit workstations. 

-Troy

_
Scanned by IBM Email Security Management Services powered by MessageLabs. For 
more information please visit http://www.ers.ibm.com

This email is intended only for the use of the party to which it is addressed 
and may contain information that is privileged, confidential, or protected by 
law.  If you are not the intended recipient you are hereby notified that any 
dissemination, copying or distribution of the email or its contents is strictly 
prohibited.  If you have received this message in error, please notify us 
immediately, by replying to the message and deleting it from your computer.

WARNING: Internet communications are not assured to be secure or clear of 
inaccuracies as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.  Therefore, we do not accept 
responsibility for any errors or omissions that are present in this email, or 
any attachment, that have arisen as a result of e-mail transmission.
_
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


[U2] Universe 11.1.1 on Windows - logon delay fixed for WAN installations

2011-08-30 Thread Buss, Troy (Logitek Systems)
FYI feedback on UV 11.1.1 for Windows...

History:  About 18 months ago we migrated user accounts from a locally hosted 
AD domain to a remote corporate AD domain and during this time period most 
users would experience a significant logon delay because logon credentials were 
being accessed only at the single PDC EMULATOR over a wide area network 2500 
miles away.   Logon times were delayed in most cases about 90 seconds and only 
the first 50 users cached would have faster subsequent logons.

Current Status:   We upgraded from 10.2.10 to  11.1.1 this past weekend and 
feedback from our users has been overwhelmingly positive about how fast they 
can log now in just a few seconds.

I thought I would make everyone aware of this significant improvement (for AD 
WAN installations) and acknowledge Rocket Software for fixing this long 
standing issue!   It certainly pays to read the release notes when announced 
from Rocket.  Thank you Epicor for getting this release to us quickly.

The release notes for 11.1.1 documented the following improvement:

UNV-3858UniVerse -- At UniVerse 11.1.1, an upgrade was made
to make Directory Services calls to retrieve the login
path information. These calls are directed to any 
(or the closest, if the network is properly configured)
Active Directory server that contains Domain Controller
information about login paths. Also, username/sid/uid
cache is now used for all types of users.

What improves:

1.  Login speed.
For first user access after UV shutdown/restart:
due to the ability to reach a closer situated AD
server for the information (fast)

For subsequent user access: due to the use of
username/sid/uid cache (fastest)

2.  Reliability
Due to the ability to retrieve user authentication
either from cache or any AD server even if the
server containing PDC role is down or inaccessable -
which is the main problem with slow or unreliable
networks.


-Troy


_
Scanned by IBM Email Security Management Services powered by MessageLabs. For 
more information please visit http://www.ers.ibm.com

This email is intended only for the use of the party to which it is addressed 
and may contain information that is privileged, confidential, or protected by 
law.  If you are not the intended recipient you are hereby notified that any 
dissemination, copying or distribution of the email or its contents is strictly 
prohibited.  If you have received this message in error, please notify us 
immediately, by replying to the message and deleting it from your computer.

WARNING: Internet communications are not assured to be secure or clear of 
inaccuracies as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.  Therefore, we do not accept 
responsibility for any errors or omissions that are present in this email, or 
any attachment, that have arisen as a result of e-mail transmission.
_
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] PDF Files directly from UniData or UniVerse

2011-04-12 Thread Buss, Troy (Logitek Systems)
There are lots of choices.   Ten years ago we found and continue to use 
PCL2PDF32 (from www.visual.co.uk ) on Windows Server 2003 with Universe 10.x as 
a complete command line interface.   PCL in, PDF out.   All of our forms are 
designed in a non-gui graphics design language that render to native PCL so 
there was no extra work to use this product except put in the conversion flags 
we like.

Nice too that it also optionally creates compressed PDF files that save a lot 
of space over the original text files for archive purposes.

For email, we use BLAT and attach the PDF file.   Or the user can choose to 
view the PDF (via wIntegrate file launch) instead of using the email print 
choice. 

-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Ed Clark
Sent: Tuesday, April 12, 2011 7:45 AM
To: U2 Users List
Subject: Re: [U2] PDF Files directly from UniData or UniVerse

Swiftview is nice and has a lot of features. There is also pcl2pdf from 
www.visual.co.uk which I know works on AIX.


_
Scanned by IBM Email Security Management Services powered by MessageLabs. For 
more information please visit http://www.ers.ibm.com

This email is intended only for the use of the party to which it is addressed 
and may contain information that is privileged, confidential, or protected by 
law.  If you are not the intended recipient you are hereby notified that any 
dissemination, copying or distribution of the email or its contents is strictly 
prohibited.  If you have received this message in error, please notify us 
immediately, by replying to the message and deleting it from your computer.

WARNING: Internet communications are not assured to be secure or clear of 
inaccuracies as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.  Therefore, we do not accept 
responsibility for any errors or omissions that are present in this email, or 
any attachment, that have arisen as a result of e-mail transmission.
_
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] [UD] Building a Dictionary with MV Functions

2011-02-08 Thread Buss, Troy (Logitek Systems)
Bill,

This worked for me:

F112 is an internal date field MV
F113 is an internal time field MV

LIST ECN F112 F113 EVAL \(REUSE(@DATE * 86400 + @TIME)) - ((F112 * 
REUSE(86400)) + F113)\ AS X FMT 14R CONV   WITH X = 10800

This brought up records that had one of the dates and or times within the last 
3 hours:

ECN... NUR: DATE.. NUR: TIME.. X.

16190 10-04-1010:15:23   10974816
  01-20-1113:06:051633374
  01-20-1113:06:121633367
  01-20-1113:14:201632879
  01-21-1110:44:001555499
  01-21-1113:34:391545260
  01-25-1110:54:061209293
  01-26-1110:21:041124875
  02-03-1111:22:30 429989
  02-08-1108:22:04   8815
16202 10-20-1015:11:309574649
  01-28-1114:07:15 938504
  01-28-1115:05:37 935002
  02-02-1109:29:06 523193
  02-02-1109:29:10 523189
  02-02-1114:07:58 506461
  02-03-1114:55:57 417182
  02-04-1111:41:33 342446
  02-08-1108:32:16   8203
16326 01-21-1109:25:581560181
  01-31-1115:29:41 674358
  01-31-1115:36:49 673930
  02-02-1114:25:25 505414
  02-02-1114:58:42 503417
  02-03-1108:31:53 440226
  02-08-1108:48:11   7248
16339 02-01-1108:56:56 611523
  02-01-1115:28:30 588029
  02-01-1115:28:35 588024
  02-02-1109:41:00 522479
  02-02-1109:56:21 521558
  02-03-1111:30:28 429511
  02-04-1113:28:07 336052
  02-04-1113:49:37 334762
  02-08-1108:24:50   8649
16340 02-01-1111:16:29 603150
  02-01-1114:05:38 593001
  02-01-1114:14:48 592451
  02-01-1115:49:16 586783
  02-01-1116:12:25 585394
  02-01-1116:17:41 585078
  02-08-1108:08:04   9655
16352 02-03-1116:20:53 412086
  02-04-1107:56:42 355937
  02-04-1107:56:46 355933
  02-04-1108:45:07 353032
  02-04-1108:48:21 352838
  02-04-1111:19:28 343771
  02-04-1114:05:49 333790
  02-04-1114:07:54 333665
  02-08-1108:04:04   9895
16357 02-04-1113:08:03 337256
  02-07-1108:31:32  94647
  02-07-1108:31:37  94642
  02-07-1108:35:43  94396
  02-07-1108:42:12  94007
  02-07-1110:35:10  87229
  02-07-1111:10:52  85087
  02-08-1109:45:21   3818

7 records listed.


-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Bill Haskett
Sent: Tuesday, February 08, 2011 9:43 AM
To: U2 Mail List
Subject: [U2] [UD] Building a Dictionary with MV Functions

I have a record that monitors when users have last requested a banking process. 
 In the record I have:

00n  Date]Date]...]Date
n+1  Time]Time]...]Time
n+2  User]User]...]User

I want to know who's requested the process within the last half hour (a half 
hour being  1,800 seconds).

The dictionary I built looked like:

001 I Has a user requested update within the last half hour?
002 SUBR( '-CATS', REUSE(LDATE), REUSE(LTIME) ) ; SUBR( '-CATS', REUSE(@DATE), 
REUSE(@TIME) ) - 1800

This never worked right because I couldn't get today's date to replicate for 
the dates/times replication.  e.g. a list would look like:

- list REQUESTORS 15744 USING DICT TABLES BY-EXP LKEYS ID-SUPP LDATE
LTIME TEST_REQUEST TOTAL ACTIVE


Date   Time  Requested   Active
07 Feb 11  16:36:46  157441
07 Feb 11  15:35:21  157440
07 Feb 11  17:01:13  1574461273   1

I ended up creating a subroutine 

Re: [U2] [UV] PORT.STATUS questions.

2011-01-03 Thread Buss, Troy (Logitek Systems)
Fyi..

On universe 10.2 running on windows, this system(1302) seems to work without 
contention between users and executes very quickly, about 100 times per second 
on 2 sessions.
 

From: Don Robinson donr_w...@yahoo.com
To: U2 Users List u2-users@listserver.u2ug.org
Sent: Mon, January 3, 2011 1:06:41 PM
Subject: Re: [U2] [UV] PORT.STATUS questions.

Manu,

The INTERNAL option looks promising for what I need. I do read manuals but 
somehow missed it.

It doesn't solve the One user at a time issue but will make parsing the 
output 

easier.

Your other suggestions may be useful, too.

Thanks to you and the others that responded.
Don Robinson


_
Scanned by IBM Email Security Management Services powered by MessageLabs. For 
more information please visit http://www.ers.ibm.com

This email is intended only for the use of the party to which it is addressed 
and may contain information that is privileged, confidential, or protected by 
law.  If you are not the intended recipient you are hereby notified that any 
dissemination, copying or distribution of the email or its contents is strictly 
prohibited.  If you have received this message in error, please notify us 
immediately, by replying to the message and deleting it from your computer.

WARNING: Internet communications are not assured to be secure or clear of 
inaccuracies as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.  Therefore, we do not accept 
responsibility for any errors or omissions that are present in this email, or 
any attachment, that have arisen as a result of e-mail transmission.
_
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Sparse array population in Pick

2010-12-10 Thread Buss, Troy (Logitek Systems)
I think Symeon was saying that if the tag values are multi-valued, then 
lowering it makes them multi-sub-valued and won't corrupt the structure.

I use this lower/raise trick for name/value pairs in 'named common' for passing 
parameters between processes except that I use a lower/lower (when stored) and 
a raise/raise (when extracted) so I can store items with attribute marks in my 
named pairs.

-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of fft2...@aol.com
Sent: Friday, December 10, 2010 10:07 AM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] Sparse array population in Pick

Not sure why you would lower it.


_
Scanned by IBM Email Security Management Services powered by MessageLabs. For 
more information please visit http://www.ers.ibm.com

This email is intended only for the use of the party to which it is addressed 
and may contain information that is privileged, confidential, or protected by 
law.  If you are not the intended recipient you are hereby notified that any 
dissemination, copying or distribution of the email or its contents is strictly 
prohibited.  If you have received this message in error, please notify us 
immediately, by replying to the message and deleting it from your computer.

WARNING: Internet communications are not assured to be secure or clear of 
inaccuracies as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.  Therefore, we do not accept 
responsibility for any errors or omissions that are present in this email, or 
any attachment, that have arisen as a result of e-mail transmission.
_
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Redback

2010-08-02 Thread Buss, Troy (Logitek Systems)
Have you reviewed the log files  in the redback account (on the u2 server) here:

redback\rgw\log

Was this a working installation or a new one?
Anything changed?
Firewall settings?


-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Holt, Jake
Sent: Monday, August 02, 2010 9:22 AM
To: U2 Users List
Subject: [U2] Redback

We're currently running Universe 10.0.21 and I have RedBack 4.1.3.2 (its old, 
long story...).  I can get everything to install properly it would seem but 
when I go to test it I get the following error:
[...snip...]

_
Scanned by IBM Email Security Management Services powered by MessageLabs. For 
more information please visit http://www.ers.ibm.com

This email is intended only for the use of the party to which it is addressed 
and may contain information that is privileged, confidential, or protected by 
law.  If you are not the intended recipient you are hereby notified that any 
dissemination, copying or distribution of the email or its contents is strictly 
prohibited.  If you have received this message in error, please notify us 
immediately, by replying to the message and deleting it from your computer.

WARNING: Internet communications are not assured to be secure or clear of 
inaccuracies as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.  Therefore, we do not accept 
responsibility for any errors or omissions that are present in this email, or 
any attachment, that have arisen as a result of e-mail transmission.
_
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


[U2] center justification in PCL printing

2010-07-19 Thread Buss, Troy (Logitek Systems)
Catching up on some older emails during lunch

FYI, there is a little trick for printing  'center' justification of variable 
width text without knowing specific character by character widths in HP PCL.

From a PCL starting cursor point, you print transparent white text at 180 
degrees rotation at half the point size.  Then flip back to normal rotation 
and print black text at regular point size.The text will be centered at 
the starting cursor point.

Similar trick for right justified except you don't have to change the point 
size.

You can google the specifics, it works quite well. 

-Troy


-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Bob Rasmussen
Sent: Friday, April 30, 2010 11:45 AM
To: U2 Users List
Subject: Re: [U2] AccuTerm File Transfer

On Fri, 30 Apr 2010, Glen Batchelor wrote:

 
  I'd opt for print wizard unless you want to hard code the PCL and 
 avoid middleware. You can code the PCL font and spacing escape codes 
 directly in your app and just print the code to the slave printer like 
 normal. It's a little more design time, but it'll be a fairly static 
 setup. If you want PCL example code to use print the label from Word 
 to a Laserjet 4 driver set to print to file. Or, Google it. There are 
 lots of PCL references on the web. I can help as well.

That works up to a point. But Kevin said he wanted to CENTER variable-pitch 
text, which would require knowing and using the width of every possible 
character.

Regards,
Bob Rasmussen,   President,   Rasmussen Software, Inc.


_
Scanned by IBM Email Security Management Services powered by MessageLabs. For 
more information please visit http://www.ers.ibm.com

This email is intended only for the use of the party to which it is addressed 
and may contain information that is privileged, confidential, or protected by 
law.  If you are not the intended recipient you are hereby notified that any 
dissemination, copying or distribution of the email or its contents is strictly 
prohibited.  If you have received this message in error, please notify us 
immediately, by replying to the message and deleting it from your computer.

WARNING: Internet communications are not assured to be secure or clear of 
inaccuracies as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.  Therefore, we do not accept 
responsibility for any errors or omissions that are present in this email, or 
any attachment, that have arisen as a result of e-mail transmission.
_
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] [UV] odd problem with read statement assigning variable with random data with else clause in pick flavor

2010-01-04 Thread Buss, Troy (Logitek Systems)
Thanks Stuart.

Yep, it is part of a terminal escape sequence and I actually wrote a
subroutine that I called when this occurred that scanned all of common
for the escape sequence.  I only found subsets of the string, and not
the full string that was being inserted into CITEM when the read failed.
So it is not coming from another common variable.

-Troy

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Boydell,
Stuart
Sent: Wednesday, December 23, 2009 1:08 PM
To: U2 Users List
Subject: Re: [U2] [UV] odd problem with read statement assigningvariable
with random data with else clause in pick flavor

Another interesting behaviour is if you have 2 programs, one with
COMMON A,B,C,D,CITEM and the other with COMMON REC(99) the ordinal
positions of the commons equate to the same thing. ie REC(5) = CITEM.
Also, what's the nature of the escape sequence you get - can you
ascertain if it's an edit key sequence or a terminal display sequence..
you might get another clue where the value is coming from.

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


Re: [U2] [UV] odd problem with read statement assigning variable with random data with else clause in pick flavor

2009-12-23 Thread Buss, Troy (Logitek Systems)
Mecki,

Thanks for your ideas and help.

Correct, the READU will stop on a record locked condition which is not
the problem.   Also this is not my code, but represents maybe 2000 read
statements that might be in the entire application that assumes that the
CITEM will not be changed if the ELSE clause is taken (per the pick
flavor behavior of $options read.retain).

And yes, with all of my own original code, I always assume that the ITEM
is undefined if the read fails and I always set the ITEM to null.   But
again, this is code I inherited and have to deal with the runtime aspect
of something not working correctly under some unknown circumstance.
 
I'm not sure how long this issue has been present since I just happen to
go into this one screen and notice that a field that should be empty
suddenly had a zero in it.  Upon further investigation, I'm able to see
that the ITEM record was not being left NULL by the READ statement in
this particular case.

Over the holiday break I'm hoping I can come up with some sort of
concise reproducible case that anyone can execute to see the issue.
If it was happening everywhere, it would be pretty easy, but so far I
can only see this scenario in one screen and with the combination of a
COMMON variable and a READU statement.   If I replace the variable being
used with a local variable, the logic works as expected; leaving the
ITEM null as it should.   If I change the READU to a READ it works.
Sounds like a runtime bug to me.

-Troy

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Mecki
Foerthmann
Sent: Wednesday, December 23, 2009 12:34 AM
To: U2 Users List
Subject: Re: [U2] [UV] odd problem with read statement assigning
variable with random data with else clause in pick flavor

Hi

Firstly READU will not execute the ELSE clause when the item is locked.
It will just sit there and wait for the lock to be released.

Regardless if it is a bug or not, your piece of code just doesn't make
sense.
What do you actually try to achieve?
You try to read a record and when it doesn't exist you want to set the
variable to null, right?
So you use
READU CITEM FROM FILE THEN
 ...
END ELSE CITEM = ''
instead of
CITEM = ''
READU CITEM FROM FILE THEN
...
END
and your problem is solved.
I always use the ELSE clause with any READ BTW

Regards

Mecki

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


[U2] [UV] odd problem with read statement assigning variable with random data with else clause in pick flavor

2009-12-22 Thread Buss, Troy (Logitek Systems)
We are running universe 10.2.10 in pick flavor.

 

I have a program (part of a 4gl subroutine) that simplified does the
following:

 

CITEM = 

READU CITEM FROM F.FILE, CID THEN

END ELSE

  IF CITEM #  THEN PRINT CITEM IS NOT NULL!

END

 

According to the documentation, when running in pick flavor, the value
of CITEM is unchanged if the read fails.

 

What happens is that CITEM is sometimes assigned to a random value and
not NULL.   Right now it is being assigned to zero.  Last week, this
same CITEM was being assigned to an escape sequence (about 8 characters
long) when the read failed. 

 

CITEM is a non-named common variable.   This issues does NOT happen if
CITEM is not a common variable. 

 

The result also has varied if I use READU vs READ.   Clearly there is a
bug here in retaining the value of CITEM with a READ statement in pick
flavor.   Unfortunately, I have not been able to create a simple example
to reproduce this problem outside of the 4gl.   And this does not happen
in all the code, only in one section so far and IS reproducible in this
one case from logon session to logon session.

 

Any ideas?

 

-Troy

 

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


Re: [U2] [UV] odd problem with read statement assigning variable with random data with else clause in pick flavor

2009-12-22 Thread Buss, Troy (Logitek Systems)
Thanks for the replies...

In this example I was using, the ID was not on file, so it would not
have taken the LOCKED clause.   I just added the locked clause to my
actual failing code to test the theory and it still takes the ELSE
clause because the record is truly not on file.

I tried George's idea of using named common and the problem still
happens.

One last clarification, the problem seems to occur if the READ statement
is a READU.  If the statement is a regular READ, it does not happen.   

-Troy

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of David Jordan
Sent: Tuesday, December 22, 2009 1:23 PM
To: U2 Users List
Subject: Re: [U2] [UV] odd problem with read statement assigning
variablewith random data with else clause in pick flavor

Hi Troy

The problem with that code is that the else clause is taken when the
record is locked.  You are assuming if the else clause is taken that the
record does not exist, which is not a safe assumption.  I would suggest

Readu citem from fv, key locked
* locked options
End then
* then options
End else
Citem = 
end

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Buss, Troy
(Logitek Systems)
Sent: Wednesday, 23 December 2009 7:59 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] [UV] odd problem with read statement assigning variable
with random data with else clause in pick flavor

We are running universe 10.2.10 in pick flavor.

 

I have a program (part of a 4gl subroutine) that simplified does the
following:

 

CITEM = 

READU CITEM FROM F.FILE, CID THEN

END ELSE

  IF CITEM #  THEN PRINT CITEM IS NOT NULL!

END

 

According to the documentation, when running in pick flavor, the value
of CITEM is unchanged if the read fails.

 

What happens is that CITEM is sometimes assigned to a random value and
not NULL.   Right now it is being assigned to zero.  Last week, this
same CITEM was being assigned to an escape sequence (about 8 characters
long) when the read failed. 

 

CITEM is a non-named common variable.   This issues does NOT happen if
CITEM is not a common variable. 

 

The result also has varied if I use READU vs READ.   Clearly there is a
bug here in retaining the value of CITEM with a READ statement in pick
flavor.   Unfortunately, I have not been able to create a simple example
to reproduce this problem outside of the 4gl.   And this does not happen
in all the code, only in one section so far and IS reproducible in this
one case from logon session to logon session.

 

Any ideas?

 

-Troy

 

___
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


[U2] wintegrate 6 mouse double click problem

2009-11-17 Thread Buss, Troy (Logitek Systems)
In wintegrate 3.x (16 bit), you can left double click at a good rate.   With 
winteg 6.0.3 or 6.1.3, I'm unable to double left click and have it transmit all 
the actual clicks.

Fyi...  The mouse keys are programmed (in the program below) as:

Type L;:Mouse(Get_Y):;:Mouse(Get_X):\r
Type R;:Mouse(Get_Y):;:Mouse(Get_X):\r

Here is the program output run with winteg 3.  Output is sending all clicks at 
a good rate of .18 seconds.  Works great on winteg 3.x 16 bit:

Count    Time     Duration  Click Data
   
    
0001  35509.2210  1.2970 
L;25;43   
 
0002  35509.4710  0.2500 
L;25;43     
   
0003  35509.7210  0.2500 
L;25;43   
 
0004  35509.8460  0.1250 L;25;43    

0005  35510.0330  0.1870 
L;25;43   
 
0006  35510.2210  0.1880 L;25;43    

0007  35510.3460  0.1250 
L;25;43   
 
0008  35510.5330  0.1870 L;25;43    

0009  35510.7210  0.1880 
L;25;43   
 
0010  35510.8460  0.1250 
L;25;43   
 

However, here is the same program output with winteg 6 clicking at a normal 
double-click rate.   It is actually only reporting about every other click.   
Therefore I'm unable to get a good double click rate, since wintegrate 6.x is 
dropping every other click.

0001  35657.3590  1.2030 
L;33;73     
   
0002  35658.1720  0.8130 
L;33;73   
 
0003  35658.8280  0.6560 
L;33;73     
   
0004  35659.4530  0.6250 
L;33;73   
 
0005  35660.0780  0.6250 L;33;73    

0006  35660.7660  0.6880 
L;33;73   
 
0007  35661.4220  0.6560 L;33;73    

0008  35662.0470  0.6250 
L;33;73   
 
0009  35662.6090  0.5620 L;33;73    

0010  35663.3910  0.7820 
L;33;73   
 
0011  35664.0160  0.6250 
L;33;73   
 
0012  35664.9060  0.8900 
L;33;73   
 
0013  35665.7810  0.8750 
L;33;73   
 
0014  35666.7500  0.9690 L;33;73

What is happening, is that winteg 6 is simply dropping the second click and 
this is really showing every other click in the timings.  Try it, you'll see 
what I mean.

If you run winteg 6 where you alternatively click left and right, you get this 
(which is reporting fast enough as it should).   But you cannot get winteg 6 to 
transmit double left or double right at the same speed.

0001  35755.7640  1.0310 
L;24;18     
   
0002  35756.0460  0.2820 
R;24;18   
 
0003  35756.2330  0.1870 
L;24;18     
   
0004  35756.4210  0.1880 
R;24;18   
 
0005  

RE: RE: [U2] Universe Index still not working

2009-03-04 Thread Buss, Troy (Logitek Systems)
Roger,

Did you make sure all users and processes (phantoms too) were logged off
*before* you rebuilt the index?

Any user/process with that open file will continue to update using old
parameters until the file is re-opened after the re-index build.

That is the only time I've seen a difference in results with NO.INDEX.

-Troy
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Identifying the pid for a user

2008-11-07 Thread Buss, Troy (Logitek Systems)
SUB (PID)
DECLARE GCI getpid
PID = getpid()
RETURN

Works on universe 10.0.17 running on server 2003.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tom Dodds

We are running  UniVerse 10.2 in a Suse environment and I would like a
reasonably simple method of acquiring the  pid of the current process.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [UV] using distributed files with multi level data files possible?

2008-10-15 Thread Buss, Troy (Logitek Systems)
Mike...  Wow, the 64bit is an easy solution.   I tried something with
either the create-file or the resize command 6 months ago and it failed
with my conclusion at the time that it must not be supported on our
windows 2003 platform.  Yesterday I used the create file with the 64bit
option and it worked fine.  Thanks for the tip!

Stuart, thanks for the reminder on how to share dictionaries easily on
universe.   

-Troy

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of HENDERSON MIKE,
MR

Troy,

You _can_ use 64-bit files on 32-bit Windows 2003 Server, NTFS is quite
happy with files over 2GB. 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Boydell, Stuart

I'd do something like this paragraph (not tested...) but it should
create the parts and update them to all point to the same dictionary.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] [UV] using distributed files with multi level data files possible?

2008-10-13 Thread Buss, Troy (Logitek Systems)
Running Universe 10.0.17 on Windows Server 2003 32bit:



Can I create a distributed file for a data file that is part of shared
dictionary (ie a multi-level data file)?



I can't seem to get the syntax right.



Here is the scenario.  We have a large stock file with current
transactions called STOCK that contains about 2 years of transactions
and a growing history file with data copied from STOCK,STOCK to
STOCK,HIST on a semi-annual basis.   We've had to limit this STOCK,HIST
file to about 2 years because of the 2GB limit.



We are on Windows Server 2003 32bit and cannot create 64bit files, so
I'd like to implement a distributed file for this STOCK,HIST and copy in
about 4 to 6gb of older (offline) history data into it.



Since the records are pure numeric and sequential I was going to create
10 part files and use the partitioning algorithm as INTERNAL
@ID[LEN(@ID),1]+1.



What would be my steps and syntax to do this?



From my research, I have been successful at using DEFINE.DF, etc to do
this at the primary datafile level like STOCK (aka STOCK,STOCK) but not
when I reference a sub data file off of STOCK (like STOCK,HIST) it blows
up.  Sample below using similar names:



Creating the files work fine:



:CREATE-FILE TEST.STOCK 1,1 101,1

:CREATE-FILE TEST.STOCK.HIST.PART1 1,1 101,1



Then using the following to associate TEST.STOCK,HIST with the first
part file fails:



:DEFINE.DF DATA TEST.STOCK,HIST ADDING TEST.STOCK.HIST.PART1 1 INTERNAL
@ID[LEN(@ID),1]+1



I get:



DICT and PDICT are not legal keywords with multilevel DATA files.

File not created.



If I leave out 'DATA' above, no difference.



All of the existing applications software and dictionaries reference
STOCK (comma) HIST or I'd just rewrite this as a new data file like
STOCK (DOT) HIST and be done. This may end up being the work-around if
this just won't work.



Either multi level data files are not supported or I'm not getting the
syntax correct.  Any help would be much appreciated!





-Troy
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] UniData Keys

2008-08-28 Thread Buss, Troy (Logitek Systems)
-snip-

- in this instance we
use unique ids generated using date, system time in milleseconds
(system(12)
in udt) and pid combined together
Symeon.

Not a bad idea, however you may encounter problems of losing data in
these 2 areas:

1. As processors get faster, the difference in execution time shortens
and it can be possible to generate the same key during the same
millisecond.   Adding a NAP 1 in my simulated testing eliminated the
duplicates. On one implementation of Pick (Altos?) I recall the
resolution of the system(12) function was only a second.

2. At least one time a year (in my timezone) the clock is turned back
one hour and it would be possible to overwrite existing keys during that
hour.

-Troy
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] and PDF

2007-10-24 Thread Buss, Troy (Logitek Systems)
Bill,

Fyi.. 

We use pcl2pdf32 from visual software in the uk on windows server 2003
and UV 10.0.15:

http://www.visual.co.uk/

However, I notice they will *start* to support hp-gl/2 in the next
release:   http://www.visual.co.uk/pcl2pdfwhatsnew.asp

Our forms are all PCL and their solution has worked well for us for many
years.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [BB] Does UD need the equivalent of uv/errlog?

2007-09-17 Thread Buss, Troy (Logitek Systems)
Yes, I think the errlog is a great feature on universe.  I utilize a
background phantom process to monitor the file and send an email of
recent errors every few minutes.   It is a great way to see what
programs have issues especially if you make a coding mistake and a user
receives a 'variable unassigned' error for example.  Not that that ever
happens

-Troy

[snip]
If there is interest in this - the best way to get visibility for the
request is to open a support case and ask to be added to that ecase.
Regards,
 

Wally Terhune
 [snip]
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] [UV] OpenPrinter error - how to trap?

2007-08-31 Thread Buss, Troy (Logitek Systems)
Running universe 10.0.17 on Windows 2003 server:

We occasionally have system printers that go off-line and when a basic
program issues a PRINT statement (after a PRINTER ON), the user gets an
OpenPrinter failed with error ... and drops into the basic debugger.
Is there a way to trap this condition more gracefully?

Thanks!

-Troy
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [UV] DBF file parser in UV Basic?

2007-03-09 Thread Buss, Troy \(Logitek Systems\)
Thanks everyone for the great ideas and suggestions!!

Jerry, The 'DOWNLOAD' program is a great tool, but looks oriented for
output (only) from UV.

Colin  Manu, the command line file converters from DBF to TXT is also a
great idea.  This may be a quick way to get those parsed.

Barry, thanks for Don's contact info.

-Troy
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] [UV] DBF file parser in UV Basic?

2007-03-08 Thread Buss, Troy \(Logitek Systems\)
I may need to parse out several DBF files for import and processing in
Universe10.0 (Windows Server version).



Does anyone already have a generic Universe Basic program they would
care to share that will parse out the DBF file format particularly
compatible with visual foxpro?



Here is a specification:



http://www.dbf2002.com/dbf-file-format.html

http://www.dbase.com/knowledgebase/int/db7_file_fmt.htm





Thanks!



-Troy
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [UV] Basic Program Scheduling Priority

2007-01-13 Thread Buss, Troy \(Logitek Systems\)
Take a look at the NAP statement in universe basic.  I believe it takes
tenths or milliseconds as a parameter.

-Troy
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] xls to text

2006-05-12 Thread Buss, Troy \(Logitek Systems\)
Nice Tony.

I did have to upgrade my dot net to v2:

http://www.microsoft.com/downloads/details.aspx?FamilyID=0856EACB-4362-4
B0D-8EDD-AAB15C5E04F5displaylang=en

22.5mb!

And then it worked without the error message and pretty quickly at that!
Nice job!

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tony Gravagno

I just wrote a routine to satisfy the request and posted it to our
freeware site.  It's pretty much the same thing that Craig provided, but
is written in C# and provided as a ready-to-run executable.  It also
saves worksheets as individual .CSV files, and gets the source/target
file info from the command-line.

...
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] PCL extra page

2006-03-07 Thread Buss, Troy \(Logitek Systems\)
In our case...

The users rightfully complained about those blank pages at the beginning
of print jobs, so years ago we put a wrapper around all of our printing.
Essentially, everything goes to a hold file first.

The leading form feed is stripped from the beginning of the job if
present.

The file is then:
* output to the printer
* or processed via PCL2PDF (from visual software)
* and/or optionally emailed to the user

It (the wrapper) not only solves the leading blank page eject problem
but it provides an easy way to implement a variety of other tasks with
the output.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Running Totals Universe

2005-10-26 Thread Buss, Troy \(Logitek Systems\)
Insert another line of code before line 003 below:

IF @NI = 1 THEN  RUNNING.TOTAL = 0

And you won't need another routine to zero it out.  The first record
with @NI equal to 1 will take care of it.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tom Dodds
Sent: Tuesday, October 25, 2005 1:59 PM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] Running Totals Universe

If you set up an I-Type that calls a subroutine with a named common
where you keep adding the field you want the running total on into the
named common variable and use the named common value as your answer it
will give you a running total.

0001: I
0002: SUBR(RUNBABY,ANS)
...

0001:  SUBROUTINE RUNBABY(RUNNING.TOTAL)
0002:  COM /RUNRUN/ RUNNING.TOTAL
0003:  RUNNING.TOTAL += @RECORDnn
0004:  END

I haven't done this for a while, but I think that is the syntax.
The problem with this is that you have to create another routine to
clearout the named common if you want to run the list more than once
during a session.  I used to do mine in a Paragraph and have the clear
out routine as a part of the Paragraph just before the list statement.

hth

Tom Dodds
[EMAIL PROTECTED]
630-235-2975
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [UV] uniadmin without having to be in administrators group?

2005-05-05 Thread Buss, Troy \(Logitek Systems\)
JayJay,

Thanks for the reply.

I guess my point is that we WANT to grant a user complete usage of ALL
the functions within uniadmin. However, we specifically do not want them
to be a windows system administrator in order to use the tool.  And yes,
its ok if this individual can stop and start UV services - just those 2
or 3 services that are IN the uniadmin tool.   But we don't want them to
control other aspects of the server that are inherent when you are in
the administrator's group.

It seems like there is a need to have a administrator maintained group
code that can be associated with users that need to use the tool and the
tool checks to make sure the user trying to use it is a member of said
group.   This would accomplish our objective without granting
unnecessary priveleges.   (this sounds like a mod request for IBM to
implement for uniadmin)


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John Jenkins
Sent: Wednesday, May 04, 2005 3:57 PM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] [UV] uniadmin without having to be in administrators
group?

Troy

This is not a good idea - you will be giving non-administrators the
right to change Windows services.???
[snip]
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] [UV] uniadmin without having to be in administrators group?

2005-05-04 Thread Buss, Troy \(Logitek Systems\)
It is useful to be able to run uniadmin from time to time and I'm trying
to find out if there is a way to have access to the utility without
having to be part of the administrators group?   (Windows 2003).

The same question also applies to stopping and restarting redback using
the RESTARTRGW and RESTARTACCT commands.

We'd like to be able to grant access to these tools WITHOUT requiring
the user be in the administrators group.   Is it possible?

Thanks!

-Troy
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Printing PDF from uv

2005-04-25 Thread Buss, Troy \(Logitek Systems\)
David,

We work the other direction using a PCL to PDF tool from visual software
in the UK.   Works quite well.

Anyhow, we take data intended for printing (that is PCL formatted) via a
HOLD file and using PCLtoPDF to create PDF's for emailing.  Otherwise,
we just print PCL to our laserjets directly. 

If your source documents is a PDF, that would not work in this manner.

But you said that a trigger 'generates' a PDF.   So I'm assuming your
generating the PDF yourself?   If so, generate a PCL file first and
print that.   Then its simply a command line to get a PDF from a PCL
file.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David Tod
Sigafoos
Sent: Monday, April 25, 2005 10:52 AM
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] color laserjet pcl programming for logos

2005-04-22 Thread Buss, Troy \(Logitek Systems\)
Tom,

Thanks for your reply.

Playing around late last night, I was able to select the CYAN color
option and resolve the problem I had with the graphics.  Coincidentally,
that color was acceptable and the 2 bit logo mapped into the CMYK
pallette with white(0) and cyan(1) just right.   Had I wanted another
color (beyond color # 1), I would have had to massage the graphics
download as you suggested.  What a pain.

Thanks again for your update. 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] [UV] Run phantom as another user

2005-01-24 Thread Buss, Troy \(Logitek Systems\)
Is there a way to run a phantom process as another user using the
PHANTOM command?
 
We have a situation where we have a background phantom process
periodically monitoring a directory on another server.  But, when the
user that launched the phantom processor changes their password, the
file open fails (due to expired credentials).   We would like to have
the phantom process 'run as' another user account that has the minimum
access it needs where the password does not ever expire and create the
failed open file problem.

We are simply opening the file as a F voc pointer with line 2
\\server\sharename\directory.  The universe config parameter ALLOWNFS
is set to 1.
 
Thanks!
 
-Troy
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] UV Pre-printed forms

2005-01-04 Thread Buss, Troy \(Logitek Systems\)
Mark,

Lots of good answers. Here's mine:

1. From word, print to HPII printer as a file, save the .prn file to
local pc file.

2. Using accuterm, import file to universe as hex (required several mods
to the kermit import programs to allow FF and write the hex).

3. Print to printer (or hold file for PDF's) as a cached macro (download
once, assign macro number and use macro after) stripping off leading and
trailing bytes (43 leading, 3 trailing) and handling the printing of hex
print iconv(string, MX):  in the image file.


By doing it this way, we also have an option to convert the hold file to
PDF and email it (using blat for windows) instead of printing it using
the visual software (PCL to PDF) also mentioned in this thread.

Just another approach to consider.

-Troy

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mark Johnson
Sent: Tuesday, January 04, 2005 5:23 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] UV Pre-printed forms

One of my clients would like to replace their pre-printed forms with
those generated by the system. Basically the form has been re-created in
MS Publisher and saved as a PRN file.

I understand that there is some magic to send the form, keep the job
open and then send the data for the form. This will most likely be HP
PCL per my insistence but there maybe some Canon network printers
brought into the mix.

UV AIX RS-6000.

Thanks in advance
Mark Johnson
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
__
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] OT: PCL6 Codes?

2004-11-11 Thread Buss, Troy \(Logitek Systems\)
Lots of good links:

http://www.digitalissues.co.uk/html/software/utils/pcl_index.html

http://h2.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=b
pl04632

 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Thursday, November 11, 2004 9:56 AM
To: [EMAIL PROTECTED]
Subject: [U2] OT: PCL6 Codes?

We send PCL codes to our HP printers. I've Googled til I'm blue in the
face and have yet to find a concise list of PCL codes. We have a new
'PCL compliant' HP printer (HP Laserjet 1320) and I'm under the gun to
'make that thing work' (never heard that line before? Let's trade
places...)

I think the PCL codes must have changed because nothing I send to this
printer (raw driver over Linux) is working. no font changes, pitch
changes...

TIA

--
Karl L. Pearson
Director of IT,
ATS Industrial Supply
Direct: 801-978-4429
Toll-free: 800-789-9300 1,29
Fax: 801-972-3888
http://www.atsindustrial.com
[EMAIL PROTECTED]
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
__
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


[U2] [UV] controlling selects with unconverted data used for selection errors

2004-11-11 Thread Buss, Troy \(Logitek Systems\)
Using universe 10.0.19...
 
When a user provides an invalid date value for a select, universe prints
out the error message bad data unconverted data used for selection
but goes on and does the select.
 
Is there a way to:
 
1. require that the retrieve command fail when this occurs by using a
keyword similiar to REQUIRE.INDEX as in REQUIRE.NO.ERRORS ?
 
or 
 
2. be able to get a result code from the command via the 'RETURNING
ERRORS' clause of an execute statement?
 
 
Personally, I think the command should outright fail when this occurs
rather than wasting the user's time and/or provding results that are not
what was intended.
 
Sample:
 
SELECT SOLI WITH DATE 2/31/04
Bad data 2/31/04 for conversion D2-.  Unconverted data used for
selection.
-- select proceeds for 2 minutes with zero items selected --
 
 
-Troy
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [UV] Term settings for capture and no extra headings

2004-10-29 Thread Buss, Troy \(Logitek Systems\)
Thanks Bill and everyone for their ideas.

Some more clarification and information...

We have a generic wrapper around all reports, both basic and ad hoc
universe query.  

One of the options (besides PRINTING the report) is that the user can
choose to 'capture' the output and a wintegrate script is executed which
turns on capture to a file  (running in NO.PAGE mode).  Once the report
is captured, they might use the report for excel or word or notepad
editing.

I would like to retain at least the first page's heading because it
contains the column names and other information that may be useful for
the report such as date ranges, report title, as of date, etc.

If I do not change the page depth from 60, I get an undesirable page
header every 60 lines which means the user has to manually remove them.
By changing the page depth to zero in D3, one was able to get the first
page headings, but there was never a second page so the report 'data'
continued all the way to the end (without page breaks).

What I have done for Universe is to set the maximum of 32767 for a page
depth, but for some reports there is a chance that the data may exceed
this line count.  In addition, we have a few basic programs that do a
'page' command that forces a new heading and we end up with almost
32,000 blank lines before the next page heading because universe is
essentially filling out the prior page with CRLF for the remaining line
count.

The only work around that I've come up with (conceptually so far) is to
create a hold file (via (P) printing the job), trim out the blank lines
before form feeds, turn on capture, and then PRINT the HOLD file text
to winteg, and then turn off capture.   (I already do a similar process
for normally printed laserjet reports to eliminate the leading form feed
on all of our print jobs which saves a ton of blank page paper.)

I was just hoping there was some undocumented ASSIGN 1 TO SYSTEM(magic
number) thing that fixed this. Or any other ideas that would work??
Thanks!

-Troy


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bill H.
Sent: Thursday, October 28, 2004 7:59 PM
To: [EMAIL PROTECTED]
Subject: RE: [U2] [UV] Term settings for capture and no extra headings

Troy:

I don't think this is possible.  I spent a day trying to find it.
There's a bevy of stuff Universe doesn't do that D3 does easily.  This
is one of them.
:-(

However, I think some mentioned the Report Viewer.  I use this a lot
and maybe it'll work for you.

Bill
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


[U2] [UV] Term settings for capture and no extra headings

2004-10-28 Thread Buss, Troy \(Logitek Systems\)
On Universe 10.0.19:



I want to capture a report sent to the emulator (wintegrate) and still
retain the first page headings, but not get a repeating heading every 60
lines or so.



On pick D3, it was possible to get this behavior by setting the page
depth to 0.   On universe, it wants an integer from 1 to 32767 so I end
up with page breaks and a new heading every 32k lines (which is
currently the lesser of the 2 evils).



Is there a setting on universe that will accomplish what I need?



Thanks!
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Text to PDF Converter

2004-10-21 Thread Buss, Troy \(Logitek Systems\)
If you need to convert from PCL formatted documents (those already
formatted for HP laserjets) then visual software pcl2pdf32 is a great
product.  Includes pcl2pdf32.exe command line interface.

www.visual.co.uk
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [UD] running a subroutine

2004-10-15 Thread Buss, Troy \(Logitek Systems\)
Idea:

Create a little stub program that does something like this:

Program Sub.tester

Gosub parse.sentence
Subr.name = parsed.sentence2
Gosub get.arguments
Arg.count = dcount(arguments, @am)
Begin case
 case arg.count = 0 ; call subr.name
 case arg.count = 1 ; call subr.name(arguments1)
 case arg.count = 2 ; call subr.name(arguments1, arguments2)
 case arg.count = 3 ; call subr.name(arguments1, arguments2,
arguments3)
... Etc ...
End case

Catalog sub.tester

Then run like this:

:sub.tester subr.name value.of.arg1 value.of.arg2


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Shawn Waldie
Sent: Friday, October 15, 2004 3:59 PM
To: [EMAIL PROTECTED]
Subject: [U2] [UD] running a subroutine

Wondering if there is a way to execute a subroutine from the colon
prompt.

Let's say I have a subroutine that is defined as having 2 input args
like:

SUBROUTINE subr.name(arg1,arg2).


I would like to test it from the colon prompt without having to
hard-code the values of arg1/arg2...something like:

:RUN BP subr.name value.of.arg1 value.of.arg2

Is something like this possible?  What I've tried so far hasn't worked.


* Shawn WaldieSan Juan College *
* Programmer/Analyst 4601 College Blvd *
* Phone: (505)566-3072   Farmington, NM  87402 *
*  email: [EMAIL PROTECTED]   *
*  *
* HP-UX 11.11   UniData 6.0.4Colleague R17 *

---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] wIntegrate keep-alives - we need this feature

2004-09-29 Thread Buss, Troy \(Logitek Systems\)
This is becoming a real issue for us too as we have a lot of VPN users.
We really need the keep alives option in winteg.  How do we make this
happen?

We are indirect and tracking is an issue, so does someone with a direct
support contract want to put in the official request and track it?

If I don't hear back, I'll put in a request with epicor to request this.

Thanks!


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bill H.
Sent: Thursday, July 08, 2004 11:37 AM
To: [EMAIL PROTECTED]
Subject: [U2] wIntegrate keep-alives

Does wIntegrate have any facility to send keep-alives, like AccuTerm
does, in order to avoid the inevitible over the internet?

Bill
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
__
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] wIntegrate keep-alives - we need this feature

2004-09-29 Thread Buss, Troy \(Logitek Systems\)
We are using CISCO's VPN software.  With email running, it works fine
since email is always creating traffic with the exchange server and/or
pop email boxes.  But if you're only running winteg (we have the 3.x
version) it eventually times out the user.  I checked the help with the
latest version I have and still did not see the option like accuterm
provides (which is MY personal work-around), but the users all use
winteg only for telnet.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Adrian Matthews
Sent: Wednesday, September 29, 2004 11:08 AM
To: [EMAIL PROTECTED]
Subject: RE: [U2] wIntegrate keep-alives - we need this feature

We use it over a VPN without problems. Must be our VPN client software
sending the keepalives
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


[U2] [UV] SOX - TCL command logging / auditing

2004-09-16 Thread Buss, Troy \(Logitek Systems\)
Does anyone know if there is a built in facility within universe for
logging TCL commands by account or even globally?  Something similar
perhaps as the 'errlog' feature.
 
Of concern by an internal SOX (sarbanes-oxley) audit was that its
possible for data to be changed outside of the application.
Specifically, direct access to data could remain undetected resulting
in unauthorized changes to financial data, affecting data integrity.
 
Thanks!
 
-Troy
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


[U2] [OT] list management - somewhat related to keep alives

2004-07-09 Thread Buss, Troy \(Logitek Systems\)
Speaking of keep alives... Is there not a way with this list to filter
out ALL messages remotely resembling 'out of office' auto replys?


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Friday, July 09, 2004 9:03 AM
To: [EMAIL PROTECTED]
Subject: [U2] Gary Canedy/users/Promutualgroup is out of the office.

I will be out of the office starting  07/09/2004 and will not return
until 07/13/2004.

Vacation...  I will respond to your message when I return.
---
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/