IBM OS/390 User Manual

Page of 673
The MVS TIME macro has an additional operand MIC,address that causes the
time of day to be returned in the eight-byte area specified by the address. The
time of day is in microseconds, with bit 51 equivalent to one microsecond.
Register 0 contains 0, and register 1 contains the date.
System
Operand
Register Content
VSE
STANDARD
H HM MS S
MVS
DEC
HH MM SS th
VSE
BINARY
seconds
MVS
BIN
hundredths of a second
VSE
TU
1/306 of a second units
MVS
TU
26 micro second units
H = hours
M = minutes
S = seconds
t = 0.1 seconds
h = 0.01 seconds
Figure 30. VSE and MVS Time Degrees of Precision
The MVS TIME macro returns the date and time into a work area when
LINKAGE=SYSTEM is specified. The date (Julian or Gregorian) and the time are
returned in packed decimal digits.
Example:
TIME
DEC,OUTAREA,DATETYPE=YYYYMMDD,LINKAGE=SYSTEM
. . . .
OUTAREA DS
0XL16
 HHMMSSHH DS
X
′12305919′
TIME OF DAY
DS
XL4
filler
 YYYYMMDD DS
X
′19980323′
DATE
DS
XL4
filler
PDUMP Macro
The VSE PDUMP macro provides a hexadecimal dump of the general registers
and of the main/virtual storage area contained between the two address
parameters. The output is automatically written on the device assigned to
SYSLST with 121-byte records.
The MVS SNAP macro provides you with the same dump facility. However, you
must supply the data set (via the DD statement) on which the output is written
and a DCB for the data set must be opened before the SNAP macro is used.
Chapter 13. A s s e m b l e r
279