HPlogo   HP 3000 Computer Systems: MPE/iX Architected Interface Facility:
Operating System Reference Manual
> Chapter 3 Architected Interface Descriptions

3.64 AIFTIME

MPE documents

Complete PDF

 

Table of Contents

Index

 

⇓ Page Bottom

Syntax
Parameters
Operation Notes

⇑ Page Top

 

3.63 AIFSYSWIDEGET Item Descriptions

3.65 AIFWGADD

Converts ticks or microseconds to a meaningful time such as date time, clock time, or a string format.

Syntax


           REC             REC    REC        REC    REC   REC
 AIFTIME ( overall_status, ticks, microsecs, clock, date, date_str,

           REC      I32               REC
           user_id, ticks_since_1970, microsecs_since_1970 );
  

Parameters

overall_status

record by reference (required)

Returns the overall status of the call. A zero indicates a successful call. A negative value indicates an error in the overall call. A positive value indicates a warning. Refer to appendix A for meanings of status values.

Record type: status_type (Refer to appendix B.)

ticks

record by reference (optional)

Passes a value, representing the ticks since 1970, that is to be converted to a meaningful time. If neither ticks nor microsecs is passed, the current time is assumed.

Record type: longint_type (Refer to appendix B.)

microsecs

record by reference (optional)

Passes a value, representing the microseconds since 1970, that is to be converted to a meaningful time. If neither ticks nor microsecs is passed, the current time is assumed.

Record type: longint_type (Refer to appendix B.)

clock

record by reference (optional)

Returns the time in hours, minutes, seconds, and tenths of seconds.

Record type: clock_type (Refer to appendix B.)

date

record by reference (optional)

Returns the time in year, month, and day of month.

Record type: date_type (Refer to appendix B.)

date_str

record by reference (optional)

Returns the time in string format for month and day of the week. Record type: datestr_type (Refer to appendix B.)

user_id

32-bit signed integer by value (optional)

The user ID assigned to a vendor at the time of purchase of the Architected Interface Facility: Operating System product. If it is not passed, the caller must have previously called AIFACCESSON.

Default: 0

tics_since_1970

record by reference (optional)

Returns a value representing the current ticks since 1970.

Record type: longint_type (Refer to appendix B.)

microsecs_since_1970

record by reference (optional)

Returns a value representing the current microseconds since 1970.

Record type: longint_type (Refer to appendix B.)

Operation Notes

None.



3.63 AIFSYSWIDEGET Item Descriptions

3.65 AIFWGADD