Re: [U2] ISO Date Format

2013-03-11 Thread John Hatherill
D-YMD

John W Hatherill
Programmer / Analyst
Harrington Industrial Plastics 

-Original Message-
From: Jeff Schasny [mailto:jscha...@gmail.com] 
Sent: Monday, March 11, 2013 6:57 AM
To: U2-Users@listserver.u2ug.org
Subject: [U2] ISO Date Format

Has anyone come up with an OCONV string that will product an ISO standard date 
(-MM-DD)? After a vendor insisted on this last week I ended up creating a 
subroutine called by an I descriptor but it seems like there should be an 
easier way. A quick trip through the Universe Basic manual, my old Prime 
Info-Basic manual, and Pick Basic: A programmer's guide didn't shed any light.
--

Jeff Schasny - Denver, Co, USA
jschasny at gmail dot com


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


Re: [U2] ISO Date Format

2013-03-11 Thread Wjhonson
Next year it will be 2014
But then, we may not be here to enjoy that

http://www.zdnet.com/asteroid-misses-meteor-hits-earth-the-sky-is-falling-711320/



 

 

 

-Original Message-
From: Charles Stevenson 
To: Woodward, Bob 
Cc: U2 Users List 
Sent: Mon, Mar 11, 2013 11:22 am
Subject: Re: [U2] ISO Date Format


What?   It's 2013 already? ! ! ! ? !
Why didn't someone tell me?
I set my clock ahead yesterday and everything.

On 3/11/2013 1:10 PM, Woodward, Bob wrote:
> With a couple of corrections, yes, it did work.
>
> PRINT OCONV("16507","D-YMD[2,2,2]":@VM:"MCN")
>
> This returned the value 130311.
>
> You were missing the last 2 and the year is 2013, not 2012.  This was a
> good thought, though.  Cool
>
>
> -Original Message-
> From: Charles Stevenson [mailto:stevenson.c...@gmail.com]
> Sent: Monday, March 11, 2013 10:59 AM
> To: U2 Users List
> Cc: Woodward, Bob
> Subject: Re: [U2] ISO Date Format
>
> Bob,
>
> I'm curious,on UD6.1 does this work, using 2 conversion codes with a
> value mark between? :
>
> OCONV( "16507",  "D-YMD[2,2,]": @VM: "MCN" )  --> "120311"
>
> cds
>
>
>
> On 3/11/2013 12:16 PM, Woodward, Bob wrote:
>> I guess you need to be on a more current version of UD than 6.1 for
>> this to work.  DYMD[4,2,2] works just fine but everything I've tried
>> is proving that in this version, anyway, there MUST be a delimiter
>> between the parts of the date.  It does not matter what delimiter as
>> I've tried space, period, slash, even a comma but for both ICONV and
>> OCONV adding a quote of any type, null/space/dash/etc, to the numeric
>> only gives undesired results.
>>
>> I have to strip out the delimiter in OCONV results and make sure some
>> kind of delimiter is there for ICONV to get me back to the internal
>> date value.
>>
>> An interesting note is using the OCONV(IDATE,'D-YMD[2,2,2]') format,
>> the dash can be replaced with the digits 5 to 9 but using the digits 0
>> to 4 result in an output delimited with a space.  Would have been
>> acceptable (and nice) to have been able to get 13003011 but oh well.
>> I guess I could use 'D5YMD[2,2,2]' to give me the value 13503511 just
> as well.
>> Fun with dates!
>>
>> BobW
>>
>> -Original Message-
>> From: u2-users-boun...@listserver.u2ug.org
>> [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Charles
>> Stevenson
>> Sent: Monday, March 11, 2013 8:08 AM
>> To: U2 Users List
>> Subject: Re: [U2] ISO Date Format
>>
>> By the way, you can also completely eliminate the dash (or slash,
>> etc.)
>> delimiters:
>>
>> OCONV( "16507"   , "DYMD[4'',2'',2]" )  -->  "20130311"
>> ICONV( "20130311", "DYMD[4'',2'',2]" )  -->  "16507"
>>
>> Notice that ICONV'ing the OCONV'd or OCONV'ing the ICONVd result gets
>> you bat to where you started.  That makes it particularly useful in
>> dict conversion fields.
>>
>>
>> I learned that on this list, but I do not remember from whom. There
>> are too many people I've learned from.
>>
>> cds
>>
>>
>> On 11 March 2013 13:56, Jeff Schasny  wrote:
>>>> Has anyone come up with an OCONV string that will product an ISO
>>>> standard date (-MM-DD)? After a vendor insisted on this last
>>>> week I ended up creating a subroutine called by an I descriptor but
>>>> it seems like there should be an easier way. A quick trip through
>>>> the Universe Basic manual, my old Prime Info-Basic manual, and Pick
>>>> Basic: A programmer's guide didn't shed any light.
>

___
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] ISO Date Format

2013-03-11 Thread Anthonys Lists

On 11/03/2013 17:16, Woodward, Bob wrote:

An interesting note is using the OCONV(IDATE,'D-YMD[2,2,2]') format, the
dash can be replaced with the digits 5 to 9 but using the digits 0 to 4
result in an output delimited with a space.  Would have been acceptable
(and nice) to have been able to get 13003011 but oh well.  I guess I
could use 'D5YMD[2,2,2]' to give me the value 13503511 just as well.
That's because the first character after the D is not specified as the 
delimiter, but as the year length. And as is usual for Pick, if it 
doesn't make sense Pick assumes that that "argument" isn't there and 
pushes it back one in the list.


Because 5 is not a valid year length, it gets pushed back to the 
delimiter place.


Try "D44YMD" and see if that works ... :-)

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


Re: [U2] ISO Date Format

2013-03-11 Thread Charles Stevenson

What?   It's 2013 already? ! ! ! ? !
Why didn't someone tell me?
I set my clock ahead yesterday and everything.

On 3/11/2013 1:10 PM, Woodward, Bob wrote:

With a couple of corrections, yes, it did work.

PRINT OCONV("16507","D-YMD[2,2,2]":@VM:"MCN")

This returned the value 130311.

You were missing the last 2 and the year is 2013, not 2012.  This was a
good thought, though.  Cool


-Original Message-
From: Charles Stevenson [mailto:stevenson.c...@gmail.com]
Sent: Monday, March 11, 2013 10:59 AM
To: U2 Users List
Cc: Woodward, Bob
Subject: Re: [U2] ISO Date Format

Bob,

I'm curious,on UD6.1 does this work, using 2 conversion codes with a
value mark between? :

OCONV( "16507",  "D-YMD[2,2,]": @VM: "MCN" )  --> "120311"

cds



On 3/11/2013 12:16 PM, Woodward, Bob wrote:

I guess you need to be on a more current version of UD than 6.1 for
this to work.  DYMD[4,2,2] works just fine but everything I've tried
is proving that in this version, anyway, there MUST be a delimiter
between the parts of the date.  It does not matter what delimiter as
I've tried space, period, slash, even a comma but for both ICONV and
OCONV adding a quote of any type, null/space/dash/etc, to the numeric
only gives undesired results.

I have to strip out the delimiter in OCONV results and make sure some
kind of delimiter is there for ICONV to get me back to the internal
date value.

An interesting note is using the OCONV(IDATE,'D-YMD[2,2,2]') format,
the dash can be replaced with the digits 5 to 9 but using the digits 0
to 4 result in an output delimited with a space.  Would have been
acceptable (and nice) to have been able to get 13003011 but oh well.
I guess I could use 'D5YMD[2,2,2]' to give me the value 13503511 just

as well.

Fun with dates!

BobW

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Charles
Stevenson
Sent: Monday, March 11, 2013 8:08 AM
To: U2 Users List
Subject: Re: [U2] ISO Date Format

By the way, you can also completely eliminate the dash (or slash,
etc.)
delimiters:

OCONV( "16507"   , "DYMD[4'',2'',2]" )  -->  "20130311"
ICONV( "20130311", "DYMD[4'',2'',2]" )  -->  "16507"

Notice that ICONV'ing the OCONV'd or OCONV'ing the ICONVd result gets
you bat to where you started.  That makes it particularly useful in
dict conversion fields.


I learned that on this list, but I do not remember from whom. There
are too many people I've learned from.

cds


On 11 March 2013 13:56, Jeff Schasny  wrote:

Has anyone come up with an OCONV string that will product an ISO
standard date (-MM-DD)? After a vendor insisted on this last
week I ended up creating a subroutine called by an I descriptor but
it seems like there should be an easier way. A quick trip through
the Universe Basic manual, my old Prime Info-Basic manual, and Pick
Basic: A programmer's guide didn't shed any light.




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


Re: [U2] ISO Date Format

2013-03-11 Thread Woodward, Bob
With a couple of corrections, yes, it did work.

PRINT OCONV("16507","D-YMD[2,2,2]":@VM:"MCN")

This returned the value 130311.

You were missing the last 2 and the year is 2013, not 2012.  This was a
good thought, though.  Cool


-Original Message-
From: Charles Stevenson [mailto:stevenson.c...@gmail.com] 
Sent: Monday, March 11, 2013 10:59 AM
To: U2 Users List
Cc: Woodward, Bob
Subject: Re: [U2] ISO Date Format

Bob,

I'm curious,on UD6.1 does this work, using 2 conversion codes with a
value mark between? :

   OCONV( "16507",  "D-YMD[2,2,]": @VM: "MCN" )  --> "120311"

cds



On 3/11/2013 12:16 PM, Woodward, Bob wrote:
> I guess you need to be on a more current version of UD than 6.1 for 
> this to work.  DYMD[4,2,2] works just fine but everything I've tried 
> is proving that in this version, anyway, there MUST be a delimiter 
> between the parts of the date.  It does not matter what delimiter as 
> I've tried space, period, slash, even a comma but for both ICONV and 
> OCONV adding a quote of any type, null/space/dash/etc, to the numeric 
> only gives undesired results.
>
> I have to strip out the delimiter in OCONV results and make sure some 
> kind of delimiter is there for ICONV to get me back to the internal 
> date value.
>
> An interesting note is using the OCONV(IDATE,'D-YMD[2,2,2]') format, 
> the dash can be replaced with the digits 5 to 9 but using the digits 0

> to 4 result in an output delimited with a space.  Would have been 
> acceptable (and nice) to have been able to get 13003011 but oh well.  
> I guess I could use 'D5YMD[2,2,2]' to give me the value 13503511 just
as well.
>
> Fun with dates!
>
> BobW
>
> -Original Message-
> From: u2-users-boun...@listserver.u2ug.org
> [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Charles 
> Stevenson
> Sent: Monday, March 11, 2013 8:08 AM
> To: U2 Users List
> Subject: Re: [U2] ISO Date Format
>
> By the way, you can also completely eliminate the dash (or slash, 
> etc.)
> delimiters:
>
> OCONV( "16507"   , "DYMD[4'',2'',2]" )  -->  "20130311"
> ICONV( "20130311", "DYMD[4'',2'',2]" )  -->  "16507"
>
> Notice that ICONV'ing the OCONV'd or OCONV'ing the ICONVd result gets 
> you bat to where you started.  That makes it particularly useful in 
> dict conversion fields.
>
>
> I learned that on this list, but I do not remember from whom. There 
> are too many people I've learned from.
>
> cds
>
>
> On 11 March 2013 13:56, Jeff Schasny  wrote:
>>> Has anyone come up with an OCONV string that will product an ISO 
>>> standard date (-MM-DD)? After a vendor insisted on this last 
>>> week I ended up creating a subroutine called by an I descriptor but 
>>> it seems like there should be an easier way. A quick trip through 
>>> the Universe Basic manual, my old Prime Info-Basic manual, and Pick
>>> Basic: A programmer's guide didn't shed any light.
>

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


Re: [U2] ISO Date Format

2013-03-11 Thread Charles Stevenson

Bob,

I'm curious,on UD6.1 does this work, using 2 conversion codes with a 
value mark between? :


  OCONV( "16507",  "D-YMD[2,2,]": @VM: "MCN" )  --> "120311"

cds



On 3/11/2013 12:16 PM, Woodward, Bob wrote:

I guess you need to be on a more current version of UD than 6.1 for this
to work.  DYMD[4,2,2] works just fine but everything I've tried is
proving that in this version, anyway, there MUST be a delimiter between
the parts of the date.  It does not matter what delimiter as I've tried
space, period, slash, even a comma but for both ICONV and OCONV adding a
quote of any type, null/space/dash/etc, to the numeric only gives
undesired results.

I have to strip out the delimiter in OCONV results and make sure some
kind of delimiter is there for ICONV to get me back to the internal date
value.

An interesting note is using the OCONV(IDATE,'D-YMD[2,2,2]') format, the
dash can be replaced with the digits 5 to 9 but using the digits 0 to 4
result in an output delimited with a space.  Would have been acceptable
(and nice) to have been able to get 13003011 but oh well.  I guess I
could use 'D5YMD[2,2,2]' to give me the value 13503511 just as well.

Fun with dates!

BobW

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Charles
Stevenson
Sent: Monday, March 11, 2013 8:08 AM
To: U2 Users List
Subject: Re: [U2] ISO Date Format

By the way, you can also completely eliminate the dash (or slash, etc.)
delimiters:

OCONV( "16507"   , "DYMD[4'',2'',2]" )  -->  "20130311"
ICONV( "20130311", "DYMD[4'',2'',2]" )  -->  "16507"

Notice that ICONV'ing the OCONV'd or OCONV'ing the ICONVd result gets
you bat to where you started.  That makes it particularly useful in dict
conversion fields.


I learned that on this list, but I do not remember from whom. There are
too many people I've learned from.

cds


On 11 March 2013 13:56, Jeff Schasny  wrote:

Has anyone come up with an OCONV string that will product an ISO
standard date (-MM-DD)? After a vendor insisted on this last week
I ended up creating a subroutine called by an I descriptor but it
seems like there should be an easier way. A quick trip through the
Universe Basic manual, my old Prime Info-Basic manual, and Pick
Basic: A programmer's guide didn't shed any light.




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


Re: [U2] ISO Date Format

2013-03-11 Thread Woodward, Bob
I guess you need to be on a more current version of UD than 6.1 for this
to work.  DYMD[4,2,2] works just fine but everything I've tried is
proving that in this version, anyway, there MUST be a delimiter between
the parts of the date.  It does not matter what delimiter as I've tried
space, period, slash, even a comma but for both ICONV and OCONV adding a
quote of any type, null/space/dash/etc, to the numeric only gives
undesired results.

I have to strip out the delimiter in OCONV results and make sure some
kind of delimiter is there for ICONV to get me back to the internal date
value.

An interesting note is using the OCONV(IDATE,'D-YMD[2,2,2]') format, the
dash can be replaced with the digits 5 to 9 but using the digits 0 to 4
result in an output delimited with a space.  Would have been acceptable
(and nice) to have been able to get 13003011 but oh well.  I guess I
could use 'D5YMD[2,2,2]' to give me the value 13503511 just as well.

Fun with dates!

BobW

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Charles
Stevenson
Sent: Monday, March 11, 2013 8:08 AM
To: U2 Users List
Subject: Re: [U2] ISO Date Format

By the way, you can also completely eliminate the dash (or slash, etc.)
delimiters:

OCONV( "16507"   , "DYMD[4'',2'',2]" )  -->  "20130311"
ICONV( "20130311", "DYMD[4'',2'',2]" )  -->  "16507"

Notice that ICONV'ing the OCONV'd or OCONV'ing the ICONVd result gets
you bat to where you started.  That makes it particularly useful in dict
conversion fields.


I learned that on this list, but I do not remember from whom. There are
too many people I've learned from.

cds


On 11 March 2013 13:56, Jeff Schasny  wrote:
>> Has anyone come up with an OCONV string that will product an ISO 
>> standard date (-MM-DD)? After a vendor insisted on this last week

>> I ended up creating a subroutine called by an I descriptor but it 
>> seems like there should be an easier way. A quick trip through the 
>> Universe Basic manual, my old Prime Info-Basic manual, and Pick
>> Basic: A programmer's guide didn't shed any light.

___
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] ISO Date Format

2013-03-11 Thread David A. Green
In UniData you can just use D-YMD.

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 Jeff Schasny
Sent: Monday, March 11, 2013 6:57 AM
To: U2-Users@listserver.u2ug.org
Subject: [U2] ISO Date Format

Has anyone come up with an OCONV string that will product an ISO standard
date (-MM-DD)? After a vendor insisted on this last week I ended up
creating a subroutine called by an I descriptor but it seems like there
should be an easier way. A quick trip through the Universe Basic manual, my
old Prime Info-Basic manual, and Pick Basic: A programmer's guide didn't
shed any light.
--

Jeff Schasny - Denver, Co, USA
jschasny at gmail dot com

___
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] ISO Date Format

2013-03-11 Thread Tony Gravagno
It's things like this that make me wish more MV platforms had
user-defined processor codes. U2 excels in the versatility here. I
can't use wonderful codes like this because most of my code needs to
work across platforms.  Wah.  :'(

T

> From: Charles Stevenson 
> OCONV( "16507"   , "DYMD[4'',2'',2]" )  -->  "20130311"
> ICONV( "20130311", "DYMD[4'',2'',2]" )  -->  "16507"

>From Brian and Robert:
> D-YMD[4,2,2]

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


Re: [U2] ISO Date Format

2013-03-11 Thread Jeff Schasny

I knew it had to be possible. Thanks

Brian Leach wrote:

D-YMD[4,2,2]

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Jeff Schasny
Sent: 11 March 2013 13:57
To: U2-Users@listserver.u2ug.org
Subject: [U2] ISO Date Format

Has anyone come up with an OCONV string that will product an ISO standard
date (-MM-DD)? After a vendor insisted on this last week I ended up
creating a subroutine called by an I descriptor but it seems like there
should be an easier way. A quick trip through the Universe Basic manual, my
old Prime Info-Basic manual, and Pick Basic: A programmer's guide didn't
shed any light.
--

Jeff Schasny - Denver, Co, USA
jschasny at gmail dot com

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

  


--

Jeff Schasny - Denver, Co, USA
jschasny at gmail dot com

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


Re: [U2] ISO Date Format

2013-03-11 Thread Charles Stevenson
By the way, you can also completely eliminate the dash (or slash, etc.) 
delimiters:


OCONV( "16507"   , "DYMD[4'',2'',2]" )  -->  "20130311"
ICONV( "20130311", "DYMD[4'',2'',2]" )  -->  "16507"

Notice that ICONV'ing the OCONV'd or OCONV'ing the ICONVd result gets 
you bat to where you started.  That makes it particularly useful in dict 
conversion fields.



I learned that on this list, but I do not remember from whom. There are 
too many people I've learned from.


cds


On 11 March 2013 13:56, Jeff Schasny  wrote:
Has anyone come up with an OCONV string that will product an ISO 
standard date (-MM-DD)? After a vendor insisted on this last week 
I ended up creating a subroutine called by an I descriptor but it 
seems like there should be an easier way. A quick trip through the 
Universe Basic manual, my old Prime Info-Basic manual, and Pick 
Basic: A programmer's guide didn't shed any light.


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


Re: [U2] ISO Date Format

2013-03-11 Thread Robert Harris
Blasted Google Mail, sent a blank reply in error..

Beaten to the punch by Brian, was going to post;

OCONV(INPDATE, "D4-YMD[4,2,2]")


Rob Harris
Senior Software Engineer
Group IT Engineering, the OMEN
Tel : 01604 502666
Please consider your environmental responsibilities before printing this
email



On 11 March 2013 14:09, Robert Harris wrote:

> Rob Harris
> Senior Software Engineer
> Group IT Engineering, the OMEN
> Tel : 01604 502666
> Please consider your environmental responsibilities before printing this
> email
>
>
>
> On 11 March 2013 13:56, Jeff Schasny  wrote:
>
> > Has anyone come up with an OCONV string that will product an ISO standard
> > date (-MM-DD)? After a vendor insisted on this last week I ended up
> > creating a subroutine called by an I descriptor but it seems like there
> > should be an easier way. A quick trip through the Universe Basic manual,
> my
> > old Prime Info-Basic manual, and Pick Basic: A programmer's guide didn't
> > shed any light.
> > --
> > --**--**
> > 
> > Jeff Schasny - Denver, Co, USA
> > jschasny at gmail dot com
> > --**--**
> > 
> > __**_
> > U2-Users mailing list
> > U2-Users@listserver.u2ug.org
> > http://listserver.u2ug.org/**mailman/listinfo/u2-users<
> http://listserver.u2ug.org/mailman/listinfo/u2-users>
> >
> >
> > This e-mail and any attachments are confidential and intended solely for
> > the use of the addressee only. If you have received this message in
> error,
> > you must not copy, distribute or disclose the contents; please notify the
> > sender immediately and delete the message.
> >
> > This message is attributed to the sender and may not necessarily reflect
> > the view of Travis Perkins plc or its subsidiaries (Travis Perkins).
> > Agreements binding Travis Perkins may not be concluded by means of e-mail
> > communication.
> >
> > E-mail transmissions are not secure and Travis Perkins accepts no
> > responsibility for changes made to this message after it was sent. Whilst
> > steps have been taken to ensure that this message is virus free, Travis
> > Perkins accepts no liability for infection and recommends that you scan
> > this e-mail and any attachments.
> >
> > Part of Travis Perkins plc. Registered Office: Lodge Way House, Lodge
> Way,
> > Harlestone Road, Northampton, NN5 7UG.
> >
> >
> >
>
> --
>
>
> This e-mail and any attachments are confidential and intended solely for
> the use of the addressee only. If you have received this message in error,
> you must not copy, distribute or disclose the contents; please notify the
> sender immediately and delete the message.
>
> ** **
>
> This message is attributed to the sender and may not necessarily reflect
> the view of Travis Perkins plc or its subsidiaries (Travis Perkins).
> Agreements binding Travis Perkins may not be concluded by means of e-mail
> communication.
>
> ** **
>
> E-mail transmissions are not secure and Travis Perkins accepts no
> responsibility for changes made to this message after it was sent. Whilst
> steps have been taken to ensure that this message is virus free, Travis
> Perkins accepts no liability for infection and recommends that you scan
> this e-mail and any attachments.
>
> ** **
>
> Part of Travis Perkins plc. Registered Office: Lodge Way House, Lodge Way,
> Harlestone Road, Northampton, NN5 7UG.
> ___
> U2-Users mailing list
> U2-Users@listserver.u2ug.org
> http://listserver.u2ug.org/mailman/listinfo/u2-users
>
>
> This e-mail and any attachments are confidential and intended solely for
> the use of the addressee only. If you have received this message in error,
> you must not copy, distribute or disclose the contents; please notify the
> sender immediately and delete the message.
>
> This message is attributed to the sender and may not necessarily reflect
> the view of Travis Perkins plc or its subsidiaries (Travis Perkins).
> Agreements binding Travis Perkins may not be concluded by means of e-mail
> communication.
>
> E-mail transmissions are not secure and Travis Perkins accepts no
> responsibility for changes made to this message after it was sent. Whilst
> steps have been taken to ensure that this message is virus free, Travis
> Perkins accepts no liability for infection and recommends that you scan
> this e-mail and any attachments.
>
> Part of Travis Perkins plc. Registered Office: Lodge Way House, Lodge Way,
> Harlestone Road, Northampton, NN5 7UG.
>
>
>

-- 


This e-mail and any attachments are confidential and intended solely for 
the use of the addressee only. If you have received this message in error, 
you must not copy, distribute or disclose the contents; please notify the 
sender immediately and delete the message.

** **

This message is attributed to the sender and may not necessarily reflect 
th

Re: [U2] ISO Date Format

2013-03-11 Thread Robert Harris
Rob Harris
Senior Software Engineer
Group IT Engineering, the OMEN
Tel : 01604 502666
Please consider your environmental responsibilities before printing this
email



On 11 March 2013 13:56, Jeff Schasny  wrote:

> Has anyone come up with an OCONV string that will product an ISO standard
> date (-MM-DD)? After a vendor insisted on this last week I ended up
> creating a subroutine called by an I descriptor but it seems like there
> should be an easier way. A quick trip through the Universe Basic manual, my
> old Prime Info-Basic manual, and Pick Basic: A programmer's guide didn't
> shed any light.
> --
> --**--**
> 
> Jeff Schasny - Denver, Co, USA
> jschasny at gmail dot com
> --**--**
> 
> __**_
> U2-Users mailing list
> U2-Users@listserver.u2ug.org
> http://listserver.u2ug.org/**mailman/listinfo/u2-users
>
>
> This e-mail and any attachments are confidential and intended solely for
> the use of the addressee only. If you have received this message in error,
> you must not copy, distribute or disclose the contents; please notify the
> sender immediately and delete the message.
>
> This message is attributed to the sender and may not necessarily reflect
> the view of Travis Perkins plc or its subsidiaries (Travis Perkins).
> Agreements binding Travis Perkins may not be concluded by means of e-mail
> communication.
>
> E-mail transmissions are not secure and Travis Perkins accepts no
> responsibility for changes made to this message after it was sent. Whilst
> steps have been taken to ensure that this message is virus free, Travis
> Perkins accepts no liability for infection and recommends that you scan
> this e-mail and any attachments.
>
> Part of Travis Perkins plc. Registered Office: Lodge Way House, Lodge Way,
> Harlestone Road, Northampton, NN5 7UG.
>
>
>

-- 


This e-mail and any attachments are confidential and intended solely for 
the use of the addressee only. If you have received this message in error, 
you must not copy, distribute or disclose the contents; please notify the 
sender immediately and delete the message.

** **

This message is attributed to the sender and may not necessarily reflect 
the view of Travis Perkins plc or its subsidiaries (Travis Perkins). 
Agreements binding Travis Perkins may not be concluded by means of e-mail 
communication.

** **

E-mail transmissions are not secure and Travis Perkins accepts no 
responsibility for changes made to this message after it was sent. Whilst 
steps have been taken to ensure that this message is virus free, Travis 
Perkins accepts no liability for infection and recommends that you scan 
this e-mail and any attachments.

** **

Part of Travis Perkins plc. Registered Office: Lodge Way House, Lodge Way, 
Harlestone Road, Northampton, NN5 7UG.
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] ISO Date Format

2013-03-11 Thread Brian Leach
D-YMD[4,2,2]

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Jeff Schasny
Sent: 11 March 2013 13:57
To: U2-Users@listserver.u2ug.org
Subject: [U2] ISO Date Format

Has anyone come up with an OCONV string that will product an ISO standard
date (-MM-DD)? After a vendor insisted on this last week I ended up
creating a subroutine called by an I descriptor but it seems like there
should be an easier way. A quick trip through the Universe Basic manual, my
old Prime Info-Basic manual, and Pick Basic: A programmer's guide didn't
shed any light.
--

Jeff Schasny - Denver, Co, USA
jschasny at gmail dot com

___
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] ISO Date Format

2013-03-11 Thread Jeff Schasny
Has anyone come up with an OCONV string that will product an ISO 
standard date (-MM-DD)? After a vendor insisted on this last week I 
ended up creating a subroutine called by an I descriptor but it seems 
like there should be an easier way. A quick trip through the Universe 
Basic manual, my old Prime Info-Basic manual, and Pick Basic: A 
programmer's guide didn't shed any light.

--

Jeff Schasny - Denver, Co, USA
jschasny at gmail dot com

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