MPE/iX Quick Reference Guide (32650-90881)

Chapter 3 77
Intrinsics Descriptions
Descriptions of the Intrinsics Available in MPE/iX
intrinsics are not recommended for use in the MPE/iX native mode programming
environment; use of DS intrinsics degrade program performance.
U16V I16V I16
ALTDSEG(
index,increment,size
);
ARITRAP
NM and CM callable.
Collectively enables all arithmetic traps (except the IEEE inexact result trap) or disables
all arithmetic traps.
I*V
ARITRAP(
trapstate
);
ASCII
NM and CM callable.
Converts a 16-bit binary number to a specified base and represents it as a numeric ASCII
string.
I16 * I16V CA
numchar
:=ASCII(
binvalue,base,asciieqv
);
BEGINLOG
NM and CM callable.
Posts a special record to the user logging file to mark the beginning of a logical transaction.
When BEGINLOG is called, the logging memory buffer is flushed to ensure that the record
gets to the logging file. User logging (LG) or system supervisor (OP) capability is required.
I32 U16A I16 I16 I16
BEGINLOG(
index,data,length,mode,logstatus
)
BINARY
NM and CM callable.
Converts a numeric (octal or decimal) ASCII string to a 16-bit twos complement binary
value.
I16 CA I16V
bineqv
:=BINARY(
asciieqv,length
);
CALENDAR
NM and CM callable.
Returns the calendar date, including the day of year and the year since 1900.
U16
date
:=CALENDAR;