× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



No offence to Bob's method, but why use this:

YYMMDD = %Dec(%date(CCYYMMDD: *ISO0):*YMD);

when you could simply use an overlay:

D DateDS          DS
D   CCYYMMDD                     8A
D     YYMMDD                     6S 0 Overlay(CCYYMMDD:3)

Move your 8-character date into CCYYMMDD and voila - YYMMDD contains your
6-digit numeric date. In fact, you don't need *any* C-specs at all if you
have the YYMMDD overlay defined over the actual 8-character date.

Rory

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.