W dniu 25.07.2020 o 00:34, Paul Gilmartin pisze:
On Fri, 24 Jul 2020 12:40:17 -0700, Sri h Kolusu wrote:
//SYSIN    DD *
  OPTION SKIPREC=1                                 $ SKIP HEADER
  INREC OVERLAY=(81:23,4,UFF,EDIT=(TTTT),          $ YEAR
                    20,3,CHANGE=(2,C'JAN',C'01',   $ MONTH TO NUM
                                   C'FEB',C'02',
                                   C'MAR',C'03',
    ...
If one has control over the input format, one can simplify coding
by requiring the *standard* ISO 8601 format for dates.
     https://xkcd.com/1179/

ISO 8601 also mitigates the burden of locale-sensitive coding.

Sometimes we have no power to demand standard coding for dates. In such cases DFSORT is good tool to solve it. In the past I created DFSORT procedure to sort days of week, polish names of course
Proper order is:
poniedziałek
wtorek
środa
czwartek
piątek
sobota
niedziela
(translation: monday, tuesday... sunday).

BTW: american way of coding dates is the proof nobody's perfect. mm/dd/yy? Who invented it???
It's even more messed up than baseball game!
;-)

--
Radoslaw Skorupka
Lodz, Poland





======================================================================

Jeśli nie jesteś adresatem tej wiadomości:

- powiadom nas o tym w mailu zwrotnym (dziękujemy!),
- usuń trwale tę wiadomość (i wszystkie kopie, które wydrukowałeś lub zapisałeś 
na dysku).
Wiadomość ta może zawierać chronione prawem informacje, które może wykorzystać 
tylko adresat.Przypominamy, że każdy, kto rozpowszechnia (kopiuje, rozprowadza) 
tę wiadomość lub podejmuje podobne działania, narusza prawo i może podlegać 
karze.

mBank S.A. z siedzibą w Warszawie, ul. Senatorska 18, 00-950 
Warszawa,www.mBank.pl, e-mail: kont...@mbank.pl. Sąd Rejonowy dla m. st. 
Warszawy XII Wydział Gospodarczy Krajowego Rejestru Sądowego, KRS 0000025237, 
NIP: 526-021-50-88. Kapitał zakładowy (opłacony w całości) według stanu na 
01.01.2020 r. wynosi 169.401.468 złotych.

If you are not the addressee of this message:

- let us know by replying to this e-mail (thank you!),
- delete this message permanently (including all the copies which you have 
printed out or saved).
This message may contain legally protected information, which may be used 
exclusively by the addressee.Please be reminded that anyone who disseminates 
(copies, distributes) this message or takes any similar action, violates the 
law and may be penalised.

mBank S.A. with its registered office in Warsaw, ul. Senatorska 18, 00-950 
Warszawa,www.mBank.pl, e-mail: kont...@mbank.pl. District Court for the Capital 
City of Warsaw, 12th Commercial Division of the National Court Register, KRS 
0000025237, NIP: 526-021-50-88. Fully paid-up share capital amounting to PLN 
169.401.468 as at 1 January 2020.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to