Re: [U2] OCONVS for MV I-desc
I SUBR('-OCONVS',X.SOME.FIELD,'MCU') -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Jeffrey Butera Sent: Tuesday, March 08, 2011 8: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 U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users html body Dave Davis Team Lead, Ramp;D P: 614-875-4910 x108 F: 614-875-4088 E: dda...@harriscomputer.com [http://www.harriscomputer.com/images/signatures/HarrisSchools.gif] [http://www.harriscomputer.com/images/signatures/DivisionofHarris.gif] 6110 Enterprise Parkway Grove City, OH 43123 www.harris-schoolsolutions.com This message is intended exclusively for the individual or entity to which it is addressed. This communication may contain information that is proprietary, privileged or confidential or otherwise legally exempt from disclosure. If you are not the named addressee, you are not authorized to read, print, retain, copy or disseminate this message or any part of it. If you have received this message in error, please notify the sender immediately by e-mail and delete all copies of the message. /body /html ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
[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 U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] OCONVS for MV I-desc
UPCASE(VAR) instead of OCONVS? -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Jeffrey Butera Sent: Tuesday, March 08, 2011 5: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 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] OCONVS for MV I-desc
Try the MCU as conversion code in F3 of the dict. On 9 March 2011 14:01, Jeffrey Butera jbut...@hampshire.edu wrote: 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 U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users -- Kate Stanton Walstan Systems Ltd 4 Kelmarna Ave, Herne Bay, Auckland 1011, New Zealand Phone: + 64 9 360 5310 Mobile: + 64 21 400 486 Email: k...@walstan.com ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] OCONVS for MV I-desc
On 03/08/2011 08:26 PM, Kate Stanton wrote: Try the MCU as conversion code in F3 of the dict. Thanks Kate - after almost 12 years of Unidata, I can say I never thought of that approach but duh!, I should have! -- Jeffrey Butera Manager of ERP Systems Hampshire College 413-559-5556 ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] OCONVS for MV I-desc
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: 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 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 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