Speaking of mis-used commands and side-stepping some of the given code
craziness...

It is better practice to atomize the code into discrete elements such as...

  Var1.F = oconv(Var1, 'MD0')
  crt Var1.F 'R#11'

rather than to try to kill two birds with one stone by including an oconv
statement inside a crt statement such as...

  crt oconv(Var1, 'MD0')

--Bill


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of MAJ Programming
Sent: Friday, November 16, 2007 12:48 AM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] OCONV Extraction Question


This is real smart, making things harder than they should be. Just use <>.

Mark Johnson
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <u2-users@listserver.u2ug.org>
Sent: Wednesday, November 14, 2007 5:23 PM
Subject: RE: [U2] OCONV Extraction Question


> Didn't work for me either. It may not fit what you need, but SWAP can make
> it work.
>
> VAR1 = 'SAM':@VM:'TRUDY'
> SWAP @VM WITH '*' IN VAR1
> FMTSTR = 'G*1'
> CRT OCONV(VAR1,FMTSTR)
>
> Brad
>
>
> U.S. BANCORP made the following annotations
> ---------------------------------------------------------------------
> Electronic Privacy Notice. This e-mail, and any attachments, contains
information that is, or may be, covered by electronic communications privacy
laws, and is also confidential and proprietary in nature. If you are not the
intended recipient, please be advised that you are legally prohibited from
retaining, using, copying, distributing, or otherwise disclosing this
information in any manner. Instead, please reply to the sender that you have
received this communication in error, and then immediately delete it. Thank
you in advance for your cooperation.
>
>
>
> ---------------------------------------------------------------------
> -------
> 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/

Reply via email to