Re: [U2] UniVerse:ED:Query

2006-01-24 Thread Gary Gowans

Hari T. K. Varma wrote:


Hi All,

In ED I would like how can I change/replace a text containing
the delimiter itself i.e. \ as part of the text to be replaced

e.g.

0001: FIRST^253HARI/PROG

In the above line I would like to delete ^253HARI/PROG

Thanks in Advance,

-Hari


Sorry for the slow response... I'm an occassional digester!

Anyway, most responses have suggested the simple solution of using another 
delimiter (any of : , . - \ etc will do). All very sensible (especially in 
this example).


However, when faced with a long, complex string to chop from the end of a 
line (with multi-values or not) I find the 'B'reak facility very useful.


B x... allows you to 'break' a line into two after the x... part.

In Hari's example you'd just do

:B STrtn
(B T would do, I just like to use 2 or more characters for certainty, B 
FIRST would work too)

This creates a new line 002... So rtn past line 2 thus:

002 ^253HARI/PROG
:
and type DE to delete the line

Easy?

It can also be used to take a large chunk out of the middle of a long 
attribute.


Just break before and after the bit you want to remove, delete the resulting 
offending line and use CAT (after the first line before the 3rd, now 2nd 
line) to join them back together again


Thus:
001 a long piece of text or whatever and the bit to be removed some more 
stuff etc, etc

:B ever and rtn
gives:
001 a long piece of text or whatever and
002the bit to be removed some more stuff etc, etc

then
:B vedrtn
gives:
001 a long piece of text or whatever and
002the bit to be removed
003 some more stuff etc, etc

DElete line 2 then
001 a long piece of text or whatever and
:CAT

gives:
001 a long piece of text or whatever and some more stuff etc, etc

Sorry if that's teaching you all to suck eggs, it's really aimed at Hari 
(who, I'm guessing is fairly new to the game)?


I found the technique great for chopping large items (oh for a decent GUI 
style editor!) and more reliable than having to 'match' long strings of 
text, etc to 'C'hange/'R'eplace them.


Notes:
CAT xxx - will stick xxx in between the concatenated lines
'B' on its own will go to the bottom of the item!

Regards,

Gary ('why use one word when several will confuse and irritate?') Gowans
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] UniVerse:ED:Query

2006-01-24 Thread colin.alfke
Plus - with AE you can:

DV (this will delete the last multi-value on the line, will clear a line
with only one value)
DV/n (delete a specific mv)

Or

CM (can use pattern matching to change/remove text)

Hth
Colin Alfke
Calgary, Canada
 

-Original Message-
From: Gary Gowans

Hari T. K. Varma wrote:

Hi All,

  In ED I would like how can I change/replace a text 
containing the 
delimiter itself i.e. \ as part of the text to be replaced

e.g.

0001: FIRST^253HARI/PROG

In the above line I would like to delete ^253HARI/PROG

Thanks in Advance,

-Hari

Sorry for the slow response... I'm an occassional digester!

Anyway, most responses have suggested the simple solution of 
using another delimiter (any of : , . - \ etc will do). All 
very sensible (especially in this example).

However, when faced with a long, complex string to chop from 
the end of a line (with multi-values or not) I find the 
'B'reak facility very useful.

B x... allows you to 'break' a line into two after the x... part.

[snip long example]

Gary ('why use one word when several will confuse and 
irritate?') Gowans
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] UniVerse:ED:Query

2006-01-24 Thread Jerry Banker
Practically any non-alpha character can be used for a separator in the 
change/replace command. I routinely use commas, periods, backslash, forward 
slash, bar, even semicolons and single quotes will work. But in the case you 
show (FIRST^253HARI/PROG) and you want to get rid of the last value. I would 
use the line break (B) and delete the line created. (ex. B T will break the 
at the T, press enter to go to the next line which should be ^253HARI/PROG, 
then use D to delete the line).


- Original Message - 
From: Gary Gowans [EMAIL PROTECTED]

To: u2-users@listserver.u2ug.org
Sent: Tuesday, January 24, 2006 10:22 AM
Subject: Re: [U2] UniVerse:ED:Query



Hari T. K. Varma wrote:


Hi All,

In ED I would like how can I change/replace a text containing
the delimiter itself i.e. \ as part of the text to be replaced

e.g.

0001: FIRST^253HARI/PROG

In the above line I would like to delete ^253HARI/PROG

Thanks in Advance,

-Hari


Sorry for the slow response... I'm an occassional digester!

Anyway, most responses have suggested the simple solution of using another 
delimiter (any of : , . - \ etc will do). All very sensible (especially in 
this example).


However, when faced with a long, complex string to chop from the end of a 
line (with multi-values or not) I find the 'B'reak facility very useful.


B x... allows you to 'break' a line into two after the x... part.

In Hari's example you'd just do

:B STrtn
(B T would do, I just like to use 2 or more characters for certainty, B 
FIRST would work too)

This creates a new line 002... So rtn past line 2 thus:

002 ^253HARI/PROG
:
and type DE to delete the line

Easy?

It can also be used to take a large chunk out of the middle of a long 
attribute.


Just break before and after the bit you want to remove, delete the 
resulting offending line and use CAT (after the first line before the 3rd, 
now 2nd line) to join them back together again


Thus:
001 a long piece of text or whatever and the bit to be removed some more 
stuff etc, etc

:B ever and rtn
gives:
001 a long piece of text or whatever and
002the bit to be removed some more stuff etc, etc

then
:B vedrtn
gives:
001 a long piece of text or whatever and
002the bit to be removed
003 some more stuff etc, etc

DElete line 2 then
001 a long piece of text or whatever and
:CAT

gives:
001 a long piece of text or whatever and some more stuff etc, etc

Sorry if that's teaching you all to suck eggs, it's really aimed at Hari 
(who, I'm guessing is fairly new to the game)?


I found the technique great for chopping large items (oh for a decent GUI 
style editor!) and more reliable than having to 'match' long strings of 
text, etc to 'C'hange/'R'eplace them.


Notes:
CAT xxx - will stick xxx in between the concatenated lines
'B' on its own will go to the bottom of the item!

Regards,

Gary ('why use one word when several will confuse and irritate?') Gowans
---
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] UniVerse:ED:Query

2006-01-23 Thread Hari T. K. Varma
Hi All,

In ED I would like how can I change/replace a text containing
the delimiter itself i.e. \ as part of the text to be replaced

e.g.

0001: FIRST^253HARI/PROG

In the above line I would like to delete ^253HARI/PROG

Thanks in Advance,

-Hari

 CAUTION - Disclaimer *
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely 
for the use of the addressee(s). If you are not the intended recipient, please 
notify the sender by e-mail and delete the original message. Further, you are 
not to copy, disclose, or distribute this e-mail or its contents to any other 
person and any such actions are unlawful. This e-mail may contain viruses. 
Infosys has taken every reasonable precaution to minimize this risk, but is not 
liable for any damage you may sustain as a result of any virus in this e-mail. 
You should carry out your own virus checks before opening the e-mail or 
attachment. Infosys reserves the right to monitor and review the content of all 
messages sent to or from this e-mail address. Messages sent to or from this 
e-mail address may be stored on the Infosys e-mail system.
***INFOSYS End of Disclaimer INFOSYS***
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] UniVerse:ED:Query

2006-01-23 Thread Mats Carlid

Simple

use another delimiter  any special character will do...


hth

--mats



Hari T. K. Varma wrote:


Hi All,

In ED I would like how can I change/replace a text containing
the delimiter itself i.e. \ as part of the text to be replaced

e.g.

0001: FIRST^253HARI/PROG

In the above line I would like to delete ^253HARI/PROG

Thanks in Advance,

-Hari

 CAUTION - Disclaimer *
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely 
for the use of the addressee(s). If you are not the intended recipient, please 
notify the sender by e-mail and delete the original message. Further, you are 
not to copy, disclose, or distribute this e-mail or its contents to any other 
person and any such actions are unlawful. This e-mail may contain viruses. 
Infosys has taken every reasonable precaution to minimize this risk, but is not 
liable for any damage you may sustain as a result of any virus in this e-mail. 
You should carry out your own virus checks before opening the e-mail or 
attachment. Infosys reserves the right to monitor and review the content of all 
messages sent to or from this e-mail address. Messages sent to or from this 
e-mail address may be stored on the Infosys e-mail system.
***INFOSYS End of Disclaimer INFOSYS***
---
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] UniVerse:ED:Query

2006-01-23 Thread Andrew Lakeland
C,^253HARI/PROG,,

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Hari T. K. Varma
Sent: 23 January 2006 09:18
To: u2-users@listserver.u2ug.org
Subject: [U2] UniVerse:ED:Query

Hi All,

In ED I would like how can I change/replace a text containing
the delimiter itself i.e. \ as part of the text to be replaced

e.g.

0001: FIRST^253HARI/PROG

In the above line I would like to delete ^253HARI/PROG

Thanks in Advance,

-Hari

 CAUTION - Disclaimer *
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely
for the use of the addressee(s). If you are not the intended recipient,
please notify the sender by e-mail and delete the original message. Further,
you are not to copy, disclose, or distribute this e-mail or its contents to
any other person and any such actions are unlawful. This e-mail may contain
viruses. Infosys has taken every reasonable precaution to minimize this
risk, but is not liable for any damage you may sustain as a result of any
virus in this e-mail. You should carry out your own virus checks before
opening the e-mail or attachment. Infosys reserves the right to monitor and
review the content of all messages sent to or from this e-mail address.
Messages sent to or from this e-mail address may be stored on the Infosys
e-mail system.
***INFOSYS End of Disclaimer INFOSYS***
---
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] UniVerse:ED:Query

2006-01-23 Thread Louie Gouws
Hari

0001: blah blah^253HARI/PROG
: R.^253HARI/PROG..

In the above example I have used a . as the delimiter (which is different
from the /.   Could also use the backslash \

Louie

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Hari T. K. Varma
Sent: 23 January 2006 10:18
To: u2-users@listserver.u2ug.org
Subject: [U2] UniVerse:ED:Query

Hi All,

In ED I would like how can I change/replace a text containing
the delimiter itself i.e. \ as part of the text to be replaced

e.g.

0001: FIRST^253HARI/PROG

In the above line I would like to delete ^253HARI/PROG

Thanks in Advance,

-Hari

 CAUTION - Disclaimer *
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely
for the use of the addressee(s). If you are not the intended recipient,
please notify the sender by e-mail and delete the original message. Further,
you are not to copy, disclose, or distribute this e-mail or its contents to
any other person and any such actions are unlawful. This e-mail may contain
viruses. Infosys has taken every reasonable precaution to minimize this
risk, but is not liable for any damage you may sustain as a result of any
virus in this e-mail. You should carry out your own virus checks before
opening the e-mail or attachment. Infosys reserves the right to monitor and
review the content of all messages sent to or from this e-mail address.
Messages sent to or from this e-mail address may be stored on the Infosys
e-mail system.
***INFOSYS End of Disclaimer INFOSYS***
---
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] UniVerse:ED:Query

2006-01-23 Thread Ray Wurlod
0001: FIRST^253HARI/PROG

Method 1


C\^253HARI/PROD\\

Use any delimiter character that is not in the text.  Here we have changed the 
string to 


Method 2


B FIRST
+1
D

This breaks the line after FIRST, moves to the next line (just [Enter] would do 
rather than +1), and deletes that line
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] UniVerse:ED:Query

2006-01-23 Thread Louis Windsor

Type

C.^253HARI/PROG..

(use full stops or any other character)

on the line concerned.

Louis

- Original Message - 
From: Hari T. K. Varma [EMAIL PROTECTED]

To: u2-users@listserver.u2ug.org
Sent: Monday, January 23, 2006 4:17 PM
Subject: [U2] UniVerse:ED:Query



Hi All,

In ED I would like how can I change/replace a text containing
the delimiter itself i.e. \ as part of the text to be replaced

e.g.

0001: FIRST^253HARI/PROG

In the above line I would like to delete ^253HARI/PROG

Thanks in Advance,

-Hari

 CAUTION - Disclaimer *
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended 
solely for the use of the addressee(s). If you are not the intended 
recipient, please notify the sender by e-mail and delete the original 
message. Further, you are not to copy, disclose, or distribute this e-mail 
or its contents to any other person and any such actions are unlawful. 
This e-mail may contain viruses. Infosys has taken every reasonable 
precaution to minimize this risk, but is not liable for any damage you may 
sustain as a result of any virus in this e-mail. You should carry out your 
own virus checks before opening the e-mail or attachment. Infosys reserves 
the right to monitor and review the content of all messages sent to or 
from this e-mail address. Messages sent to or from this e-mail address may 
be stored on the Infosys e-mail system.

***INFOSYS End of Disclaimer INFOSYS***
---
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] UniVerse:ED:Query

2006-01-23 Thread Allen Egerton
On Mon, 23 Jan 2006 13:47:53 +0530, you wrote:

Hi All,

   In ED I would like how can I change/replace a text containing
the delimiter itself i.e. \ as part of the text to be replaced

e.g.

0001: FIRST^253HARI/PROG

In the above line I would like to delete ^253HARI/PROG

Use a different delimiter, such as a period.
So, c.HARI/PROG.. would result in FIRST^253

If you want to get rid of the field mark too, then you could do
c.^253HARI/PROG..

or B T which would break after the T, and then return to get to
the new line two and D to delete the entire new line two.

Or you could simply do a R FIRST which would replace the entire line
with FIRST.  This btw is probably the method I'd least prefer for
what you're trying to do, but it is an option.

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