|
Jeff: In this context, I believe the term "separators" is best interpreted, "separators added to the contents of the data field for output." The "-" characters in an L data type field, today being '2006-07-07' are actually *part of* the data; visible using a utility such as DBU, for example. If that interpretation is adopted, the behavior of the CVTDAT command is quite logical. Darrell Darrell A. Martin - 754-2187 Manager, Computer Operations dmartin@xxxxxxxxxxxxx midrange-l-bounces@xxxxxxxxxxxx wrote on 07/07/2006 10:04:39 AM:
I tried it on a V5R4 system and got the same result as you. Changed
&ISO to
size 8 and then it bombed. Then I tried: CVTDAT DATE(&DATE) TOVAR(&ISO) TOFMT(*YYMD) + TOSEP(*NONE) And got '20060707' which is what I assume you wanted. But it makes no sense to me to have the ability to say TOSEP(*NONE) if
it's
going to put separators in there anyway . . . -- Jeff Crosby
This e-mail, including attachments, may contain information that is confidential and/or proprietary, and may only be used by the person to whom this email is addressed. If the recipient of this e-mail is not the intended recipient or an authorized agent, the reader is hereby notified that any dissemination, distribution, or copying of this e-mail is prohibited. If this e-mail has been delivered to you in error, please notify the sender by replying to this message and deleting this e-mail immediately.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.