There is a MV function for I-descriptors. From the Using UniData manual:
OCONV(expr,
conv.code)
SUBR('-OCONVS',expr,
conv.code)
Converts expr to external format based on conv.code.
Quick example from UniData demo account.
I created a dict item to lowercase TAPES_RENTED:
001: I
002: SUBR('-OCONVS', TAPES_RENTED, "MCL")
003:
004: Tapes
005: 10L
006: MV
Wally Terhune
U2 Support Architect
Rocket Software
4600 South Ulster Street, Suite 1100 **Denver, CO 80237 **USA
Tel: +1.720.475.8055
Email: [email protected]
Web: www.rocketsoftware.com/u2
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Jeffrey Butera
Sent: Tuesday, March 08, 2011 6:01 PM
To: U2 Users List
Subject: [U2] OCONVS for MV I-desc
On Unidata 7.2.x
OCONVS is the MV equivalent for OCONV that works wonders in Unibasic.
However, I have the need to create an I-descriptor which uppercases a MV
field and OCONVS isn't allowed in an I-desc whereas OCONV is. However,
OCONV uppercases the @VM and screws up the MV nature.
To be clear, this is what I'm trying to do:
OCONVS(X.SOME.FIELD,'MCU')
--
Jeffrey Butera
Manager of ERP Systems
Hampshire College
413-559-5556
_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users
_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users