As ever, you use this
free code at your own risk.
Feel free to use the software on this site but please
honor the copyright.
The program, ASLDATER, is distributed as OCO (Object Code Only). It is used by many Abbydale Systemss LLC. programs
to return a date in printable format.
If no packed date is passed to the program it will use the current date and time.
ASLDATER rquires an area to be passed to it that is mapped by the ASLDATE mapping DSECT.
The ASLDATE DSECT maps as follows:
Name |
Offset |
Length |
Type |
Description |
ASLTICK |
0 |
16 |
4F |
A four fullword area that is used for the TIME macro. |
ASLTIME |
0 |
4 |
F |
The first fullword contains the binary time value. |
ASLSSOBP |
4 |
4 |
F |
SSOB Pointer save area. |
ASLDWORD |
8 |
8 |
D |
Double area used as a work area. |
ASLPDATE |
12 |
4 |
F |
Packed date to be converted. If 0 the current data is used.
The format of this field is '00YYJJJF' it is the Julian date format rather than Gregorian format. |
ASLSAVER |
16 |
4 |
F |
Used as a save area by ASLDATER. |
ASLSSOBW |
20 |
1 |
X |
Used for SSOB size. |
ASL2SIBW |
21 |
1 |
X |
Used for SSIB size. |
ASLPFLAG |
22 |
1 |
C |
Flag indicating that a parameter was passed. |
ASLTSKIP |
23 |
1 |
C |
Flag indicating that the time is to be processed. |
ASLLEAPF |
24 |
1 |
C |
Leap year indicator. |
ASLDNAME |
25 |
3 |
C |
The 3-character day name of the date. i.e Mon, Tue etc. |
ASLDAY |
28 |
4 |
C |
The date in nnTH format. |
ASLDD |
28 |
2 |
C |
The day of the month of the passed date. |
ASLDDSUF |
30 |
2 |
C |
Suffix of the day of the month of the passed date. i.e st, nd etc. |
ASLMM |
32 |
2 |
C |
Month number of the passed date. |
ASLMNAME |
34 |
9 |
C |
Month namer of the passed date. |
ASLYEAR |
43 |
4 |
C |
Year of the passed date. |
ASLCENT |
43 |
2 |
C |
Century of the passed date. |
ASLYY |
45 |
2 |
C |
Year numeric of the passed date. |
ASLJUL |
47 |
3 |
C |
Julian date of the passed date. |
ASLTTIME |
50 |
8 |
C |
Time in HHMMSSth format. |
ASLTHOUR |
50 |
2 |
C |
Hour value of the time. |
ASLTMINS |
52 |
2 |
C |
Minute value of the time. |
ASLTSECS |
54 |
2 |
C |
Seconds value of the time. |
ASLTTHS |
54 |
2 |
C |
Thousandths of seconds value of the time. |
ASLPAREA |
58 |
9 |
C |
Work area for Unpack used by ASLDATER. |
ASLDTEL |
Equated value |
Length of ASLDATE. |
The load library and documentation for ASLDATER are available from:
|
Link
|
Description
| |
|
ASLDATER Load Library
|
This link will take you to the load library for ASLDATER.
The program should be executable without any further install steps needing to be taken. |
|
|
| |
|
Program Documentation
|
This
link will take you to the program documentation for ASLDATER
| |
|
| |
This material
has been used successfully by Abbydale Systems LLC. and to the best
of our knowledge this material and any system(s) of which it is a
part are operational
as of the service level or date stated in the body of this material
(if so stated). However, NO warranty
is given or implied as to the accuracy of this material or any
related material or systems, and no responsibility
is assumed for any effect or modification directly or indirectly
caused by the use of this material.
It is the
responsibility of any user of this material to evaluate its
usefulness to the user's environment.
Abbydale Systems LLC. does not guarantee to keep this or any related
material current, nor does it guarantee to provide
any corrections or extensions described by any users of this
material or any corrections or extensions made in
the future by Abbydale Systems LLC. itself.
|
Click the PDF logo to download the ASLDATER PDF |