Re: Input weirdo...

2004-04-29 Thread Stu Glancy
Here's another solution:

  LOOP
  INPUT VAR,-1
  IF VAR THEN
 INPUT TOUCH,1
 IF TOUCH = 'X' THEN EXIT
  END
   REPEAT

- Original Message -
From: Mark Johnson [EMAIL PROTECTED]
To: U2 Users Discussion List [EMAIL PROTECTED]
Sent: Wednesday, April 28, 2004 10:41 PM
Subject: Re: Input weirdo...


 I have a new client that i've yet to be able to break key with over the
 modem. So if I'm running a program (readnext etc) but i want to break, I
 include this INCLUDE.

 IF SYSTEM(14) # 0 THEN
  INPUT A
  IF A=Q THEN CLEARSELECT (sic) ; STOP
  IF A=D THEN DEBUG
 END

 SYSTEM(14) is the length of the typeahead buffer. D3 for sure and possibly
 UV/UD.
 The CLEARSELECT is UV/UD specific.

 My 1 cent.

 - Original Message -
 From: Dennis Bartlett [EMAIL PROTECTED]
 To: 'U2 Users Discussion List' [EMAIL PROTECTED]
 Sent: Wednesday, April 28, 2004 10:54 AM
 Subject: Input weirdo...


  We have a program looping through all data files searching
  for something
  - sometimes it gets to a file containing several million
  records and
  we'd like to be able to tell it to skip that file and
  continue with the
  next file. We've tried the following approaches with said
  results:
 (1) OPT.OUT = KEYIN() ; if OPT.OUT = 1 then EXIT
 OPT.OUT = 0
 the program sits waiting for input in every
  iteration, ie every
  record
 
 (2) INPUT OPT.OUT,-1 ; if OPT.OUT = 'S' then EXIT
 OPT.OUT = 0
 CLEARDATA
 CLEARINPUT
 the program works perfectly until an 'S' is entered
  then skips
  every file after that...
 
 HOWEVER, if I press Ctrl-Break, enter DEBUG, enter
  C(ontinue),
  the program continues as normal until another 'S' is
 entered..
 
  Obviously the machine still has something in the input
  buffer, despite
  the CLEARDATA, something that gets whacked when debug hits
  the scene...
 
  Any ideas?
 
 
  --
  u2-users mailing list
  [EMAIL PROTECTED]
  http://www.oliver.com/mailman/listinfo/u2-users

 --
 u2-users mailing list
 [EMAIL PROTECTED]
 http://www.oliver.com/mailman/listinfo/u2-users


-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


Re: Modulo Separation

2004-04-15 Thread Stu Glancy
Have you considered dynamic files?

Stu Glancy
Asset Management Outsourcing, Inc.
Senior Analyst/DBA
770-792-3907

 Hi all!

 We have HP unix:
 1) HP-UX l1000 B.11.00 U 9000/800 534706547 unlimited-user license

 2) UniVerse:
  RELLEVEL
 001 X
 002 9.5.2.6
 003 INFORMATION
 004 INFORMATION.FORMAT
 005 9.5.2.6.r8


 3) GLOBUS banking system G12.2.06

 -
 There are some files which are greater 300 Mb and which are still
 growing...
 We use separation = 8 (the best separation for HP-UX) or = 16 if records
 are greater than 4000 bytes.

 If records are less than 4000 it's no problem to use RESIZE operator
 but in the case they are greater than 4000 RESIZE takes more than 3
 hours.
 How to make RESIZE work faster?

 -
 Which is the best way to count modulo  separation?


 Thanks in advance.
 Dmitry Zhirov
 INTERPROMBANK
 Moscow

 òâä
 --
 u2-users mailing list
 [EMAIL PROTECTED]
 http://www.oliver.com/mailman/listinfo/u2-users


-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


Re: VOC prompt issue?

2004-04-06 Thread Stu Glancy
I put all imputs like *  . . . suggestion at the beginning of the PA. 
It organizes all it for me.

Stu Glancy
Asset Management Outsourcing, Inc.
Senior Analyst/DBA
770-792-3907

 I put CLEARPROMPTS AND A, and it's working as expected now. I suspect
 either of them would have worked, but both is nice, too...

 Thanks to the winners, Glenn, Wyatt, Marlene (and any others who knew
 but are patient enough to wait to see who else responds).

 I didn't try the *  . . . suggestion. I don't understand that one but
 have seen the others ('A waist is a terrible thing to mind' or something
 like that) but couldn't get them out of the gray matter.

 Karl

 On Tue, 2004-04-06 at 10:47, Karl L Pearson wrote:
 I have this VOC item we run:

 ED VOC BIN.LOC
 7 lines long.

 : P
 0001: PA
 0002: CLEARDATA
 0003: CLEARSELECT
 0004: SELECT INVMST WITH F12 = ENTER BIN LOCATION TO LIST ITEMS FOR:
 
 0005: SELECT INVMST WITH WAREHOUSE = 1 REQUIRE.SELECT
 0006: SELECT INVMST WITH F12 # '' REQUIRE.SELECT
 0007: LIST INVMST BY F04 BY ITEM F04 F12 ITEM F13 F14 F28 T48 DOLR DOLS
 ID.SUP LPTR DBL-SPC HEADING SPECIAL FOR CHRISTINE...ALL ITEMS IN A
 SPECIFIC BIN LOCATION   'T'   PAGE 'P' REQUIRE.SELECT
 Bottom at line 7.

 When it's run multiple times, the second time re-prints the first run
 without prompting for a new bin location. Logging off, which I suspect
 clears something or other, allows the person to run it on a second
 item.

 Any thoughts?

 --
 Karl L. Pearson
 Director of IT,
 ATS Industrial Supply
 Direct: 801-978-4429
 Toll-free: 888-972-3182 x29
 Fax: 801-972-3888
 http://www.atsindustrial.com
 [EMAIL PROTECTED]
 --
 Karl L. Pearson
 Director of IT,
 ATS Industrial Supply
 Direct: 801-978-4429
 Toll-free: 888-972-3182 x29
 Fax: 801-972-3888
 http://www.atsindustrial.com
 [EMAIL PROTECTED]

 --
 u2-users mailing list
 [EMAIL PROTECTED]
 http://www.oliver.com/mailman/listinfo/u2-users


-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


RE: Linux kernel params

2004-03-15 Thread Stu Glancy
Do you have a source for pg.  Our admin guy couldn't find one.

Stu Glancy
Asset Management Outsourcing, Inc.
Senior Analyst/DBA
770-792-3907

 I think on linux they're different programs, and pg may not be installed
 (but
 it can be installed)

 [EMAIL PROTECTED] john]$ ls -shil `which more less`
 2015305  28K -rwxr-xr-x1 root root  26K Feb 24  2003
 /bin/more
  344104 136K -rwxr-xr-x1 root root 130K Feb  4  2003
 /usr/bin/less

 On Fri, 12 Mar 2004, Anthony Youngman wrote:

 Minor nitpick ...

 In linux, I think you'll find more is a link to less. Either that,
 or you'll find the behaviour of the program changes depending which
 name
 it is called by, and less has the better set of options :-)

 Cheers,
 Wol

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 On Behalf Of Stu Glancy
 Sent: 11 March 2004 21:11
 To: U2 Users Discussion List
 Subject: Re: Linux kernel params

 We are doing similar from HP-UX to Linux 9 (kernel 2.4.20-28.9bigmem)
 and
 UV 10.0.O to UV 10.1 and found that APP.PROGS LIST.SP.CONF uses unix
 command pg which does not exist in linux Red Hat.  We did a work
 around
 by creating a link from pg to more.  This has been reported to IBM and
 is
 in engineering as ECase 6621.

 Stu Glancy
 Asset Management Outsourcing, Inc.
 Senior Analyst/DBA
 770-792-3907

  We are in the process of migrating our Universe app from an HP-UX
 system
  to a
  RedHat Linux  (8.0) system.  There did not appear to be any
 recommended
  o/s
  changes in the docs (although I did change the max number of open
 files).
 
  Does anyone have any suggested changes?
 
  Thanks,
  Drew
 
  --
  --
  Drew Henderson There are two types of people
 -
  Dir. for Computer Center Operations those who do the work and
 those
  [EMAIL PROTECTED] who take the credit. Try to
 be
  in the first group, there is
  110 Ginger Hall less competition.
  Morehead State University   Indira Ghandi
  Morehead, KY  40351
  Phone: 606/783-2445   Fax: 606/783-5078
  --
 
 
  --
  u2-users mailing list
  [EMAIL PROTECTED]
  http://www.oliver.com/mailman/listinfo/u2-users
 



 --
 u2-users mailing list
 [EMAIL PROTECTED]
 http://www.oliver.com/mailman/listinfo/u2-users


-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


RE: EVAL

2004-03-11 Thread Stu Glancy
Then try this idea:   EVAL FMT(LEN(NAME),R#4) AS SORTORD BY.DSND SORTORD



Stu Glancy
Asset Management Outsourcing, Inc.
Senior Analyst/DBA
770-792-3907

 Tried that before and it still sorted left (on UniData).  That's why I
 asked.

 

 From: [EMAIL PROTECTED] on behalf of Randy Gill
 Sent: Thu 3/11/2004 3:27 PM
 To: U2 Users Discussion List
 Subject: RE: EVAL



 Yes, I use this feature often in UniVerse (running in PI/OPEN flavor).

 Suppose I wanted to list the customers with the longest names, I would
 use:

 LIST CUSTOMER NAME BY.DSND EVAL LEN(NAME) FMT 2R

 Since the default is left justification, if I omitted the 'FMT 2R',
 all the customers with 9-character names would be sorted before those
 with 10+ character names!  The FMT clause causes it to sort as one would
 expect.

 Hope this helps.

 Randy

 -Original Message-
 From: Dave Davis [mailto:[EMAIL PROTECTED]
 Sent: Thursday, March 11, 2004 9:23 AM
 To: U2 Users Discussion List
 Subject: RE: EVAL

 On the use of FMT to affect the justification of an EVAL field, can this
 be used to affect a sort by an EVAL field?  It doesn't seem to affect it
 when I do it in unidata.


 Our company accepts no liability for the content of this email, or for
 the
 consequences of any actions taken on the basis of the information
 provided, unless that information is subsequently confirmed in writing.
 Any views or opinions presented in this email are solely those of the
 author and do not necessarily represent those of the company.
 WARNING: Computer viruses can be transmitted via email.
 The recipient should check this email and any attachments for the
 presence of viruses. The company accepts no liability for any damage
 caused by any virus transmitted by this email.
 11/29/2003 ACE Software, LLC

 --
 u2-users mailing list
 [EMAIL PROTECTED]
 http://www.oliver.com/mailman/listinfo/u2-users



 --
 u2-users mailing list
 [EMAIL PROTECTED]
 http://www.oliver.com/mailman/listinfo/u2-users


-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


Re: Linux kernel params

2004-03-11 Thread Stu Glancy
We are doing similar from HP-UX to Linux 9 (kernel 2.4.20-28.9bigmem) and
UV 10.0.O to UV 10.1 and found that APP.PROGS LIST.SP.CONF uses unix
command pg which does not exist in linux Red Hat.  We did a work around
by creating a link from pg to more.  This has been reported to IBM and is
in engineering as ECase 6621.

Stu Glancy
Asset Management Outsourcing, Inc.
Senior Analyst/DBA
770-792-3907

 We are in the process of migrating our Universe app from an HP-UX system
 to a
 RedHat Linux  (8.0) system.  There did not appear to be any recommended
 o/s
 changes in the docs (although I did change the max number of open files).

 Does anyone have any suggested changes?

 Thanks,
 Drew

 --
 --
 Drew Henderson There are two types of people -
 Dir. for Computer Center Operations those who do the work and those
 [EMAIL PROTECTED] who take the credit. Try to be
 in the first group, there is
 110 Ginger Hall less competition.
 Morehead State University   Indira Ghandi
 Morehead, KY  40351
 Phone: 606/783-2445   Fax: 606/783-5078
 --


 --
 u2-users mailing list
 [EMAIL PROTECTED]
 http://www.oliver.com/mailman/listinfo/u2-users


-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


RE: Universe/Redhat GCI

2004-02-03 Thread Stu Glancy



Perhaps Universe 9.6.1.14 is not certified to run on RH 
9. Its not in the product matrix.

  -Original Message-From: David Ward 
  [mailto:[EMAIL PROTECTED]Sent: Monday, February 02, 2004 12:19 
  PMTo: [EMAIL PROTECTED]Subject: Universe/Redhat  
  GCI
  
  Hello,
  
  We loaded version 9.6.1.14 of 
  Universe on Redhat release 9. Everything seems to 
  run fine, but we are unable to complie GCI programs 
  into the shell. We removed all of the items in GCI and attempted a rebuild and 
  this fails as well.
  
  Has anyone successfully compiled 
  GCI under this configuration? If so, could you provide some 
  pointers?
  
  Thanks,
  -dew
  
___
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users