Re: [U2] Unidata split/merge loads

2005-12-12 Thread Timothy Snyder
[EMAIL PROTECTED] wrote on 12/12/2005 11:06:37 PM:

> I'm seeking some advice from others on reasonable parameters for a
> KEYONLY dynamic hashed file on unidata.

The following is swiped from an old technical bulletin and is a good
starting point.  You should run guide with the -r option on the file and
use its output for the variables below.  However, there's nothing like
getting a small sample of the records in the file - maybe 1 percent, and
creating a small test file to play around with.  You can play with
CONFIGURE.FILE and memresize to find the best parameters, then use those,
with an increased modulo to size the real file.

For what it's worth, I generally find that smaller split and load numbers,
such as 20/10, work better than larger ones.  Of course, that varies from
file to file, and there is no absolute rule.

=
=

Formula for determining base modulo, block size, SPLIT_LOAD, and
MERGE_LOAD for UniData KEYONLY Dynamic Files


Note that the variables used are the same as the DICT items in
$UDTHOME/sys/D_UDT_GUIDE.  Any calculated values which are not attributes
in this dictionary appear in bold italic.

Considerations:

The following does not take into account the Unix disk record
(frame) size so it is best to
select a block size based on the number of items you?d like in a
group.

No one method will provide absolute results but these calculations
will minimize level one
overflow caused by a high SPLIT_LOAD value.

Type 0 works best for most Dynamic Files but it is best to check a
small sample via the
GROUP.STAT command.

 Step 1:Determine the blocksize.  (Use 4096 unless the Items per
group is larger then 35 or less then 2)

A)  If the MAXSIZ < 1K
ITEMSIZE = 10 * MAXSIZ
B)  If  1 K < MAXSIZ < 3 K
ITEMSIZE = 5 * MAXSIZ
C)  If  MAXSIZ > 3 K
   ITEMSIZE = 5 * (AVGSIZ + DEVSIZ )

Once you determine the item size, use it to determine the NEWBLOCKSIZE.

A)  ITEMSIZE < 1024;NEWBLOCKSIZE = 1024
B)  1024 > ITEMSIZE < 2048; NEWBLOCKSIZE = 2048
C)  2048 > ITEMSIZE < 4096; NEWBLOCKSIZE = 4096
D)  4096 > ITEMSIZE < 8192; NEWBLOCKSIZE = 8192
8192 > ITEMSIZE < 16384;NEWBLOCKSIZE = 16384

Step 2: Determine the actual number of items per group.

ITEMS_PER_GROUP = NEWBLOCKSIZE-32 / AVGSIZ

Step 3: Determine the base modulo

BASEMODULO = COUNT / ITEMS_PER_GROUP

Step 4: Determine SPLIT_LOAD

SPLIT_LOAD=INTAVGKEY + 9) * ITEMS_PER_GROUP ) / NEW_BLOCKSIZE)*100)+1

If the SPLIT_LOAD is less then ten then:SPLIT_LOAD = 10

Step 5: Determine MERGE_LOAD

MERGE_LOAD = SPLIT_LOAD / 2 ( Rounded up )

Tim Snyder
Consulting I/T Specialist , U2 Professional Services
North American Lab Services
DB2 Information Management, IBM Software Group
717-545-6403
[EMAIL PROTECTED]
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] Calling a subroutine on an MV field from an I-Descriptor

2005-12-12 Thread Ray Wurlod
The subroutine needs to do a READ for each value in the multi-valued argument 
passValue.

You could also do a TRANS() function, which has this loop built in, within the 
routine.

Note that individual elements of a dynamic array (multi-valued field) can be 
null, so your null test must be inside the loop.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] Unidata split/merge loads

2005-12-12 Thread jbutera
I'm seeking some advice from others on reasonable parameters for a
KEYONLY dynamic hashed file on unidata.  We use them, but I'd like others
thoughts as I think we can get some better performance with more optimal
choices for split and merge loads.

In short, the file has a numeric, sequential key with records that vary
wildly in size (hence the use of KEYONLY).  The default split/merge values
are 60/40, but I've seen others casually mention the use of 20/10 as 'more
aggresive' values.

Yes, I've RTFM but would rather hear from others using these in
production.  Any advice appreciated.

Jeff Butera, Ph.D.
Administrative Systems
Hampshire College
[EMAIL PROTECTED]
413-559-5556

"President Bush is not the most gifted orator."
  Reuel Marc Gerecht
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] Calling a subroutine on an MV field from an I-Descriptor

2005-12-12 Thread Bill_H
I'm trying to call a subroutine for each value of an I-Descriptor, but
without much luck.  The subroutine looks like:

SUBROUTINE D.CURRDELITEM (RetValue, passValue)
COMMON /CURRDELITEM_variables/ ARTLEDGER.FV
InvId= TRIM(passValue)
RetValue = ''
IF NOT(ASSIGNED(ARTLEDGER.FV)) THEN
   OPEN '', 'ARTLEDGER' TO ARTLEDGER.FV ELSE RETURN
END
READ TrInvRec FROM ARTLEDGER.FV, InvId THEN
   RetValue = 1
END ELSE
*  RetValue = '0'
   RetValue = OCONV(InvId, 'MX')
END
RETURN
END

I have a file with multiple invoice#s in field# 35 (INVS):

   035 77]79]81]82]84]85]86]87]89

The key is "790*4/1".  An I-Descriptor named CURRDEL looks like:

   002 CATS(REUSE(@ID:'*'), @RECORD<35>)

gives me:

LIST ARTMASTER "790*4/1" INVS CURRDEL 06:03:34pm  12 Dec 2005  PAGE1
ARTMASTER... INVOICES DEL

790*4/177  790*4/1*77
   79  790*4/1*79
   81  790*4/1*81
   82  790*4/1*82
   84  790*4/1*84
   85  790*4/1*85
   86  790*4/1*86
   87  790*4/1*87
   89  790*4/1*89

1 records listed.

However, I want each key in the "DEL..." column to be passed to a program
named "D.CURRDELITEM", and all I get is:

   002 SUBR("D.CURRDELITEM", CATS(REUSE(@ID:'*'), @RECORD<35>))

LIST ARTMASTER "790*4/1" INVS CURRDEL 06:52:25pm  12 Dec 2005  PAGE1
ARTMASTER... INVOICES DEL

790*4/177 3739302A342F312
  A3737FD3739302A
  342F312A3739FD3
  739302A342F312A
  3831FD3739302A3
  42F312A3832FD37
  39302A342F312A3
  834FD3739302A34
  2F312A3835FD373
  9302A342F312A38
  36FD3739302A342
  F312A3837FD3739
  302A342F312A383
  9
   79
   81
   82
   84
   85
   86
   87
   89

1 records listed.

It looks like the subroutine was only called once and the entire string of
invoice keys was passed in at one time.  So, I know I haven't handled the
complete multi-value properly.

Can anyone help.  Thanks in advance.

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


Re: [U2] Kyocera prescribe pdf

2005-12-12 Thread John Kent

Thanks to all who replied I have downloaded the relevant manuals.

jak
- Original Message - 
From: "Bruce Nichol" <[EMAIL PROTECTED]>

To: 
Sent: Tuesday, December 13, 2005 12:03 PM
Subject: Re: [U2] Kyocera prescribe pdf



Does this help?

http://la.kyoceramita.com/KMLADGlobalpub/jsp/Kyocera/resource_details.jsp?rid=2510

or anywhere else on www.kyoceramita.com.au?

At 10:45 13/12/05 +1100, you wrote:

I am trying to print bar codes via a Kyocera FS-1010 but dont have a 
manual.


Does anyone know where i can source the above.

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



--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.1.371 / Virus Database: 267.13.13/198 - Release Date: 12/12/05


Regards,

Bruce Nichol
Talon Computer Services
ALBURYNSW 2640
Australia

http://www.taloncs.com.au

Tel: +61 (0)411149636
Fax: +61 (0)260232119

If it ain't broke, fix it till it is!

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.1.371 / Virus Database: 267.13.13/198 - Release Date: 12/12/05
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.13.13/197 - Release Date: 9/12/2005

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


Re: [U2] Kyocera prescribe pdf

2005-12-12 Thread Bruce Nichol

Does this help?

http://la.kyoceramita.com/KMLADGlobalpub/jsp/Kyocera/resource_details.jsp?rid=2510

or anywhere else on www.kyoceramita.com.au?

At 10:45 13/12/05 +1100, you wrote:


I am trying to print bar codes via a Kyocera FS-1010 but dont have a manual.

Does anyone know where i can source the above.

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



--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.1.371 / Virus Database: 267.13.13/198 - Release Date: 12/12/05


Regards,

Bruce Nichol
Talon Computer Services
ALBURYNSW 2640
Australia

http://www.taloncs.com.au

Tel: +61 (0)411149636
Fax: +61 (0)260232119

If it ain't broke, fix it till it is! 



--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.1.371 / Virus Database: 267.13.13/198 - Release Date: 12/12/05
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Kyocera prescribe pdf

2005-12-12 Thread Logan, David (SST - Adelaide)
Hi John,

http://amistad.kyocera.co.uk/pages/info/kdl/manuals.asp?Mode=Query

This has all the Kyocera manuals on this page.

Regards

David Logan
Database Administrator
HP Managed Services
148 Frome Street,
Adelaide 5000
Australia

+61 8 8408 4273 - Work
+61 417 268 665 - Mobile
+61 8 8408 4259 - Fax


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John Kent
Sent: Tuesday, 13 December 2005 10:16 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] Kyocera prescribe pdf

I am trying to print bar codes via a Kyocera FS-1010 but dont have a
manual.

Does anyone know where i can source the above.

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


[U2] Kyocera prescribe pdf

2005-12-12 Thread John Kent
I am trying to print bar codes via a Kyocera FS-1010 but dont have a manual.

Does anyone know where i can source the above.

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


[U2] seeking info about Mark Information Systems & their applications

2005-12-12 Thread Scott Richardson
I am looking for any information on what happened to a company called Mark
Information Systems out of Burlingame, CA; their Distribution Software
Package, and folks that used to work there. I did some work with them in the
late 80's & early 90's, and am curious as to what happened to their installed
base, folks that worked there, etc I know that owner George F passed on,
but not sure about what happened to the company after that?

Any information would be appreciated.

Please feel free to reply back channel...
Thanks!

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


RE: [U2] SOX question (United States only, I believe)

2005-12-12 Thread Kevin King
> You do NOT have to justify your procedures - 
> no-one can tell you how to run your business.

But this is the USA. Everyone tells you how to run your business, from
the IRS to the state, to the lawyers, to the insurance companies, to
the... You name it.  All SOX does is amplify prison as an option for
doing it incorrectly as best described by people who make rules
instead of follow them.

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


RE: [U2] UniBasic PCL/PJL

2005-12-12 Thread Bruce Nichol

Goo'day Bill,
At 16:50 12/12/05 -0500, you wrote:


The printers are HP LaserJets of diffent models 4200, 4100 mfp, 1320, 4Si.

It appears that what I am trying to do is re-write PCL into PJL.


The PCL bits you need are along the lines of:

ESC:'&l1S': ESC:'a1G':   to duplex along or around the "long" side of the page
ESC:'&l2S': ESC:'a1G':   to duplex along or around the "short" side of the page
ESC:'&l0S':  to turn duplexing off

That's ampersand, lower case letter "L", number one or two or zero, 
uppercase letter "S" and lower case letter "A", number one, uppercase 
letter "G"...


PJL?Dunno!

HTH...


Per the following code cribbed from Raining Data, I can print a text string
in portrait or landscape via the following.

Tweaking this code to handle duplexing is what is needed.

Esc = char(27)

PJL.Cmd = '@PJL '
UEL.Cmd = Esc : '%-12345X'
PJL.TYPE = 'DEFAULT '

PO.ID = 'YYY'

execute "SETPTR ,80,60,2,0,1,BRIEF,NHEAD,NFMT,NOEJECT,AS PO_":PO.ID:",AT
FRONT"

printer on

print UEL.Cmd : PJL.Cmd

PRINT PJL.Cmd : 'DEFAULT ORIENTATION=PORTRAIT'

PRINT UEL.Cmd

PRINT 'XXX'

END

--Bill

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of George Gallen
Sent: Monday, December 12, 2005 3:47 PM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] UniBasic PCL/PJL


and the printer..

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Kevin King
> Sent: Monday, December 12, 2005 3:04 PM
> To: u2-users@listserver.u2ug.org
> Subject: RE: [U2] UniBasic PCL/PJL
>
>
> Bill, could you be more specific as to the kinds of problems you're
> having?
> ---
> u2-users mailing list
> u2-users@listserver.u2ug.org
> To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/



--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.1.371 / Virus Database: 267.13.13/198 - Release Date: 12/12/05


Regards,

Bruce Nichol
Talon Computer Services
ALBURYNSW 2640
Australia

http://www.taloncs.com.au

Tel: +61 (0)411149636
Fax: +61 (0)260232119

If it ain't broke, fix it till it is! 



--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.1.371 / Virus Database: 267.13.13/198 - Release Date: 12/12/05
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] UniBasic PCL/PJL

2005-12-12 Thread Mark Ballinger
On Mon, Dec 12, 2005 at 05:00:11PM -0500, Brutzman, Bill wrote:
> My question is what to I send to the printer to logically print the first
> page and hold it...
> and then what to send to the back page...and then to print all of it out.

Going from memory here, but I think if you send the duplex code at the top of 
the page you then just print the first page, then do some sort of "PAGE ON 
UNIT", then 
print the second page.  The printer should stick it on the back itself.

At least, that worked for me on an HP 2300.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] UniBasic PCL/PJL - Victory

2005-12-12 Thread Brutzman, Bill
Thanks to those who responded.  It seems that, with some help, I figured it
out.  

The (easy) answer that I was looking for is near the bottom.  That is, just
turn on duplexing, write the first page, issue a PAGE command, and print the
back page.

--Bill


Esc = char(27)

PJL.Cmd = '@PJL '
UEL.Cmd = Esc : '%-12345X'
PJL.TYPE = 'DEFAULT '

PO.ID = 'YYY'

execute "SETPTR ,80,60,2,0,1,BRIEF,NHEAD,NFMT,NOEJECT,AS PO_":PO.ID:",AT
FRONT" 

printer on

print UEL.Cmd : PJL.Cmd

PRINT PJL.Cmd : 'DEFAULT ORIENTATION=PORTRAIT'
PRINT PJL.Cmd : 'DEFAULT DUPLEX=ON'

PRINT UEL.Cmd

PRINT 'XXX'

page

PRINT 'XX2'

print UEL.Cmd : PJL.Cmd
PRINT PJL.Cmd : 'DEFAULT DUPLEX=OFF'
PRINT UEL.Cmd

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


RE: [U2] UniBasic PCL/PJL

2005-12-12 Thread George Gallen
sorry, didn't really answer your question.

Once you set the printer for Duplex mode, you just send one side
with a tof (or advance to next side), send the next side, the printer
will automatically then print both sides and spit out the paper.

George

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Brutzman, Bill
> Sent: Monday, December 12, 2005 5:00 PM
> To: 'u2-users@listserver.u2ug.org'
> Subject: RE: [U2] UniBasic PCL/PJL
> 
> 
> My question is what to I send to the printer to logically 
> print the first
> page and hold it...
> and then what to send to the back page...and then to print 
> all of it out.
> 
> --Bill
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of George Gallen
> Sent: Monday, December 12, 2005 4:04 PM
> To: u2-users@listserver.u2ug.org
> Subject: RE: [U2] UniBasic PCL/PJL
> 
> 
> and one thing I found on our printer Canon IR, We had to 
> use the code char(27):"&a[0,1,2]G"  for advance to next,
> front or back page, vs using the char(12) to go to the next page.
> 
> George
> 
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Behalf Of 
> > [EMAIL PROTECTED]
> > Sent: Monday, December 12, 2005 3:49 PM
> > To: u2-users@listserver.u2ug.org
> > Subject: Re: [U2] UniBasic PCL/PJL
> > 
> > 
> > A bit of specificity would be nice, but just to give you a
> > bit to think
> > on, here's what I have:
> > 
> > DUPLEXBOOK   = char(27):"&l1S"  ;! Duplex book
> > DUPLEXTABLET = char(27):"&l2S"  ;! Duplex tablet
> > DUPLEXOFF= char(27):"&l0S"  ;! Duplex off
> > 
> > HTH
> > 
> > Karl
> > 
> > 
> >  _/  _/  _/  _/_/_/      __o
> > _/ _/   _/  _/_/   _-\<._
> >_/_/_/  _/_/_/ (_)/ (_)
> >   _/ _/   _/  _/   ..
> >  _/   _/ arl _/_/_/  _/ earson[EMAIL PROTECTED]
> > 
> > --
> > IT Director, ATS Industrial Supply, Inc. 
> http://www.atsindustrial.com
> > Toll-free: 800-789-9300 x29
> > Direct2Desk: 801-978-4429
> > Facsimile: 801-972-3888
> > --
> > ---
> > u2-users mailing list
> > u2-users@listserver.u2ug.org
> > To unsubscribe please visit http://listserver.u2ug.org/
> ---
> u2-users mailing list
> u2-users@listserver.u2ug.org
> To unsubscribe please visit http://listserver.u2ug.org/
> ---
> u2-users mailing list
> u2-users@listserver.u2ug.org
> To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] SOX question (United States only, I believe)

2005-12-12 Thread Ray Wurlod
Two salaries!  Yay!

- Original Message -
From: "Lance Jahnke" <[EMAIL PROTECTED]>
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] SOX question (United States only, I believe)
Date: Fri, 9 Dec 2005 07:35:39 -0600

> 
> What happens when the programmer is the dba? One person developing and 
> managing universe...
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] SOX question (United States only, I believe)

2005-12-12 Thread Ray Wurlod
Why not separate DBA from programmer role?  

It's none of their bleeping concern.

You have procedures, you have documented those procedures, and in an audit you 
can prove that you follow those documented procedures.

End of story.  You are compliant.

You do NOT have to justify your procedures - no-one can tell you how to run 
your business.

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


RE: [U2] UniBasic PCL/PJL

2005-12-12 Thread George Gallen
the advance to the next side will work. which is ESC & a 0 G
unless you want to specifically print on the front side or
the back side, then you need the 1 or 2.

I setup something like this in the program

IF DUPLEX="NO" THEN TOF=CHAR(12) ELSE TOF=CHAR(27):"&a0G"

George

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Brutzman, Bill
> Sent: Monday, December 12, 2005 5:00 PM
> To: 'u2-users@listserver.u2ug.org'
> Subject: RE: [U2] UniBasic PCL/PJL
> 
> 
> My question is what to I send to the printer to logically 
> print the first
> page and hold it...
> and then what to send to the back page...and then to print 
> all of it out.
> 
> --Bill
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of George Gallen
> Sent: Monday, December 12, 2005 4:04 PM
> To: u2-users@listserver.u2ug.org
> Subject: RE: [U2] UniBasic PCL/PJL
> 
> 
> and one thing I found on our printer Canon IR, We had to 
> use the code char(27):"&a[0,1,2]G"  for advance to next,
> front or back page, vs using the char(12) to go to the next page.
> 
> George
> 
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Behalf Of 
> > [EMAIL PROTECTED]
> > Sent: Monday, December 12, 2005 3:49 PM
> > To: u2-users@listserver.u2ug.org
> > Subject: Re: [U2] UniBasic PCL/PJL
> > 
> > 
> > A bit of specificity would be nice, but just to give you a
> > bit to think
> > on, here's what I have:
> > 
> > DUPLEXBOOK   = char(27):"&l1S"  ;! Duplex book
> > DUPLEXTABLET = char(27):"&l2S"  ;! Duplex tablet
> > DUPLEXOFF= char(27):"&l0S"  ;! Duplex off
> > 
> > HTH
> > 
> > Karl
> > 
> > 
> >  _/  _/  _/  _/_/_/      __o
> > _/ _/   _/  _/_/   _-\<._
> >_/_/_/  _/_/_/ (_)/ (_)
> >   _/ _/   _/  _/   ..
> >  _/   _/ arl _/_/_/  _/ earson[EMAIL PROTECTED]
> > 
> > --
> > IT Director, ATS Industrial Supply, Inc. 
> http://www.atsindustrial.com
> > Toll-free: 800-789-9300 x29
> > Direct2Desk: 801-978-4429
> > Facsimile: 801-972-3888
> > --
> > ---
> > u2-users mailing list
> > u2-users@listserver.u2ug.org
> > To unsubscribe please visit http://listserver.u2ug.org/
> ---
> u2-users mailing list
> u2-users@listserver.u2ug.org
> To unsubscribe please visit http://listserver.u2ug.org/
> ---
> u2-users mailing list
> u2-users@listserver.u2ug.org
> To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] UniBasic PCL/PJL

2005-12-12 Thread Brutzman, Bill
My question is what to I send to the printer to logically print the first
page and hold it...
and then what to send to the back page...and then to print all of it out.

--Bill

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of George Gallen
Sent: Monday, December 12, 2005 4:04 PM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] UniBasic PCL/PJL


and one thing I found on our printer Canon IR, We had to 
use the code char(27):"&a[0,1,2]G"  for advance to next,
front or back page, vs using the char(12) to go to the next page.

George

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of 
> [EMAIL PROTECTED]
> Sent: Monday, December 12, 2005 3:49 PM
> To: u2-users@listserver.u2ug.org
> Subject: Re: [U2] UniBasic PCL/PJL
> 
> 
> A bit of specificity would be nice, but just to give you a
> bit to think
> on, here's what I have:
> 
> DUPLEXBOOK   = char(27):"&l1S"  ;! Duplex book
> DUPLEXTABLET = char(27):"&l2S"  ;! Duplex tablet
> DUPLEXOFF= char(27):"&l0S"  ;! Duplex off
> 
> HTH
> 
> Karl
> 
> 
>  _/  _/  _/  _/_/_/      __o
> _/ _/   _/  _/_/   _-\<._
>_/_/_/  _/_/_/ (_)/ (_)
>   _/ _/   _/  _/   ..
>  _/   _/ arl _/_/_/  _/ earson[EMAIL PROTECTED]
> 
> --
> IT Director, ATS Industrial Supply, Inc. http://www.atsindustrial.com
> Toll-free: 800-789-9300 x29
> Direct2Desk: 801-978-4429
> Facsimile: 801-972-3888
> --
> ---
> u2-users mailing list
> u2-users@listserver.u2ug.org
> To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] UniBasic PCL/PJL

2005-12-12 Thread Brutzman, Bill
The printers are HP LaserJets of diffent models 4200, 4100 mfp, 1320, 4Si.

It appears that what I am trying to do is re-write PCL into PJL.

Per the following code cribbed from Raining Data, I can print a text string
in portrait or landscape via the following.

Tweaking this code to handle duplexing is what is needed.

Esc = char(27)

PJL.Cmd = '@PJL '
UEL.Cmd = Esc : '%-12345X'
PJL.TYPE = 'DEFAULT '

PO.ID = 'YYY'

execute "SETPTR ,80,60,2,0,1,BRIEF,NHEAD,NFMT,NOEJECT,AS PO_":PO.ID:",AT
FRONT"

printer on

print UEL.Cmd : PJL.Cmd

PRINT PJL.Cmd : 'DEFAULT ORIENTATION=PORTRAIT'

PRINT UEL.Cmd

PRINT 'XXX'
  
END

--Bill

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of George Gallen
Sent: Monday, December 12, 2005 3:47 PM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] UniBasic PCL/PJL


and the printer..

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Kevin King
> Sent: Monday, December 12, 2005 3:04 PM
> To: u2-users@listserver.u2ug.org
> Subject: RE: [U2] UniBasic PCL/PJL
> 
> 
> Bill, could you be more specific as to the kinds of problems you're 
> having?
> ---
> u2-users mailing list
> u2-users@listserver.u2ug.org
> To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] UniBasic PCL/PJL

2005-12-12 Thread George Gallen
I show ESC:&l1S to be "Long Edge Binding", in other words
if you flip the paper (in portrait) over the text will be in the same direction
  for flipping the pages side to side (like a book)
short edge binding would have the text in opposite direction, for flipping the
  pages up (like a steno notepad).

I'm not sure what you mean by printing both sides on one side?

Is that trying to get 2 8 1/2 x 11's on 1 11 x 17 side?
That might be more of a printer specific command, which would use an
   extended custom form of PJL. (ex. Canon IR's use @COMMENT for their
   extended commands).

George

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Brutzman, Bill
> Sent: Monday, December 12, 2005 4:19 PM
> To: 'u2-users@listserver.u2ug.org'
> Subject: RE: [U2] UniBasic PCL/PJL
> 
> 
> More specifically...it is printing both sides on one side.
> 
>   print Esc : '&a1G'   ;*  "Print the logical page on the 
> specified
> physical page, FRONT side"
>   print text.for.side.one
> 
>   print Esc : '&a2G'   ;*   "Print the logical page on 
> the specified
> physical page, BACK side"
>   print text.for.side.two
> 
>   print Esc : '&L1S'   ;*   "Prints both sides"  
> 
> I expect that this code is PCL and I need to do something 
> different like
> PJL.
> 
> --Bill
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] UniBasic PCL/PJL

2005-12-12 Thread Brutzman, Bill
More specifically...it is printing both sides on one side.

  print Esc : '&a1G'   ;*  "Print the logical page on the specified
physical page, FRONT side"
  print text.for.side.one

  print Esc : '&a2G'   ;*   "Print the logical page on the specified
physical page, BACK side"
  print text.for.side.two

  print Esc : '&L1S'   ;*   "Prints both sides"  

I expect that this code is PCL and I need to do something different like
PJL.

--Bill

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brutzman, Bill
Sent: Monday, December 12, 2005 2:41 PM
To: 'u2-users@listserver.u2ug.org'
Subject: [U2] UniBasic PCL/PJL


I was unable to locate any sample code on the U2UG website.

I am having some problems with duplex print jobs.

Links to or some example code would be appreciated.

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


RE: [U2] UniBasic PCL/PJL

2005-12-12 Thread George Gallen
and one thing I found on our printer Canon IR, We had to 
use the code char(27):"&a[0,1,2]G"  for advance to next,
front or back page, vs using the char(12) to go to the next
page.

George

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of
> [EMAIL PROTECTED]
> Sent: Monday, December 12, 2005 3:49 PM
> To: u2-users@listserver.u2ug.org
> Subject: Re: [U2] UniBasic PCL/PJL
> 
> 
> A bit of specificity would be nice, but just to give you a 
> bit to think
> on, here's what I have:
> 
> DUPLEXBOOK   = char(27):"&l1S"  ;! Duplex book
> DUPLEXTABLET = char(27):"&l2S"  ;! Duplex tablet
> DUPLEXOFF= char(27):"&l0S"  ;! Duplex off
> 
> HTH
> 
> Karl
> 
> 
>  _/  _/  _/  _/_/_/      __o
> _/ _/   _/  _/_/   _-\<._
>_/_/_/  _/_/_/ (_)/ (_)
>   _/ _/   _/  _/   ..
>  _/   _/ arl _/_/_/  _/ earson[EMAIL PROTECTED]
> 
> --
> IT Director, ATS Industrial Supply, Inc.
> http://www.atsindustrial.com
> Toll-free: 800-789-9300 x29
> Direct2Desk: 801-978-4429
> Facsimile: 801-972-3888
> --
> ---
> u2-users mailing list
> u2-users@listserver.u2ug.org
> To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] UniBasic PCL/PJL

2005-12-12 Thread karlp
A bit of specificity would be nice, but just to give you a bit to think
on, here's what I have:

DUPLEXBOOK   = char(27):"&l1S"  ;! Duplex book
DUPLEXTABLET = char(27):"&l2S"  ;! Duplex tablet
DUPLEXOFF= char(27):"&l0S"  ;! Duplex off

HTH

Karl


> I was unable to locate any sample code on the U2UG website.
>
> I am having some problems with duplex print jobs.
>
> Links to or some example code would be appreciated.
>
> --Bill
> ---
> u2-users mailing list
> u2-users@listserver.u2ug.org
> To unsubscribe please visit http://listserver.u2ug.org/
>


-- 
karl

 _/  _/  _/  _/_/_/      __o
_/ _/   _/  _/_/   _-\<._
   _/_/_/  _/_/_/ (_)/ (_)
  _/ _/   _/  _/   ..
 _/   _/ arl _/_/_/  _/ earson[EMAIL PROTECTED]

--
IT Director, ATS Industrial Supply, Inc.
http://www.atsindustrial.com
Toll-free: 800-789-9300 x29
Direct2Desk: 801-978-4429
Facsimile: 801-972-3888
--
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] UniBasic PCL/PJL

2005-12-12 Thread George Gallen
and the printer..

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Kevin King
> Sent: Monday, December 12, 2005 3:04 PM
> To: u2-users@listserver.u2ug.org
> Subject: RE: [U2] UniBasic PCL/PJL
> 
> 
> Bill, could you be more specific as to the kinds of problems you're
> having?
> ---
> u2-users mailing list
> u2-users@listserver.u2ug.org
> To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] UniBasic PCL/PJL

2005-12-12 Thread Kevin King
Bill, could you be more specific as to the kinds of problems you're
having?
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] UniBasic PCL/PJL

2005-12-12 Thread Brutzman, Bill
I was unable to locate any sample code on the U2UG website.

I am having some problems with duplex print jobs.

Links to or some example code would be appreciated.

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


[U2] Re: OT: Unix Version of PR1MOS EDitor

2005-12-12 Thread David A Barrett
<>

No, the problem with vi is that it is case sensitive, and clearly intended
for use with programs that primarily use lower case.

Anyone who has been editing a PICK program and wanted to go down a few
lines and hit "J" before they realized the CAPS Lock was still on knows
what I'm talking about.

Yeah, sure you can reassign all of the keys in vi, but at that point you've
wasted far too much energy.

Dave Barrett,
Lawyers' Professional Indemnity Company
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] Unidata on SUSE 9.2

2005-12-12 Thread Jerry Banker

Yet another site that snatches and publishes our comments?

- Original Message - 
From: "xtreemnet (sent by Nabble.com)" <[EMAIL PROTECTED]>

To: 
Sent: Saturday, December 10, 2005 6:29 AM
Subject: [U2] Unidata on SUSE 9.2



Hi,

Can some please let know how to install the personal edition of Unidata on 
Linux?


Thanks
--
Sent from the U2 - Users forum at Nabble.com:
http://www.nabble.com/Unidata-on-SUSE-9.2-t715048.html#a1881405
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

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


Re: [U2] SOX question

2005-12-12 Thread Susan Joslyn
These subjects -- compliance with regulations like SOX and other
"quality-focused controls" are near and dear to my heart.  And I have some
opinions and perhaps information about them. Hence a long-ish post. Maybe it
will help someone, somewhere.

The worst thing that happened as a result of the new SOX regulations is that
IT suckered ourselves with a double punch.  First, we flat-out refused to
take a proactive part in this.  We whined and whinged and wheedled and
wrangled our way out of things - developing strategies to AVOID DITCH and
DODGE the requirements -- energy and intelligence that could've been well
used in coming up with ways to BENEFIT from it.  As a result the driving
force behind the compliance came from other parts of our organizations.
Battle lines were drawn. Overcompensation was rife.  So -- water under the
bridge, but if your procedures are over-blown, cumbersome and
counter-productive CHANGE THEM.  Nobody here is going to argue with a
straight-face that whacking away in live with no controls is BETTER, are
they?  Find the sweet-spot.  Push back.  Make suggestions.  The auditors
will buy into a lot of well thought out reasonable procedures. Not just buy
into, but jump on.

Many of my customers are small enough organizations, or small enough IT
shops anyway, that the segregation of duties was going to be a stumbling
block.  But we put some controls into place to prevent a programmer from
testing their own software or from promoting their own change.  And I
haven't seen any auditor balk at it.  So we didn't have to add new staff, or
train somebody over in purchasing to do rollouts...we put our
checks-and-balances in place from within.

Similarly every company -- not just in our U2 world, but every company --
has a requirement to SEE a problem on live, perhaps even to FIX  a problem
on live.  That might be software, that might be data. We came up with
procedures and controls that accommodate and even capitalize on this -- and
which are compliant and have passed audit.  When an auditor says "you cant
make any changes on live" you can respond with "This is how we make sure it
doesn't happen casually, and here are our controls and procedures (and
audits) for when it needs to happen".  Voila! Everyone is happy.

As far as "going around" controls -- 
First, this constitutes fraud and the IT staff need to understand
that.  It is (and should be) a "firing" offense to go around the controls,
just because you know how. {I always liken this to locking your convertible.
A rag-top can be easily compromised, but nobody doubts that slashing through
someone's convertible to take their car or things in their car is a CRIME.
And honest people won't do it.)  The procedures that folks are expected to
follow have to be reasonable enough that everyone can be reasonably expected
to follow them.

Most importantly: remember the purpose of the SOX legislation.  It
is for the prevention and detection of financial fraud. If a control is not
completely secure ask yourself "how attractive is this opportunity for
financial fraud?"  Analyze and put risk values on your controls. Then spend
your time and effort where the risk lives. (This exercise can actually be
quite fun -- "How could I financially defraud my company from an IT
perspective?")

As an aside, the remote-VOC stuff in Universe (but sadly not
available in Unidata) can be used to really tie down some of the "go around"
methods described in this list over the last few days.

I'm going to get off my soapbox now, but naturally I'm going to drop in that
PRC is a software development life-cycle tool that can provide the IT
controls and procedures (the framework) to immediately and effectively meet
the requirements of SOX (and other regulatory compliance) while promoting
best practices and STREAMLINING productivity.

Susan Joslyn
SJ+ Systems Associates, Inc.
http://sjplus.com
[EMAIL PROTECTED]
(954) 796-9868
PRCR Real software configuration management for Multivalue/U2.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] Comparing object code [Was: Deciphering Pick UniBasic statement]

2005-12-12 Thread Mats Carlid

-


You can also know when the files were last compiled by
looking at the dates with ls -al on the binary.  
   



That works as long as the files have not been touched.

 


That's a too innocent formulation - actually you can easily backdate
the unix modification timestamp  -  at least in solaris
-  all that's needed is write permission in the directory.

-- mats


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