Re: [U2] Corrupted compiled code

2011-12-22 Thread Wally Terhune
You might try checking the source/object with VCATALOG after a problem occurs 
and before you recompile. What I'm hearing Bill say is that object code on disk 
has changed (apparently). As someone else suggested - check time/date of object 
also to see if this has changed after what you believe to be the last 
compilation. 

If a problem occurred, but did not re-occur after exiting and starting a new 
udt session - that feels like 'flaky memory' or some problem with udt.exe that 
has corrupted the memory for that process (think exception violation). If the 
only correction is to generate new object code (that presumably is not 
identical to what had been used), then you start thinking about disk or 
utilities that could touch files/objects on disk.

Wally Terhune
U2 Support Architect
Rocket Software
4600 South Ulster Street, Suite 1100 **Denver, CO 80237 **USA
Tel: +1.720.475.8055
Email: wterh...@rs.com
Web: www.rocketsoftware.com/u2



-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Bill Haskett
Sent: Wednesday, December 21, 2011 10:50 PM
To: U2 Users List
Subject: Re: [U2] Corrupted compiled code

I don't know.  I compile a lot in development and have SEP installed.  
You'd think it would wreck havoc, but one never knows.  But, as Wally said, 
since I catalog locally sbcs shouldn't be involved.

I'm not familiar with memory management for Windows  UniData.  :-(

Bill


- Original Message -
*From:* precisonl...@gmail.com
*To:* dgr...@dagconsulting.com, U2 Users List u2-users@listserver.u2ug.org
*Date:* 12/21/2011 5:37 PM
*Subject:* Re: [U2] Corrupted compiled code
 This is a long shot, but Wally's mention of malloc made me wonder... 
 could there be any software (virus checking or otherwise) that's 
 working on memory objects, not disk files?

 -Kevin
 http://www.PrecisOnline.com
 ___
 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] Corrupted compiled code

2011-12-22 Thread John Thompson
You should be able to add an exclusion in your antivirus.

For Universe, you could just add *.O

If you add it to the real time checker, and the full scanner, that might
eliminate any anti-virus non-sense.

On Thu, Dec 22, 2011 at 7:50 AM, Wally Terhune
wterh...@rocketsoftware.comwrote:

 You might try checking the source/object with VCATALOG after a problem
 occurs and before you recompile. What I'm hearing Bill say is that object
 code on disk has changed (apparently). As someone else suggested - check
 time/date of object also to see if this has changed after what you believe
 to be the last compilation.

 If a problem occurred, but did not re-occur after exiting and starting a
 new udt session - that feels like 'flaky memory' or some problem with
 udt.exe that has corrupted the memory for that process (think exception
 violation). If the only correction is to generate new object code (that
 presumably is not identical to what had been used), then you start thinking
 about disk or utilities that could touch files/objects on disk.

 Wally Terhune
 U2 Support Architect
 Rocket Software
 4600 South Ulster Street, Suite 1100 **Denver, CO 80237 **USA
 Tel: +1.720.475.8055
 Email: wterh...@rs.com
 Web: www.rocketsoftware.com/u2



 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org [mailto:
 u2-users-boun...@listserver.u2ug.org] On Behalf Of Bill Haskett
 Sent: Wednesday, December 21, 2011 10:50 PM
 To: U2 Users List
 Subject: Re: [U2] Corrupted compiled code

 I don't know.  I compile a lot in development and have SEP installed.
 You'd think it would wreck havoc, but one never knows.  But, as Wally
 said, since I catalog locally sbcs shouldn't be involved.

 I'm not familiar with memory management for Windows  UniData.  :-(

 Bill

 
 - Original Message -
 *From:* precisonl...@gmail.com
 *To:* dgr...@dagconsulting.com, U2 Users List 
 u2-users@listserver.u2ug.org
 *Date:* 12/21/2011 5:37 PM
 *Subject:* Re: [U2] Corrupted compiled code
  This is a long shot, but Wally's mention of malloc made me wonder...
  could there be any software (virus checking or otherwise) that's
  working on memory objects, not disk files?
 
  -Kevin
  http://www.PrecisOnline.com
  ___
  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




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


Re: [U2] Corrupted compiled code

2011-12-22 Thread John Thompson
Well it appears that SEP, does not allow the use of wildcards for
exclusions.

http://www.symantec.com/business/support/index?page=contentid=TECH104326

Another reason why I hate Symantec, but, I shall not become a troll.

I would pick through their knowledge base or call them up and see if there
is a way to exclude anything with a .O in it (or whatever Unidata uses).

On Thu, Dec 22, 2011 at 8:28 AM, John Thompson jthompson...@gmail.comwrote:

 You should be able to add an exclusion in your antivirus.

 For Universe, you could just add *.O

 If you add it to the real time checker, and the full scanner, that might
 eliminate any anti-virus non-sense.


 On Thu, Dec 22, 2011 at 7:50 AM, Wally Terhune 
 wterh...@rocketsoftware.com wrote:

 You might try checking the source/object with VCATALOG after a problem
 occurs and before you recompile. What I'm hearing Bill say is that object
 code on disk has changed (apparently). As someone else suggested - check
 time/date of object also to see if this has changed after what you believe
 to be the last compilation.

 If a problem occurred, but did not re-occur after exiting and starting a
 new udt session - that feels like 'flaky memory' or some problem with
 udt.exe that has corrupted the memory for that process (think exception
 violation). If the only correction is to generate new object code (that
 presumably is not identical to what had been used), then you start thinking
 about disk or utilities that could touch files/objects on disk.

 Wally Terhune
 U2 Support Architect
 Rocket Software
 4600 South Ulster Street, Suite 1100 **Denver, CO 80237 **USA
 Tel: +1.720.475.8055
 Email: wterh...@rs.com
 Web: www.rocketsoftware.com/u2



 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org [mailto:
 u2-users-boun...@listserver.u2ug.org] On Behalf Of Bill Haskett
 Sent: Wednesday, December 21, 2011 10:50 PM
 To: U2 Users List
 Subject: Re: [U2] Corrupted compiled code

 I don't know.  I compile a lot in development and have SEP installed.
 You'd think it would wreck havoc, but one never knows.  But, as Wally
 said, since I catalog locally sbcs shouldn't be involved.

 I'm not familiar with memory management for Windows  UniData.  :-(

 Bill

 
 - Original Message -
 *From:* precisonl...@gmail.com
 *To:* dgr...@dagconsulting.com, U2 Users List 
 u2-users@listserver.u2ug.org
 *Date:* 12/21/2011 5:37 PM
 *Subject:* Re: [U2] Corrupted compiled code
  This is a long shot, but Wally's mention of malloc made me wonder...
  could there be any software (virus checking or otherwise) that's
  working on memory objects, not disk files?
 
  -Kevin
  http://www.PrecisOnline.com
  ___
  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




 --
 John Thompson




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


Re: [U2] Corrupted compiled code

2011-12-22 Thread Bill Haskett
Actually I exclude everything except the two directories, on the E:\ 
drive, used for uploads and the base Windows C:\ directory where 
nothing resides, except Windows and drivers.  Temp and the page file is 
on D.  I also checked the scanning, and real-time exception list and 
everything's excluded (except the upload directories).


Makes one wonder though.  Not every recompile, obviously, causes 
problems.  We have 1,500 programs that get recompiled occasionally 
(every three or four months) in our development environment (everything 
was re-compiled on 20 Dec 11).


Merry XMas.

Bill


- Original Message -
*From:* jthompson...@gmail.com
*To:* U2 Users List u2-users@listserver.u2ug.org
*Date:* 12/22/2011 5:28 AM
*Subject:* Re: [U2] Corrupted compiled code

You should be able to add an exclusion in your antivirus.

For Universe, you could just add *.O

If you add it to the real time checker, and the full scanner, that might
eliminate any anti-virus non-sense.

On Thu, Dec 22, 2011 at 7:50 AM, Wally Terhune
wterh...@rocketsoftware.comwrote:


You might try checking the source/object with VCATALOG after a problem
occurs and before you recompile. What I'm hearing Bill say is that object
code on disk has changed (apparently). As someone else suggested - check
time/date of object also to see if this has changed after what you believe
to be the last compilation.

If a problem occurred, but did not re-occur after exiting and starting a
new udt session - that feels like 'flaky memory' or some problem with
udt.exe that has corrupted the memory for that process (think exception
violation). If the only correction is to generate new object code (that
presumably is not identical to what had been used), then you start thinking
about disk or utilities that could touch files/objects on disk.

Wally Terhune
U2 Support Architect
Rocket Software
4600 South Ulster Street, Suite 1100 **Denver, CO 80237 **USA
Tel: +1.720.475.8055
Email: wterh...@rs.com
Web: www.rocketsoftware.com/u2



-Original Message-
From: u2-users-boun...@listserver.u2ug.org [mailto:
u2-users-boun...@listserver.u2ug.org] On Behalf Of Bill Haskett
Sent: Wednesday, December 21, 2011 10:50 PM
To: U2 Users List
Subject: Re: [U2] Corrupted compiled code

I don't know.  I compile a lot in development and have SEP installed.
You'd think it would wreck havoc, but one never knows.  But, as Wally
said, since I catalog locally sbcs shouldn't be involved.

I'm not familiar with memory management for Windows  UniData.  :-(

Bill


- Original Message -
*From:* precisonl...@gmail.com
*To:* dgr...@dagconsulting.com, U2 Users List
u2-users@listserver.u2ug.org
*Date:* 12/21/2011 5:37 PM
*Subject:* Re: [U2] Corrupted compiled code

This is a long shot, but Wally's mention of malloc made me wonder...
could there be any software (virus checking or otherwise) that's
working on memory objects, not disk files?

-Kevin
http://www.PrecisOnline.com
___
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-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


[U2] AUTO: Asvin DATTANI is out of the office (returning 16/01/2012)

2011-12-22 Thread asvin . dattani

I am out of the office until 16/01/2012.

I will then be out of the country until 30/01/2012, but will be contactable
by telephone, email and sametime.


Note: This is an automated response to your message  Re: [U2] Corrupted
compiled code sent on 22/12/2011 19:59:16.

This is the only notification you will receive while this person is away.

-
SAVE PAPER - THINK BEFORE YOU PRINT!

This transmission has been issued by a member of the HSBC Group
HSBC for the information of the addressee only and should not be
reproduced and/or distributed to any other person. Each page
attached hereto must be read in conjunction with any disclaimer
which forms part of it. Unless otherwise stated, this transmission
is neither an offer nor the solicitation of an offer to sell or
purchase any investment. Its contents are based on information
obtained from sources believed to be reliable but HSBC makes no
representation and accepts no responsibility or liability as to its
completeness or accuracy.
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


[U2] Line Printer Control

2011-12-22 Thread Bill Brutzman
We still use a greenbar printer to print checks.

Via a UniBasic program, I am trying to send an alignment pattern to the printer 
before starting the check run.

The trouble is that it always does a form feed after the alignment pattern.

I have been diddling with toggling options in...

execute 'SETPTR 0,132,60,2,0,1,NHEAD,BRIEF,NFMT,NOEJECT,NODEFAULT,NOFORMFEED, 
AT PR0'

PRINTER OFF
PRINTER CLOSE

Help would be appreciated.

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


Re: [U2] Line Printer Control

2011-12-22 Thread John Thompson
If I remember correctly, when we converted from UltPlus to Universe... I
had to set the following in our master login paragraph (I know, I know,
probably not the best place for it) for a lot of legacy stuff.

SETPTR ,132,60,0,0,,NOHEAD,BRIEF,NFMT

Try that maybe?  Shot in the dark.  I do remember many hours pulling my
hair out over this though.

On Thu, Dec 22, 2011 at 3:06 PM, Bill Brutzman bi...@hkmetalcraft.comwrote:

 We still use a greenbar printer to print checks.

 Via a UniBasic program, I am trying to send an alignment pattern to the
 printer before starting the check run.

 The trouble is that it always does a form feed after the alignment pattern.

 I have been diddling with toggling options in...

 execute 'SETPTR
 0,132,60,2,0,1,NHEAD,BRIEF,NFMT,NOEJECT,NODEFAULT,NOFORMFEED, AT PR0'

 PRINTER OFF
 PRINTER CLOSE

 Help would be appreciated.

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




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


Re: [U2] Line Printer Control

2011-12-22 Thread John Thompson
You also might try 66 lines.

SETPTR ,132,66,0,0,,NOHEAD,BRIEF,NFMT

On Thu, Dec 22, 2011 at 3:13 PM, John Thompson jthompson...@gmail.comwrote:

 If I remember correctly, when we converted from UltPlus to Universe... I
 had to set the following in our master login paragraph (I know, I know,
 probably not the best place for it) for a lot of legacy stuff.

 SETPTR ,132,60,0,0,,NOHEAD,BRIEF,NFMT

 Try that maybe?  Shot in the dark.  I do remember many hours pulling my
 hair out over this though.


 On Thu, Dec 22, 2011 at 3:06 PM, Bill Brutzman bi...@hkmetalcraft.comwrote:

 We still use a greenbar printer to print checks.

 Via a UniBasic program, I am trying to send an alignment pattern to the
 printer before starting the check run.

 The trouble is that it always does a form feed after the alignment
 pattern.

 I have been diddling with toggling options in...

 execute 'SETPTR
 0,132,60,2,0,1,NHEAD,BRIEF,NFMT,NOEJECT,NODEFAULT,NOFORMFEED, AT PR0'

 PRINTER OFF
 PRINTER CLOSE

 Help would be appreciated.

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




 --
 John Thompson




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


Re: [U2] Line Printer Control

2011-12-22 Thread Dave Laansma
If you're on AIX, there are some settings in smit that may be causing it
too.

Sincerely,
David Laansma
IT Manager
Hubbard Supply Co.
Direct: 810-342-7143
Office: 810-234-8681
Fax: 810-234-6142
www.hubbardsupply.com
Delivering Products, Services and Innovative Solutions

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of John Thompson
Sent: Thursday, December 22, 2011 3:14 PM
To: U2 Users List
Subject: Re: [U2] Line Printer Control

If I remember correctly, when we converted from UltPlus to Universe... I
had to set the following in our master login paragraph (I know, I know,
probably not the best place for it) for a lot of legacy stuff.

SETPTR ,132,60,0,0,,NOHEAD,BRIEF,NFMT

Try that maybe?  Shot in the dark.  I do remember many hours pulling my
hair out over this though.

On Thu, Dec 22, 2011 at 3:06 PM, Bill Brutzman
bi...@hkmetalcraft.comwrote:

 We still use a greenbar printer to print checks.

 Via a UniBasic program, I am trying to send an alignment pattern to 
 the printer before starting the check run.

 The trouble is that it always does a form feed after the alignment
pattern.

 I have been diddling with toggling options in...

 execute 'SETPTR
 0,132,60,2,0,1,NHEAD,BRIEF,NFMT,NOEJECT,NODEFAULT,NOFORMFEED, AT PR0'

 PRINTER OFF
 PRINTER CLOSE

 Help would be appreciated.

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




--
John Thompson
___
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 there any ORM's for Universe. NHibernate, Entity Framework etc

2011-12-22 Thread David Jordan
What I would like to see is that U2 builds stronger interface between UniBasic 
Subroutines and DataSets/entity frameworks.   The current methodology is to 
create a 3 tier environment with a database server, an application server and a 
client server where U2 is just a simple data server.   If you use U2 as the 
data server and the application server, you have greater ability to take 
advantage of the performance benefits of multivalue databases and you simplify 
the transaction process and disaster recovery.   ORMs work with stored 
procedures, so why not subroutines.

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


Re: [U2] Line Printer Control

2011-12-22 Thread John Thompson
Yes, on AIX, if you are using System V printing, make sure you setup the
printer like so:

Sorry for the ugly output...

Add Remote Printer Configuration

Type or select values in entry fields.
Press Enter AFTER making all desired changes.

[Entry Fields]
* PRINTER name   [Qtest]
* SERVER name[dns-name-or-ip]
 +
* PRINTER NAME on server [RAW]
  COMMENT[]
  CLASS name []
 +

  -- Interface Program Options --

  Printer TYPES  [Other]
  +
  CONTENT TYPE   [simple]
 +

  - Header/Trailer Page Options -

  Force BANNER?   no
  +


On Thu, Dec 22, 2011 at 3:14 PM, Dave Laansma dlaan...@hubbardsupply.comwrote:

 If you're on AIX, there are some settings in smit that may be causing it
 too.

 Sincerely,
 David Laansma
 IT Manager
 Hubbard Supply Co.
 Direct: 810-342-7143
 Office: 810-234-8681
 Fax: 810-234-6142
 www.hubbardsupply.com
 Delivering Products, Services and Innovative Solutions

 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org
 [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of John Thompson
 Sent: Thursday, December 22, 2011 3:14 PM
 To: U2 Users List
 Subject: Re: [U2] Line Printer Control

 If I remember correctly, when we converted from UltPlus to Universe... I
 had to set the following in our master login paragraph (I know, I know,
 probably not the best place for it) for a lot of legacy stuff.

 SETPTR ,132,60,0,0,,NOHEAD,BRIEF,NFMT

 Try that maybe?  Shot in the dark.  I do remember many hours pulling my
 hair out over this though.

 On Thu, Dec 22, 2011 at 3:06 PM, Bill Brutzman
 bi...@hkmetalcraft.comwrote:

  We still use a greenbar printer to print checks.
 
  Via a UniBasic program, I am trying to send an alignment pattern to
  the printer before starting the check run.
 
  The trouble is that it always does a form feed after the alignment
 pattern.
 
  I have been diddling with toggling options in...
 
  execute 'SETPTR
  0,132,60,2,0,1,NHEAD,BRIEF,NFMT,NOEJECT,NODEFAULT,NOFORMFEED, AT PR0'
 
  PRINTER OFF
  PRINTER CLOSE
 
  Help would be appreciated.
 
  --Bill
  ___
  U2-Users mailing list
  U2-Users@listserver.u2ug.org
  http://listserver.u2ug.org/mailman/listinfo/u2-users
 



 --
 John Thompson
 ___
 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




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


Re: [U2] Line Printer Control

2011-12-22 Thread John Thompson
We use this for a Universe driver... Maybe this is too much info for you...
And this was written by another gentleman for AIX, basic line printer
printing with System V printing.

All of the internals I do not fully understand without more reading and
refreshing my memory.

# cat /usr/spool/uv/uv.drv
#!/bin/sh
#
# Printer driver for UniVerse applications to record each print job.
#
#
# UniVerse sends options along with the print file. This script captures
# relevant information and creates a log entry for each print job.
#
#
# Modified to do the awk on all print streams
#
# $1 = login userid
# $2 = UniVerse queue jobnumber
# $3 = size of the file in bytes
# $4 = Print file name from UniVerse (from editor, not valid for SORT)
# $5 = UniVerse form queue number
# $6 = UniVerse spool queue name
# $7 = columns width from setptr
# $8 = rows on page from setptr
# $9 = a 1 looks like it might be the print mode
# $10 - $15 = 80 through 85 probably not used


UVUID=$1
JOBNUM=$2
JOBSIZE=$3
JOBNAME=$4
FORMQ=$5
PRINTNAME=$6
JOBCOL=$7
JOBROW=$8


cpi=10
lpi=6
landscape=0

TUSER=`cut -f1,2,3,4 -d: /etc/passwd | /bin/grep !:$UVUID: |
/usr/bin/awk -F : '{print $1}`


# logger -p local2.info print $UVUID bx.drv -- $JOBNUM $JOBSIZE $FORMQ
# $PRINTNAME $JOBCOL $JOBROW $TUSER
# logger -p local2.info print $UVUID ts.drv -- $JOBNUM $JOBSIZE $FORMQ
$PRINTNAME $JOBCOL $JOBROW $TUSER

lpcmd=

case $PRINTNAME in
#   ACCT)
#   cpi=17
#   lpi=8
#   landscape=1
#   ;;
*)
lpcmd=
;;
esac

if [[ $cpi -eq 17 ]]
then
lpcmd=$lpcmd -o cpi=17
fi
if [[ $lpi -eq 8 ]]
then
lpcmd=$lpcmd -o lpi=8
fi
if [[ $landscape -eq 1 ]]
then
lpcmd=$lpcmd -o landscape
fi

gawk '{printf %s\r\n,$0}' - | lp -d $PRINTNAME $lpcmd

On Thu, Dec 22, 2011 at 3:21 PM, John Thompson jthompson...@gmail.comwrote:

 Yes, on AIX, if you are using System V printing, make sure you setup the
 printer like so:

 Sorry for the ugly output...

 Add Remote Printer Configuration

 Type or select values in entry fields.
 Press Enter AFTER making all desired changes.

 [Entry Fields]
 * PRINTER name   [Qtest]
 * SERVER name[dns-name-or-ip]
+
 * PRINTER NAME on server [RAW]
   COMMENT[]
   CLASS name []
+

   -- Interface Program Options --

   Printer TYPES  [Other]
   +
   CONTENT TYPE   [simple]
+

   - Header/Trailer Page Options -

   Force BANNER?   no
   +


 On Thu, Dec 22, 2011 at 3:14 PM, Dave Laansma 
 dlaan...@hubbardsupply.comwrote:

 If you're on AIX, there are some settings in smit that may be causing it
 too.

 Sincerely,
 David Laansma
 IT Manager
 Hubbard Supply Co.
 Direct: 810-342-7143
 Office: 810-234-8681
 Fax: 810-234-6142
 www.hubbardsupply.com
 Delivering Products, Services and Innovative Solutions

 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org
 [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of John Thompson
 Sent: Thursday, December 22, 2011 3:14 PM
 To: U2 Users List
 Subject: Re: [U2] Line Printer Control

 If I remember correctly, when we converted from UltPlus to Universe... I
 had to set the following in our master login paragraph (I know, I know,
 probably not the best place for it) for a lot of legacy stuff.

 SETPTR ,132,60,0,0,,NOHEAD,BRIEF,NFMT

 Try that maybe?  Shot in the dark.  I do remember many hours pulling my
 hair out over this though.

 On Thu, Dec 22, 2011 at 3:06 PM, Bill Brutzman
 bi...@hkmetalcraft.comwrote:

  We still use a greenbar printer to print checks.
 
  Via a UniBasic program, I am trying to send an alignment pattern to
  the printer before starting the check run.
 
  The trouble is that it always does a form feed after the alignment
 pattern.
 
  I have been diddling with toggling options in...
 
  execute 'SETPTR
  0,132,60,2,0,1,NHEAD,BRIEF,NFMT,NOEJECT,NODEFAULT,NOFORMFEED, AT PR0'
 
  PRINTER OFF
  PRINTER CLOSE
 
  Help would be appreciated.
 
  --Bill
  ___
  U2-Users mailing list
  U2-Users@listserver.u2ug.org
  http://listserver.u2ug.org/mailman/listinfo/u2-users
 



 --
 John Thompson
 ___
 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




 --
 John Thompson




-- 
John Thompson
___
U2-Users mailing list
U2-Users@listserver.u2ug.org

Re: [U2] Line Printer Control

2011-12-22 Thread Bill Brutzman
We are on HP-Ux

--Bill

-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of John Thompson
Sent: Thursday, December 22, 2011 3:21 PM
To: U2 Users List
Subject: Re: [U2] Line Printer Control

Yes, on AIX, if you are using System V printing, make sure you setup the 
printer like so:

Sorry for the ugly output...

Add Remote Printer Configuration

Type or select values in entry fields.
Press Enter AFTER making all desired changes.

[Entry Fields]
* PRINTER name   [Qtest]
* SERVER name[dns-name-or-ip]
 +
* PRINTER NAME on server [RAW]
  COMMENT[]
  CLASS name []
 +

  -- Interface Program Options --

  Printer TYPES  [Other]
  +
  CONTENT TYPE   [simple]
 +

  - Header/Trailer Page Options -

  Force BANNER?   no
  +


On Thu, Dec 22, 2011 at 3:14 PM, Dave Laansma dlaan...@hubbardsupply.comwrote:

 If you're on AIX, there are some settings in smit that may be causing 
 it too.

 Sincerely,
 David Laansma
 IT Manager
 Hubbard Supply Co.
 Direct: 810-342-7143
 Office: 810-234-8681
 Fax: 810-234-6142
 www.hubbardsupply.com
 Delivering Products, Services and Innovative Solutions

 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org
 [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of John 
 Thompson
 Sent: Thursday, December 22, 2011 3:14 PM
 To: U2 Users List
 Subject: Re: [U2] Line Printer Control

 If I remember correctly, when we converted from UltPlus to Universe... 
 I had to set the following in our master login paragraph (I know, I 
 know, probably not the best place for it) for a lot of legacy stuff.

 SETPTR ,132,60,0,0,,NOHEAD,BRIEF,NFMT

 Try that maybe?  Shot in the dark.  I do remember many hours pulling 
 my hair out over this though.

 On Thu, Dec 22, 2011 at 3:06 PM, Bill Brutzman
 bi...@hkmetalcraft.comwrote:

  We still use a greenbar printer to print checks.
 
  Via a UniBasic program, I am trying to send an alignment pattern to 
  the printer before starting the check run.
 
  The trouble is that it always does a form feed after the alignment
 pattern.
 
  I have been diddling with toggling options in...
 
  execute 'SETPTR
  0,132,60,2,0,1,NHEAD,BRIEF,NFMT,NOEJECT,NODEFAULT,NOFORMFEED, AT PR0'
 
  PRINTER OFF
  PRINTER CLOSE
 
  Help would be appreciated.
 
  --Bill
  ___
  U2-Users mailing list
  U2-Users@listserver.u2ug.org
  http://listserver.u2ug.org/mailman/listinfo/u2-users
 



 --
 John Thompson
 ___
 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




--
John Thompson
___
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] Line Printer Control

2011-12-22 Thread Dave Laansma
In smit, when you setup the queue new or change an existing 'virtual
printer' a couple of settings that give me complete control in Unidata
are:

Send FORM FEED after each file = No
Lines Per Page = null
Columns per page = 

Make sure you always set it up as a GENERIC printer and ASCII printer

Sincerely,
David Laansma
IT Manager
Hubbard Supply Co.
Direct: 810-342-7143
Office: 810-234-8681
Fax: 810-234-6142
www.hubbardsupply.com
Delivering Products, Services and Innovative Solutions


-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of John Thompson
Sent: Thursday, December 22, 2011 3:21 PM
To: U2 Users List
Subject: Re: [U2] Line Printer Control

Yes, on AIX, if you are using System V printing, make sure you setup the
printer like so:

Sorry for the ugly output...

Add Remote Printer Configuration

Type or select values in entry fields.
Press Enter AFTER making all desired changes.

[Entry Fields]
* PRINTER name   [Qtest]
* SERVER name[dns-name-or-ip]
 +
* PRINTER NAME on server [RAW]
  COMMENT[]
  CLASS name []
 +

  -- Interface Program Options --

  Printer TYPES  [Other]
  +
  CONTENT TYPE   [simple]
 +

  - Header/Trailer Page Options -

  Force BANNER?   no
  +


On Thu, Dec 22, 2011 at 3:14 PM, Dave Laansma
dlaan...@hubbardsupply.comwrote:

 If you're on AIX, there are some settings in smit that may be causing 
 it too.

 Sincerely,
 David Laansma
 IT Manager
 Hubbard Supply Co.
 Direct: 810-342-7143
 Office: 810-234-8681
 Fax: 810-234-6142
 www.hubbardsupply.com
 Delivering Products, Services and Innovative Solutions

 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org
 [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of John 
 Thompson
 Sent: Thursday, December 22, 2011 3:14 PM
 To: U2 Users List
 Subject: Re: [U2] Line Printer Control

 If I remember correctly, when we converted from UltPlus to Universe...

 I had to set the following in our master login paragraph (I know, I 
 know, probably not the best place for it) for a lot of legacy stuff.

 SETPTR ,132,60,0,0,,NOHEAD,BRIEF,NFMT

 Try that maybe?  Shot in the dark.  I do remember many hours pulling 
 my hair out over this though.

 On Thu, Dec 22, 2011 at 3:06 PM, Bill Brutzman
 bi...@hkmetalcraft.comwrote:

  We still use a greenbar printer to print checks.
 
  Via a UniBasic program, I am trying to send an alignment pattern to 
  the printer before starting the check run.
 
  The trouble is that it always does a form feed after the alignment
 pattern.
 
  I have been diddling with toggling options in...
 
  execute 'SETPTR
  0,132,60,2,0,1,NHEAD,BRIEF,NFMT,NOEJECT,NODEFAULT,NOFORMFEED, AT
PR0'
 
  PRINTER OFF
  PRINTER CLOSE
 
  Help would be appreciated.
 
  --Bill
  ___
  U2-Users mailing list
  U2-Users@listserver.u2ug.org
  http://listserver.u2ug.org/mailman/listinfo/u2-users
 



 --
 John Thompson
 ___
 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




--
John Thompson
___
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] Corrupted compiled code

2011-12-22 Thread Bill Haskett

Thought I'd try the VCATALOG verb and got:

:VCATALOG DTABP BUILD.HEADING BUILD.HEADING
errno=2: No such file or directory
Program 'BUILD.HEADING' does not verify.
:AE VOC DTABP
Top of DTABP in VOC, 3 lines, 28 characters.
*--: P
001: LD
002: @ABO_SYS\BP
003: @ABO_SYS\D_BP
Bottom.
*--: EX
Quit DTABP in file VOC unchanged.
:LIST DTABP SAMPLING 5
LIST DTABP SAMPLING 5 12:06:01 Dec 22 2011 1
BP

123CONV.ASCII
ACCT-INDEX
ACCT.REINDEX
ACH.CREATE
ACH.PROCESS
5 records listed

I read the documentation and don't know where I went wrong.  I did make 
sure the problem occurred after I disconnected.  I was using a UO 
connection and made sure the connection was killed, logged off, and 
tried again with the connection restarting each time I tried again.  I 
also ran the Dell hardware tests and all results showed no problems.


The weird thing about the checks, a few days ago, is one of our beta 
testing clients was running checks all day.  It was just me that was 
having problems.  Secondly, the other problem we were all having was 
limited to one dbms account.  The same code ran just fine on all the 
other accounts.


Last night I restored the application code account from a few days ago.  
A look at the date/time stamps for the _ object code shows nothing 
unusual.  One program was recompiled during the last total recompilation 
on Aug 19, while another was recompiled on Oct 24.


Thanks,

Bill


- Original Message -
*From:* wterh...@rocketsoftware.com
*To:* U2 Users List u2-users@listserver.u2ug.org
*Date:* 12/22/2011 4:50 AM
*Subject:* Re: [U2] Corrupted compiled code

You might try checking the source/object with VCATALOG after a problem occurs 
and before you recompile. What I'm hearing Bill say is that object code on disk 
has changed (apparently). As someone else suggested - check time/date of object 
also to see if this has changed after what you believe to be the last 
compilation.

If a problem occurred, but did not re-occur after exiting and starting a new 
udt session - that feels like 'flaky memory' or some problem with udt.exe that 
has corrupted the memory for that process (think exception violation). If the 
only correction is to generate new object code (that presumably is not 
identical to what had been used), then you start thinking about disk or 
utilities that could touch files/objects on disk.

Wally Terhune
U2 Support Architect
Rocket Software
4600 South Ulster Street, Suite 1100 **Denver, CO 80237 **USA
Tel: +1.720.475.8055
Email: wterh...@rs.com
Web: www.rocketsoftware.com/u2



-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Bill Haskett
Sent: Wednesday, December 21, 2011 10:50 PM
To: U2 Users List
Subject: Re: [U2] Corrupted compiled code

I don't know.  I compile a lot in development and have SEP installed.
You'd think it would wreck havoc, but one never knows.  But, as Wally said, 
since I catalog locally sbcs shouldn't be involved.

I'm not familiar with memory management for Windows  UniData.  :-(

Bill


- Original Message -
*From:* precisonl...@gmail.com
*To:* dgr...@dagconsulting.com, U2 Users Listu2-users@listserver.u2ug.org
*Date:* 12/21/2011 5:37 PM
*Subject:* Re: [U2] Corrupted compiled code

This is a long shot, but Wally's mention of malloc made me wonder...
could there be any software (virus checking or otherwise) that's
working on memory objects, not disk files?

-Kevin
http://www.PrecisOnline.com

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


Re: [U2] Corrupted compiled code

2011-12-22 Thread Colin Alfke
I tried VCATALOG on a directly catalogued item and received the same error.
The help does say it checks the global catalog file. 

I usually compare the time/date stamps on the original vs the compiled as we
usually only compile immediately after saving the record.

Colin

-Original Message-
From: Bill Haskett

Thought I'd try the VCATALOG verb and got:

:VCATALOG DTABP BUILD.HEADING BUILD.HEADING
errno=2: No such file or directory
Program 'BUILD.HEADING' does not verify.
:AE VOC DTABP
Top of DTABP in VOC, 3 lines, 28 characters.
*--: P
001: LD
002: @ABO_SYS\BP
003: @ABO_SYS\D_BP
Bottom.
*--: EX
Quit DTABP in file VOC unchanged.
:LIST DTABP SAMPLING 5
LIST DTABP SAMPLING 5 12:06:01 Dec 22 2011 1
BP

123CONV.ASCII
ACCT-INDEX
ACCT.REINDEX
ACH.CREATE
ACH.PROCESS
5 records listed

I read the documentation and don't know where I went wrong.  I did make 
sure the problem occurred after I disconnected.  I was using a UO 
connection and made sure the connection was killed, logged off, and 
tried again with the connection restarting each time I tried again.  I 
also ran the Dell hardware tests and all results showed no problems.

The weird thing about the checks, a few days ago, is one of our beta 
testing clients was running checks all day.  It was just me that was 
having problems.  Secondly, the other problem we were all having was 
limited to one dbms account.  The same code ran just fine on all the 
other accounts.

Last night I restored the application code account from a few days ago.  
A look at the date/time stamps for the _ object code shows nothing 
unusual.  One program was recompiled during the last total recompilation 
on Aug 19, while another was recompiled on Oct 24.

Thanks,

Bill


- Original Message -
*From:* WTerhune
 You might try checking the source/object with VCATALOG after a problem
occurs and before you recompile. What I'm hearing Bill say is that object
code on disk has changed (apparently). As someone else suggested - check
time/date of object also to see if this has changed after what you believe
to be the last compilation.

 If a problem occurred, but did not re-occur after exiting and starting a
new udt session - that feels like 'flaky memory' or some problem with
udt.exe that has corrupted the memory for that process (think exception
violation). If the only correction is to generate new object code (that
presumably is not identical to what had been used), then you start thinking
about disk or utilities that could touch files/objects on disk.

 Wally Terhune
 U2 Support Architect
 Rocket Software


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


Re: [U2] Corrupted compiled code

2011-12-22 Thread Bill Haskett

John:

As an aside, I'm using UD.  Our code is kept in a particular file in an 
application account (directory).  The code is compiled which puts the 
object in the same file (e.g. program BUILD.HEADING gets compiled as 
_BUILD.HEADING and resides in the same program file).  When the program 
is cataloged, I leave it alone and put a VOC pointer in the local 
account, the DIRECT catalog option.  All code resides in the same place 
but is not globally cataloged into the global catalog space.


This directory is excluded by SEP.  In fact, SEP allows me to exclude 
using the '*' wildcard (e.g. D:\* excludes this entire drive).  The 
entire AV industry is pretty screwed up.  I've used several products 
and, lately, I'm back with Symantec because I'm able to do the simple 
stuff, without too much interference, quickly and cheaply.  Kaspersky 
was my last AV provider (on servers) and I couldn't take them any more.  :-(


Thanks and have a Merry Xmas.

Bill


- Original Message -
*From:* jthompson...@gmail.com
*To:* U2 Users List u2-users@listserver.u2ug.org
*Date:* 12/22/2011 5:36 AM
*Subject:* Re: [U2] Corrupted compiled code

Well it appears that SEP, does not allow the use of wildcards for
exclusions.

http://www.symantec.com/business/support/index?page=contentid=TECH104326

Another reason why I hate Symantec, but, I shall not become a troll.

I would pick through their knowledge base or call them up and see if there
is a way to exclude anything with a .O in it (or whatever Unidata uses).

On Thu, Dec 22, 2011 at 8:28 AM, John Thompsonjthompson...@gmail.comwrote:


You should be able to add an exclusion in your antivirus.

For Universe, you could just add *.O

If you add it to the real time checker, and the full scanner, that might
eliminate any anti-virus non-sense.


On Thu, Dec 22, 2011 at 7:50 AM, Wally Terhune
wterh...@rocketsoftware.com  wrote:


You might try checking the source/object with VCATALOG after a problem
occurs and before you recompile. What I'm hearing Bill say is that object
code on disk has changed (apparently). As someone else suggested - check
time/date of object also to see if this has changed after what you believe
to be the last compilation.

If a problem occurred, but did not re-occur after exiting and starting a
new udt session - that feels like 'flaky memory' or some problem with
udt.exe that has corrupted the memory for that process (think exception
violation). If the only correction is to generate new object code (that
presumably is not identical to what had been used), then you start thinking
about disk or utilities that could touch files/objects on disk.

Wally Terhune
U2 Support Architect
Rocket Software
4600 South Ulster Street, Suite 1100 **Denver, CO 80237 **USA
Tel: +1.720.475.8055
Email: wterh...@rs.com
Web: www.rocketsoftware.com/u2



-Original Message-
From: u2-users-boun...@listserver.u2ug.org [mailto:
u2-users-boun...@listserver.u2ug.org] On Behalf Of Bill Haskett
Sent: Wednesday, December 21, 2011 10:50 PM
To: U2 Users List
Subject: Re: [U2] Corrupted compiled code

I don't know.  I compile a lot in development and have SEP installed.
You'd think it would wreck havoc, but one never knows.  But, as Wally
said, since I catalog locally sbcs shouldn't be involved.

I'm not familiar with memory management for Windows  UniData.  :-(

Bill


- Original Message -
*From:* precisonl...@gmail.com
*To:* dgr...@dagconsulting.com, U2 Users List
u2-users@listserver.u2ug.org
*Date:* 12/21/2011 5:37 PM
*Subject:* Re: [U2] Corrupted compiled code

This is a long shot, but Wally's mention of malloc made me wonder...
could there be any software (virus checking or otherwise) that's
working on memory objects, not disk files?

-Kevin
http://www.PrecisOnline.com
___
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



--
John Thompson





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


Re: [U2] Is there any ORM's for Universe. NHibernate, Entity Framework etc

2011-12-22 Thread Tony Gravagno
David, I've spent a lot of time on that very topic and have come
to the conclusion that for many applications I really don't want
to use a complex ORM middle tier.  Sometimes the absolute best
thing to do is to pass requests from the UI, back into BASIC as
soon as possible, foregoing client and middle-tier validation,
and even sacrificing the warm and fuzzy convenience of strongly
typed classes binding to UI components.

The thing is that in today's world we try to be PC and separate
tiers as much as possible.  But an ORM puts datasource-aware
components into the UI, or close to it, and personally I feel
like I'm breaking conventions of isolation by mixing the tiers.
So in one of my code generators I generated dumb POCOs (Plain Ol'
Class Objects) to help with the UI, and then used various
patterns to attach them to separate data access components,
whether UO, QMClient, MVSP, etc.  Again the idea here is to keep
this middle-tier as simple as possible, and as you suggest, keep
all of the power in the MV tier and BASIC.  Some of my clients
also prefer this because it gives their BASIC/non-.NET people
more control.

About stored procs: In mv.NET, and I'd guess in the FusionWare
offering as well, the stored procedure method invocation
(.Execute, etc) on a strongly typed object does map to a BASIC
program, so you get your wish there.  I will be happy to provide
a small sample of code for that here or elsewhere if you wish.

Regards,
T

 From:David Jordan
 What I would like to see is that U2 builds stronger 
 interface between UniBasic Subroutines and 
 DataSets/entity frameworks. The current methodology is 
 to create a 3 tier environment with a database server, 
 an application server and a client server where U2 is 
 just a simple data server.   If you use U2 as the data 
 server and the application server, you have greater 
 ability to take advantage of the performance benefits 
 of multivalue databases and you simplify the 
 transaction process and disaster recovery.   ORMs work 
 with stored procedures, so why not subroutines.

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