[U2] FTP Users in HP-UX

2010-04-01 Thread Tom
We have something strange happening with FTP on our UNIX box. We have 
some users setup to FTP files from our windows server to the UNIX box. 
They were working fine until we rebooted the UNIX server. Now none of 
them have FTP access into the UNIX box. This was the first time the box 
had been rebooted since setting them up. These logins can telnet in fine 
but cannot ftp.


I have reviewed all the settings and believe they are all correct. I am 
not a UNIX guru but know enough to be dangerous;) Wish there was a 
setting up FTP for Dummies instruction manual. Any clues as to what may 
be part of the puzzle I am missing?


Hardware : HP
Operating system : HP-UX
O.S. version : B.11.00
UniData version  : 6.1.16

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


Re: [U2] FTP Users in HP-UX

2010-04-01 Thread Bob Witney
Daemon not come back up ?

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Tom
Sent: 01 April 2010 13:13
To: u2-users@listserver.u2ug.org
Subject: [U2] FTP Users in HP-UX

We have something strange happening with FTP on our UNIX box. We have 
some users setup to FTP files from our windows server to the UNIX box. 
They were working fine until we rebooted the UNIX server. Now none of 
them have FTP access into the UNIX box. This was the first time the box 
had been rebooted since setting them up. These logins can telnet in fine

but cannot ftp.

I have reviewed all the settings and believe they are all correct. I am 
not a UNIX guru but know enough to be dangerous;) Wish there was a 
setting up FTP for Dummies instruction manual. Any clues as to what may 
be part of the puzzle I am missing?

Hardware : HP
Operating system : HP-UX
O.S. version : B.11.00
UniData version  : 6.1.16

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

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

Confidentiality Notice:  This e-mail and any attachments are intended solely 
for the addressee and may contain confidential or privileged  information.   If 
you are not the named addressee, or the person responsible for delivering the 
message to the named addressee, please notify the sender as soon as possible 
and delete the material from your computer.  This message will be protected by 
copyright.  If it has come to you in error, you must not take any action based 
on its contents nor must you copy or show the message to any person other than 
the intended recipient. 
_
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] FTP Users in HP-UX

2010-04-01 Thread Symeon Breen
Your ftp deamon will not have come back up - it is probably not set to
automatically start.  Not sure on your nix flavour - but it is somethinglike
'service ftpd start' to restart it

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Tom
Sent: 01 April 2010 13:13
To: u2-users@listserver.u2ug.org
Subject: [U2] FTP Users in HP-UX

We have something strange happening with FTP on our UNIX box. We have 
some users setup to FTP files from our windows server to the UNIX box. 
They were working fine until we rebooted the UNIX server. Now none of 
them have FTP access into the UNIX box. This was the first time the box 
had been rebooted since setting them up. These logins can telnet in fine 
but cannot ftp.

I have reviewed all the settings and believe they are all correct. I am 
not a UNIX guru but know enough to be dangerous;) Wish there was a 
setting up FTP for Dummies instruction manual. Any clues as to what may 
be part of the puzzle I am missing?

Hardware : HP
Operating system : HP-UX
O.S. version : B.11.00
UniData version  : 6.1.16

Tom
___
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] FTP Users in HP-UX

2010-04-01 Thread Ben Souther
That's what it sounds like.

I would do a search on the system for a file named ftpd.

On most Linux boxen it would usually be in 
/etc/rc.d/init.d/

Once you find it, CD to the directory where it resides and type:
./ftpd start

You might need to be root to do this.



To search the entire machine for the executable:
find / -name ftpd -print


Good-Luck



On Thu, 2010-04-01 at 13:24 +0100, Bob Witney wrote:
 Daemon not come back up ?
 
 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org
 [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Tom
 Sent: 01 April 2010 13:13
 To: u2-users@listserver.u2ug.org
 Subject: [U2] FTP Users in HP-UX
 
 We have something strange happening with FTP on our UNIX box. We have 
 some users setup to FTP files from our windows server to the UNIX box. 
 They were working fine until we rebooted the UNIX server. Now none of 
 them have FTP access into the UNIX box. This was the first time the box 
 had been rebooted since setting them up. These logins can telnet in fine
 
 but cannot ftp.
 
 I have reviewed all the settings and believe they are all correct. I am 
 not a UNIX guru but know enough to be dangerous;) Wish there was a 
 setting up FTP for Dummies instruction manual. Any clues as to what may 
 be part of the puzzle I am missing?
 
 Hardware : HP
 Operating system : HP-UX
 O.S. version : B.11.00
 UniData version  : 6.1.16
 
 Tom
 ___
 U2-Users mailing list
 U2-Users@listserver.u2ug.org
 http://listserver.u2ug.org/mailman/listinfo/u2-users
 
 __
 This email has been scanned by the MessageLabs Email Security System.
 For more information please visit http://www.messagelabs.com/email 
 __
 
 Confidentiality Notice:  This e-mail and any attachments are intended solely 
 for the addressee and may contain confidential or privileged  information.   
 If you are not the named addressee, or the person responsible for delivering 
 the message to the named addressee, please notify the sender as soon as 
 possible and delete the material from your computer.  This message will be 
 protected by copyright.  If it has come to you in error, you must not take 
 any action based on its contents nor must you copy or show the message to any 
 person other than the intended recipient. 
 _
 This email has been scanned by the MessageLabs Email Security System.
 For more information please visit http://www.messagelabs.com/email 
 __
 ___
 U2-Users mailing list
 U2-Users@listserver.u2ug.org
 http://listserver.u2ug.org/mailman/listinfo/u2-users
 
-- 
Ben Souther
Manager, Web and Web Service Development
bsout...@fwdco.com | 508.927.8147
FWDavison  Company, Inc.
10 Cordage Park Circle, Suite 200
Plymouth, MA 02360-7318

CONFIDENTIALITY NOTICE:  This e-mail message, and any accompanying
documents, is for the sole use of the intended recipient(s) and may
contain confidential and privileged information. Any unauthorized
review, use, disclosure, distribution or copying is prohibited. If you
are not the intended recipient, please contact our office by e-mail or
by telephone at (508) 747-7261 and immediately destroy all copies of the
original message.

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


Re: [U2] FTP Users in HP-UX

2010-04-01 Thread Tom
I can FTP as root so I am thinking the FTP daemon is running. It just 
any other user that cannot FTP.


Tom

On 4/1/2010 8:48 AM, Ben Souther wrote:

That's what it sounds like.

I would do a search on the system for a file named ftpd.

On most Linux boxen it would usually be in
/etc/rc.d/init.d/

Once you find it, CD to the directory where it resides and type:
./ftpd start

You might need to be root to do this.



To search the entire machine for the executable:
find / -name ftpd -print


Good-Luck



On Thu, 2010-04-01 at 13:24 +0100, Bob Witney wrote:
   

Daemon not come back up ?

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Tom
Sent: 01 April 2010 13:13
To: u2-users@listserver.u2ug.org
Subject: [U2] FTP Users in HP-UX

We have something strange happening with FTP on our UNIX box. We have
some users setup to FTP files from our windows server to the UNIX box.
They were working fine until we rebooted the UNIX server. Now none of
them have FTP access into the UNIX box. This was the first time the box
had been rebooted since setting them up. These logins can telnet in fine

but cannot ftp.

I have reviewed all the settings and believe they are all correct. I am
not a UNIX guru but know enough to be dangerous;) Wish there was a
setting up FTP for Dummies instruction manual. Any clues as to what may
be part of the puzzle I am missing?

Hardware : HP
Operating system : HP-UX
O.S. version : B.11.00
UniData version  : 6.1.16

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

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
__

Confidentiality Notice:  This e-mail and any attachments are intended solely 
for the addressee and may contain confidential or privileged  information.   If 
you are not the named addressee, or the person responsible for delivering the 
message to the named addressee, please notify the sender as soon as possible 
and delete the material from your computer.  This message will be protected by 
copyright.  If it has come to you in error, you must not take any action based 
on its contents nor must you copy or show the message to any person other than 
the intended recipient.
_
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
__
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
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] SELECT Statement question

2010-04-01 Thread Charles_Shaffer
Here's an odd thing,  I have an app that allows the user to pass in a 
select criteria string that is used to find a string containing the select 
criteria.  Like this.

ECMD = SSELECT :CP: BY PART_NUM
IF SELCRIT  '' THEN
ECMD :=  WITH PART_NUM LIKE '...:SELCRIT:...' 
END
EXECUTE ECMD

This works fine most of the time, but we just noticed that when the select 
criteria is G2A, it takes that to mean a G followed with 2 alpha 
characters, so it matches many more items than desired.  Is there a way to 
force the SELECT to take the criteria as a literal G2A and not as a 
matching pattern?
 

Charles Shaffer
Senior Analyst
NTN-Bower Corporation
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] FTP Users in HP-UX

2010-04-01 Thread Drew William Henderson
It's been a while since I've worked in HP-UX, but I think the standard ftp 
daemon runs out of inetd.  Take a look at your /etc/inetd.conf file to see if 
it is enabled there (if telnet is working, then so is inetd; this assumes HP-UX 
has not moved all this to individual files, as some other Unix variants have 
done.)  

There are also some files in /etc that can indicate who can or cannot ftp; take 
a look for some files like ftp.allow and ftp.deny (better yet, do an ls /etc | 
grep ftp [no quotes] to get a listing of any files with ftp in them.)

HTH
Drew

-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Ben Souther
Sent: Thursday, April 01, 2010 8:48 AM
To: U2 Users List
Subject: Re: [U2] FTP Users in HP-UX

That's what it sounds like.

I would do a search on the system for a file named ftpd.

On most Linux boxen it would usually be in 
/etc/rc.d/init.d/

Once you find it, CD to the directory where it resides and type:
./ftpd start

You might need to be root to do this.



To search the entire machine for the executable:
find / -name ftpd -print


Good-Luck



On Thu, 2010-04-01 at 13:24 +0100, Bob Witney wrote:
 Daemon not come back up ?
 
 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org
 [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Tom
 Sent: 01 April 2010 13:13
 To: u2-users@listserver.u2ug.org
 Subject: [U2] FTP Users in HP-UX
 
 We have something strange happening with FTP on our UNIX box. We have 
 some users setup to FTP files from our windows server to the UNIX box. 
 They were working fine until we rebooted the UNIX server. Now none of 
 them have FTP access into the UNIX box. This was the first time the box 
 had been rebooted since setting them up. These logins can telnet in fine
 
 but cannot ftp.
 
 I have reviewed all the settings and believe they are all correct. I am 
 not a UNIX guru but know enough to be dangerous;) Wish there was a 
 setting up FTP for Dummies instruction manual. Any clues as to what may 
 be part of the puzzle I am missing?
 
 Hardware : HP
 Operating system : HP-UX
 O.S. version : B.11.00
 UniData version  : 6.1.16
 
 Tom
 ___
 U2-Users mailing list
 U2-Users@listserver.u2ug.org
 http://listserver.u2ug.org/mailman/listinfo/u2-users
 
 __
 This email has been scanned by the MessageLabs Email Security System.
 For more information please visit http://www.messagelabs.com/email 
 __
 
 Confidentiality Notice:  This e-mail and any attachments are intended solely 
 for the addressee and may contain confidential or privileged  information.   
 If you are not the named addressee, or the person responsible for delivering 
 the message to the named addressee, please notify the sender as soon as 
 possible and delete the material from your computer.  This message will be 
 protected by copyright.  If it has come to you in error, you must not take 
 any action based on its contents nor must you copy or show the message to any 
 person other than the intended recipient. 
 _
 This email has been scanned by the MessageLabs Email Security System.
 For more information please visit http://www.messagelabs.com/email 
 __
 ___
 U2-Users mailing list
 U2-Users@listserver.u2ug.org
 http://listserver.u2ug.org/mailman/listinfo/u2-users
 
-- 
Ben Souther
Manager, Web and Web Service Development
bsout...@fwdco.com | 508.927.8147
FWDavison  Company, Inc.
10 Cordage Park Circle, Suite 200
Plymouth, MA 02360-7318

CONFIDENTIALITY NOTICE:  This e-mail message, and any accompanying
documents, is for the sole use of the intended recipient(s) and may
contain confidential and privileged information. Any unauthorized
review, use, disclosure, distribution or copying is prohibited. If you
are not the intended recipient, please contact our office by e-mail or
by telephone at (508) 747-7261 and immediately destroy all copies of the
original message.

___
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] SELECT Statement question

2010-04-01 Thread Edward Brown
The final string needs to read as LIKE 0X'G2A'0X, so the string the
user supplies is always single quoted.

In code it would be something like this

QUOTE = ''
USER.STRING = QUOTE:0X':SELCRIT:'0X:QUOTE
ECMD :=  WITH PART_NUM LIKE :USER.STRING

Ed

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of
charles_shaf...@ntn-bower.com
Sent: 01 April 2010 13:54
To: U2 Users List
Subject: [U2] SELECT Statement question

Here's an odd thing,  I have an app that allows the user to pass in a 
select criteria string that is used to find a string containing the
select 
criteria.  Like this.

ECMD = SSELECT :CP: BY PART_NUM
IF SELCRIT  '' THEN
ECMD :=  WITH PART_NUM LIKE '...:SELCRIT:...' 
END
EXECUTE ECMD

This works fine most of the time, but we just noticed that when the
select 
criteria is G2A, it takes that to mean a G followed with 2 alpha 
characters, so it matches many more items than desired.  Is there a way
to 
force the SELECT to take the criteria as a literal G2A and not as a 
matching pattern?
 

Charles Shaffer
Senior Analyst
NTN-Bower Corporation
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

---
This e-mail and any attachment(s), is confidential and may be legally 
privileged. It is intended solely for the addressee. If you are not the 
addressee, dissemination, copying or use of this e-mail or any of its content 
is prohibited and may be unlawful. If you are not the intended recipient please 
inform the sender immediately and destroy the e-mail, any attachment(s) and any 
copies. All liability for viruses is excluded to the fullest extent permitted 
by law. It is your responsibility to scan or otherwise check this email and any 
attachment(s). Unless otherwise stated (i) views expressed in this message are 
those of the individual sender (ii) no contract may be construed by this 
e-mail. Emails may be monitored and you are taken to consent to this 
monitoring.  

Civica Services Limited, Company No. 02374268; Civica UK Limited, Company No. 
01628868
Both companies are registered in England and Wales and each has its registered 
office at 2 Burston Road, Putney, London, SW15 6AR.
---

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


Re: [U2] FTP Users in HP-UX

2010-04-01 Thread Charles_Shaffer
Do you get any error messages back when the ftp login fails?

Failing after rebooting made me think of a non-persistent route, except if 
you can telnet then that must not be it.
Still makes me wonder what was there before the reboot that wasn't there 
after?  Not sure about HP-UX, but on Ubuntu Linux you can verfiy that the 
ftp daemon is running with 

-bash-3.00# ps aux | grep ftpd

I get back.
root  2492  0.0  0.0  5568 1004 ?S 2009   0:00 
/usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf
root 17508  0.0  0.0  4076  648 pts/3S+   08:00   0:00 grep ftpd

This shows the daemon is running and the configuration file used.

Is it possible that a fix was done to get ftp working, but the fix was not 
added to the config file to make it persistent?  I've never seen that with 
ftp, but I see it with routes a lot.

 We have something strange happening with FTP on our UNIX box. We have
 some users setup to FTP files from our windows server to the UNIX box.
 They were working fine until we rebooted the UNIX server. Now none of
 them have FTP access into the UNIX box. This was the first time the box
 had been rebooted since setting them up. These logins can telnet in 
fine

 but cannot ftp.

 I have reviewed all the settings and believe they are all correct. I am
 not a UNIX guru but know enough to be dangerous;) Wish there was a
 setting up FTP for Dummies instruction manual. Any clues as to what may
 be part of the puzzle I am missing?

 Hardware : HP
 Operating system : HP-UX
 O.S. version : B.11.00
 UniData version  : 6.1.16

 Tom


Charles Shaffer
Senior Analyst
NTN-Bower Corporation
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] FTP Users in HP-UX

2010-04-01 Thread Charles_Shaffer
Any chance anonymous logins are not allowed after the reboot?  Here is the 
line in the Ubuntu config.

# Allow anonymous FTP? (Beware - allowed by default if you comment this 
out).
anonymous_enable=YES

 We have something strange happening with FTP on our UNIX box. We have
 some users setup to FTP files from our windows server to the UNIX box.
 They were working fine until we rebooted the UNIX server. Now none of
 them have FTP access into the UNIX box. This was the first time the box
 had been rebooted since setting them up. These logins can telnet in 
fine

 but cannot ftp.

 I have reviewed all the settings and believe they are all correct. I am
 not a UNIX guru but know enough to be dangerous;) Wish there was a
 setting up FTP for Dummies instruction manual. Any clues as to what may
 be part of the puzzle I am missing?

 Hardware : HP
 Operating system : HP-UX
 O.S. version : B.11.00
 UniData version  : 6.1.16

 Tom

Charles Shaffer
Senior Analyst
NTN-Bower Corporation
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] SELECT Statement question

2010-04-01 Thread David A. Green
Wrap the text in single quotes or teach the end user how to use matching and
let them supply the single quotes.

David A. Green
(480) 813-1725
DAG Consulting


-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of
charles_shaf...@ntn-bower.com
Sent: Thursday, April 01, 2010 5:54 AM
To: U2 Users List
Subject: [U2] SELECT Statement question

Here's an odd thing,  I have an app that allows the user to pass in a 
select criteria string that is used to find a string containing the select 
criteria.  Like this.

ECMD = SSELECT :CP: BY PART_NUM
IF SELCRIT  '' THEN
ECMD :=  WITH PART_NUM LIKE '...:SELCRIT:...' 
END
EXECUTE ECMD

This works fine most of the time, but we just noticed that when the select 
criteria is G2A, it takes that to mean a G followed with 2 alpha 
characters, so it matches many more items than desired.  Is there a way to 
force the SELECT to take the criteria as a literal G2A and not as a 
matching pattern?
 

Charles Shaffer
Senior Analyst
NTN-Bower Corporation
___
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] SELECT Statement question

2010-04-01 Thread Oaks, Harold
Charles:

The select statement will have to be, once all substitutions are made,
like this:

SELECT X BY PART_NUM WITH PART_NUM LIKE '...G2A...'

The inner quotes are required in order to get an exact match on the
characters G2A anywhere in the part_num field.

Try this on the second line:
 ECMD := \WITH PART_NUM LIKE '...\ : SELCRIT : \...'\

This makes use of the 3rd way to quote strings, the backslash.  It
practically exists just for this purpose: to manipulate substrings that
themselves have single and double quotes in them.

Incidently - Do NOT use SSELECT, use just SELECT.  The 'BY' clause will
make the sort happen. It's my understanding that using SSELECT pre-sorts
the file on @ID which is not at all what you want - it simply wastes
processing time.

Harold Oaks
Clark County IT


-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of
charles_shaf...@ntn-bower.com
Sent: Thursday, April 01, 2010 5:54 AM
To: U2 Users List
Subject: [U2] SELECT Statement question

Here's an odd thing,  I have an app that allows the user to pass in a
select criteria string that is used to find a string containing the
select criteria.  Like this.

ECMD = SSELECT :CP: BY PART_NUM
IF SELCRIT  '' THEN
ECMD :=  WITH PART_NUM LIKE '...:SELCRIT:...' 
END
EXECUTE ECMD

This works fine most of the time, but we just noticed that when the
select criteria is G2A, it takes that to mean a G followed with 2 alpha
characters, so it matches many more items than desired.  Is there a way
to force the SELECT to take the criteria as a literal G2A and not as a
matching pattern?
 

Charles Shaffer
Senior Analyst
NTN-Bower Corporation
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


This e-mail and related attachments and any response may be subject to public 
disclosure under state law.
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Regex searching UD files

2010-04-01 Thread jpb-u2ug
I'm on UV and  from the Unix command line I can do the following:

cd /usr/ibm/uv
uv port.status | grep j_banker

It will list every line with my login.


Jerry Banker


-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Dan McGrath
Sent: Monday, March 29, 2010 4:13 PM
To: U2 Users List
Subject: Re: [U2] Regex searching UD files

Not even close... We run in ECLTYPE P and don't have access to EVAL and
the like.

^[Cc][Hh][Qq].*[5-8][0-9][0-9][0-9]x

Unless you can explain how to duplicate the above search with ESEARCH?

@Stuart, that would be ideal, but unfortunately I can't go dumping out
multi-gigabyte files. :(



-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Wally Terhune
Sent: Tuesday, 30 March 2010 5:22 AM
To: U2 Users List
Subject: Re: [U2] Regex searching UD files

Does UniData ECL ESEARCH command not fill the bill already?

Wally Terhune
U2 Support Architect
Rocket Software
4700 S. Syracuse Street, Suite 400 **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 Boydell,
Stuart
Sent: Monday, March 29, 2010 12:22 AM
To: U2 Users List
Subject: Re: [U2] Regex searching UD files

I think this should be one for Rocket to implement a RegexSearch in U2. 
However, if it's size non-impactive, what I would normally do is copy
the file to a temporary directory then run grep across that.

Stuart Boydell 

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Dan McGrath
Sent: Monday, 29 March 2010 17:08
To: U2 Users List
Subject: [U2] Regex searching UD files

I've written a small utility to be able to run egrep on a UD file (not
UD directory), however its implementation is not ideal.

 

Essentially, I select the file I'm searching, writing each record one at
a time to a temp UNIX file and running egrep on it as follows

 

!egrep -q -f MyTempRegexFile MyTempRecordFile ; echo $?

 

Where MyTempRegexFile is a file containing the desired regex pattern
stored earlier and MyTempRecordFile is a file name unique to each user.

 

My problem with it is that I have to do a READ on each record, followed
by a WRITE then have egrep read it in as well. That's a lot of seemingly
unneeded disk IO if I could only stream the record to egrep without have
to do a WRITE after the READ.

 

Any ideas? I feel I'm missing something quite obvious.

 

Regards,

Dan



###
The information transmitted in this message and attachments (if any) is
intended only
for the person or entity to which it is addressed. The message may
contain confidential
and/or privileged material.  Any review, retransmission, dissemination
or other use of
or taking of any action in reliance upon this information by persons or
entities other
than the intended recipient is prohibited.  If you received this in
error, please
contact the sender and delete the material from any computer.

The intended recipient of this e-mail may only use, reproduce, disclose
or distribute
the information contained in this e-mail and any attached files with the
permission of IMB.

###
___
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

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

###
The information transmitted in this message and attachments (if any) is
intended only
for the person or entity to which it is addressed. The message may contain
confidential
and/or privileged material.  Any review, retransmission, dissemination or
other use of
or taking of any action in reliance upon this information by persons or
entities other
than the intended recipient is prohibited.  If you received this in error,
please
contact the sender and delete the material from any computer.

The intended recipient of this e-mail may only use, reproduce, disclose or
distribute
the information contained 

Re: [U2] Subject: 2 servers - how do I point to a VOC on another server?

2010-04-01 Thread Anthony W. Youngman
In message snt126-ds139c3098dde64b42057b6aa0...@phx.gbl, Doug 
dave...@hotmail.com writes

Hi Chris:

Without buying UVNet and or PRC which cost many thousands of dollars.  You
have a couple of choices:

1)  You can use the smoke and mirrors of VOC pointers
2)  You can get a real version control system.  Most of the version control
systems CVS or Subversion are free.  They require scripts to code to hook
them up.


And if you're going to learn a new version control system, GET A 
DISTRIBUTED ONE!


Okay, you might be the sole developer ... but a distributed system still 
helps. I learnt some sourcesafe in my last job, and one of the biggest 
pains was another developer working on a module I was using, or needing 
to bugfix a module that was being developed on. You can add your own 
niggles.


I've started learning git, and while I haven't really scratched the 
surface of what it can do, it's easy to have multiple developments going 
on against the same stream of code. (You just curse a bit when you need 
to merge those streams, although git does try to make it easier for you 
:-)


Cheers,
Wol
--
Anthony W. Youngman pi...@thewolery.demon.co.uk
'Yings, yow graley yin! Suz ae rikt dheu,' said the blue man, taking the
thimble. 'What *is* he?' said Magrat. 'They're gnomes,' said Nanny. The man
lowered the thimble. 'Pictsies!' Carpe Jugulum, Terry Pratchett 1998
Visit the MaVerick web-site - http://www.maverick-dbms.org Open Source Pick
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] SELECT Statement question

2010-04-01 Thread Charles_Shaffer
Thanks everyone.  Enclosing the Selct Criteria in quotes took care of it. 
I remember running into this now a long time  ago.  The memory is the 
second thing to go.

Charles Shaffer
Senior Analyst
NTN-Bower Corporation
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] SELECT Statement question

2010-04-01 Thread George Gallen
What's first? CPU speed?

 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-
 boun...@listserver.u2ug.org] On Behalf Of charles_shaf...@ntn-bower.com
 Sent: Thursday, April 01, 2010 2:32 PM
 To: U2 Users List
 Subject: Re: [U2] SELECT Statement question
 
 Thanks everyone.  Enclosing the Selct Criteria in quotes took care of
 it.
 I remember running into this now a long time  ago.  The memory is the
 second thing to go.
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] SELECT Statement question

2010-04-01 Thread Charles_Shaffer
I can't remember what's first.

Thanks for asking   ; )

Charles Shaffer
Senior Analyst
NTN-Bower Corporation




George Gallen ggal...@wyanokegroup.com
Sent by: u2-users-boun...@listserver.u2ug.org
04/01/2010 01:35 PM
Please respond to U2 Users List

 
To: U2 Users List u2-users@listserver.u2ug.org
cc: 
Subject:Re: [U2] SELECT Statement question


What's first? CPU speed?

 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-
 boun...@listserver.u2ug.org] On Behalf Of charles_shaf...@ntn-bower.com
 Sent: Thursday, April 01, 2010 2:32 PM
 To: U2 Users List
 Subject: Re: [U2] SELECT Statement question
 
 Thanks everyone.  Enclosing the Selct Criteria in quotes took care of
 it.
 I remember running into this now a long time  ago.  The memory is the
 second thing to go.
___
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