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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

PROC Call<br />

A$EDAY4 p1<br />

A$EDAT4<br />

A$EDAY5 p1<br />

A$EDAT5<br />

A$ETIME p1<br />

A$ETD<br />

AEDIT$–ASCII Image Composition Editing Package<br />

Table 4–4. AEDIT$T: ASCII Time and Date Editing Routines<br />

Generated<br />

Instructions<br />

LA A0,p1<br />

LMJ X11,AEDAY4$<br />

ER TDATE$<br />

LMJ X11,AEDAY4$<br />

LA A0,p1<br />

LMJ X11,AEDAY5$<br />

ER TDATE$<br />

LMJ X11,AEDAY5$<br />

LA A0,p1<br />

LMJ X11,AETIME$<br />

ER TDATE$<br />

LMJ X11,AETIME$<br />

Description<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 of<br />

the month and day, respectively.<br />

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

yymmdd<br />

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

day, respectively.<br />

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

hh:mm:ss<br />

where hh, mm, and ss are the 2 digits of the hours, minutes, and<br />

seconds of the time, respectively.<br />

4.2.4. Standard Format Date and Time Editing Routines<br />

AEDIT$SFDT is a routine that creates an ASCII string using standard formats for date and<br />

time. The current date and time (or caller-specified date and time) are converted into an<br />

ASCII string and placed into the buffer that the calling program provides. This routine is<br />

used like the other AEDIT$ routines.<br />

There are eight system standard date formats and three system standard time formats:<br />

Date Formats Time Formats<br />

1. YYMMDD 1. HHMM<br />

2. CCYYMMDD 2. HHMM:SS<br />

3. YY-MM-DD 3. HHMM:SS.FFF<br />

4. CCYY-MM-DD<br />

5. YY mmm DD<br />

6. CCYY mmm DD<br />

7. YY mmm DD ddd<br />

8. CCYY mmm DD ddd<br />

7833 1733–004 4–19

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

Saved successfully!

Ooh no, something went wrong!