18.08.2013 Views

(SYSLIB) Programming Reference Manual - Public Support Login ...

(SYSLIB) Programming Reference Manual - Public Support Login ...

(SYSLIB) Programming Reference Manual - Public Support Login ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

EDIT$–Fieldata Image Composition Editing Package<br />

8.3. EDIT$T–Time and Date Editing Routines<br />

Table 8–3 describes the time and date editing routines.<br />

Each of these routines accepts input in ER TDATE$ format (see the Exec ER<br />

<strong>Programming</strong> <strong>Reference</strong> <strong>Manual</strong>).<br />

Month day year (relative to<br />

1964)<br />

Table 8–3. Time and Date Editing Routines<br />

PROC Call Generated Instructions Description<br />

E$DAY1 p1 LA A0,p1<br />

LMJ X11,EDAY1$<br />

E$DAT1 ER TDATE$<br />

LMJ X11,EDAY1$<br />

E$DAY2 p1 LA A0,p1<br />

LMJ X11,EDAY2$<br />

E$DAT2 ER TDATE$<br />

LMJ X11,EDAY2$<br />

E$DAY3 p1 LA A0,p1<br />

LMJ X11,EDAY3$<br />

E$DAT3 ER TDATE$<br />

LMJ X11,EDAY3$<br />

E$DAY4 p1 LA A0,p1<br />

LMJ X11,EDAY4$<br />

E$DAT4 ER TDATE$<br />

LMJ X11,EDAY4$<br />

E$DAY5 p1 LA A0,p1<br />

LMJ X11,EDAY5$<br />

Edits a date (mm/dd/yy).<br />

number of seconds since midnight<br />

Edits the date portion of A0 into the format<br />

mm/dd/yy<br />

where mm, dd, yy are the 2 digits of the month, day, and year,<br />

respectively.<br />

Edits a date (dd mmm yy).<br />

Edits the date portion of A0 into the format<br />

dd mmm yy<br />

where dd and yy are the 2 digits of the day and year,<br />

respectively, and mmm is a 3-character abbreviation for the<br />

month.<br />

Edits a date (month dd, year).<br />

Edits the date portion of A0 into the format<br />

month dd, year<br />

where month is the name of the month (up to 9 characters),<br />

dd is the day (one or two characters), and year is the 4-digit<br />

year.<br />

Edits a date (yearmmdd).<br />

Edits the date portion of A0 into the format<br />

yearmmdd<br />

where year is the 4-digit year, and mm and dd are the 2 digits<br />

of the month and day, respectively.<br />

Edits a date (yymmdd).<br />

8–8 7833 1733–004

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!