|
|
MPE/iX Quick Reference Guide: HP 3000 MPE/iX Computer Systems > Chapter 3 Intrinsics DescriptionsDescriptions of the Intrinsics Available in MPE/iX |
|
Alphabetical listing of all Intrinsics available. NM and CM callable. Enables a program to abort a specified job or session from the system.
NM and CM callable. Activates a newly created process, or a process suspended with the SUSPEND intrinsic. Requires process handling (PH) capability.
NM and CM callable. Adjusts directory space in a USL file by moving the start of the information block forward (or backward) on a user subprogram library (USL) file, thereby increasing (or decreasing) the space available for the file directory block. The overall length of the file does not change. This intrinsic is intended for programmers writing compilers. A USL contains CM object code and is meaningful only in the CM program development process.
NM and CM callable. Returns the numeric date information for a date returned by the CALENDAR intrinsic. The returned information is year of century, month of year, day of month, and day of week.
NM and CM callable. Reduces the storage required by the extra data segment when moved into main memory and expands storage as required, allowing for a more efficient use of memory. Data segment management (DS) capability is required. Data segment management (DS) intrinsics are not recommended for use in the MPE/iX native mode programming environment; use of DS intrinsics degrade program performance.
NM and CM callable. Collectively enables all arithmetic traps (except the IEEE inexact result trap) or disables all arithmetic traps.
NM and CM callable. Converts a 16-bit binary number to a specified base and represents it as a numeric ASCII string.
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.
NM and CM callable. Converts a numeric (octal or decimal) ASCII string to a 16-bit twos complement binary value.
NM and CM callable. Returns the calendar date, including the day of year and the year of century.
NM and CM callable. Closes an application message catalog that was opened with CATOPEN.
NM and CM callable. Opens an application message catalog that was formatted with the GENCAT utility. CATOPEN returns a value that identifies the catalog and is used by CATREAD and CATCLOSE.
NM and CM callable. Provides access to messages in an application message facility formatted by the GENCAT utility. The CATOPEN intrinsic opens the message catalog.
NM and CM callable. Interrupts the program (the entire process structure). The CAUSEBREAK intrinsic is the programmatic equivalent to pressing Break in a session. It is not applicable in jobs. The program is suspended while in break mode. Execution of the program resumes where the interruption occurred if you enter the RESUME command, or aborts if you enter the ABORT command.
NM and CM callable. Deletes all inactive entries from currently managed USL files and returns the file number of the new USL file. Therefore, you must test the condition code immediately upon return from the intrinsic. Unpredictable results occur if an error number is used as a file number. A USL contains CM object code and is meaningful in the CM program development process only.
NM and CM callable. Returns the time (hours, minutes, seconds, and tenths of seconds) according to the system timer.
NM and CM callable. Closes access to the user logging facility. User logging (LG) or system supervisor (OP) capabilities are required.
NM and CM callable. Executes an MPE/iX command programmatically.
NM and CM callable. Creates a process as a child of the calling process. Process handling (PH) capability is required.
NM and CM callable. Creates a process and allows you to assign $STDIN and $STDLIST to any file. Process handling (PH) capability is required.
createstatus is a 32-bit signed integer by reference in Native Mode (NM), and a 16-bit signed integer by reference for Compatibility Mode (CM). NM and CM callable. Converts a string of characters between EBCDIC and ASCII, or between EBCDIK (HP-specific version of EBCDIC) and KANA8 (8-bit, Japanese International Standard (JIS) version of USASCII code).
NM and CM callable. Converts a 32-bit binary number to a specified base and represents it as a numeric ASCII string.
NM and CM callable. Returns the current date and time, including the day of week, month, day, year, hours, and minutes.
NM and CM callable. Converts a numeric ASCII string to a 32-bit binary value. The numeric ASCII string can be octal, hexadecimal, or decimal.
NM and CM callable. Invokes the debug facility from an interactive program and allows object code to be analyzed. Consult the MPE/iX System Debug Reference Manual (32650-90013) before attempting to use the debug facility.
NM and CM callable. Causes the area between DL and DB in the compatibility mode (CM) stack to be expanded or contracted within the CM stack segment.
NM and CM callable. Copies data from an extra data segment into a data area. Data segment management (DS) capability is required. Data segment management (DS) intrinsics are not recommended for use in the NM programming environment; use of DS intrinsics in NM degrades an NM program's performance.
NM and CM callable. Copies data from the data area to an extra data segment. Data segment management (DS) capability is required. Data segment management (DS) intrinsics are not recommended for use in the NM programming environment; use of DS intrinsics in NM degrades the NM program's performance.
NM and CM callable. Posts a record to the logging file marking the end of a logical transaction. When the record is posted, ENDLOG flushes the user logging memory buffer to ensure that the record gets to the logging file. User logging (LG) or system supervisor (OP) capability is required.
NM and CM callable. Changes length of a USL file by creating a USL file with the increment length longer or shorter than the USL file specified by uslfnum. The old USL file is copied to the new file with the same file name; the old USL file is then deleted. A USL contains CM object code and is meaningful only in the CM program development process.
NM and CM callable. Returns the process identification number (PIN) of the parent calling process. Process handling (PH) capability is required.
NM and CM callable. Returns specific details about error conditions that occurred when a file system intrinsic returns a condition code indicating an I/O error. FCHECK applies to files on any device.
NM and CM callable. Terminates access to a file on any device by closing the reference file descriptor. If the file is not being accessed by another process, resources associated with the open file description are released.
NM and CM callable. Performs various control operations on a file or on the device where the file resides, including:
NM and CM callable. Deactivates a specified logical record in an RIO file.
NM and CM callable. Provides control operations to a printer, terminal, or a spooled device file and is used to:
NM and CM callable. Returns a message corresponding to an FCHECK error number and enables error messages to be displayed from a program.
NM and CM callable. Returns information about a file.
Up to five itemnum/item pairs can be specified. NM and CM callable. Positions the record pointer at the beginning of the first record matching the key value comparison. For KSAM files only.
NM and CM callable. Positions the logical record pointer to the relative record number according to the key sequence. For KSAM files only.
NM and CM callable. Returns access and status information about a file. FGETINFO is provided for compatibility with MPE V/E-based systems only. It is recommended that FFILEINFO be used to access data.
NM and CM callable. Requests access and status information about a KSAM file. For KSAM files only.
NM and CM callable. Searches the job control word table for a specified job control word (JCW) and returns its value.
NM and CM callable. Causes the return from your interrupt procedure.
NM and CM callable. Enables/disables all software interrupts against the calling process.
NM and CM callable. Returns information from the file label of a disk file.
NM and CM callable. Dynamically locks a file. If dynamically locking more than one RIN, multiple RIN (MR) capability is required.
NM and CM callable. Flushes the contents of the user logging memory buffer to the user logging file. User logging (LG) or system supervisor (OP) capability is required.
NM and CM callable. Passes any calendar date, in the same format as the CALENDAR intrinsic, and returns it in the following format: FRI, JAN 27, 1989
NM and CM callable. Passes the time of day, in the same format as the CLOCK intrinsic, and returns it in the following format:
NM and CM callable. Passes in the calendar date and time of day, in the same format as the CALENDAR and CLOCK intrinsics, and returns it in the following format:
NM and CM callable. Establishes access to a file and defines the physical characteristics of the file prior to access.
NM and CM callable. Parses and validates MPE (only) file designators.
NM and CM callable. Sets the logical record pointer for a disk file containing fixed-length or undefined-length records to any logical record. When the next FREAD or FWRITE file request is made, this record is read or written to. (KSAM) Sets both the chronological and logical record pointers to the next record in chronological sequence (the order records were written to the file).
NM and CM callable. Reads a logical record or portion of a record from a file to the stack.
NM and CM callable. Reads a logical record backward from the current record pointer. Data is presented as if read forward. Used for tape files only. Can recover tape errors when handling I/O management and data recovery routines.
NM and CM callable. Reads a logical record randomly from a KSAM file to the data stack. For KSAM file only.
NM and CM callable. Reads a logical record in chronological sequence from a KSAM file to the data stack. For KSAM files only.
NM and CM callable. Reads a specific logical record or portion of a record from a direct-access disk file to the data stack.
NM and CM callable. Reads a user-defined label from a disk or magnetic tape file.
NM and CM callable. Moves a record from a disk file to a buffer in anticipation of a FREADDIR intrinsic call.
NM and CM callable. Releases an extra data segment assigned it by the GETDSEG intrinsic. Data segment management (DS) capability is required. Data segment management (DS) intrinsics are not recommended for use in the MPE/iX native mode programming environment. Use of DS intrinsics in NM will degrade your program's performance.
NM and CM callable. Frees all local resource identification numbers (RINs) from allocation to a job/session.
NM and CM callable. Determines whether a file pair (on any device) is interactive, duplicative, or both interactive and duplicative.
NM and CM callable. Marks the current record in a KSAM file for deletion. For KSAM files only.
NM and CM callable. Renames an open disk file (and its lockword, if applicable). The file being renamed must be either:
NM and CM callable. Controls the following access modes of files or devices:
NM and CM callable. Moves a record pointer forward or backward on a magnetic tape or disk file, spaces physical records on magnetic tape files and logical records on disk files.
NM and CM callable. Dynamically unlocks a file's global resource identification number (RIN) that was locked with the FLOCK intrinsic.
NM and CM callable. Updates (writes) a logical record in a disk file.
NM and CM callable. Writes a logical or physical record or portion of a record from the stack to a file on any device.
NM and CM callable. Writes a specific logical record from the stack to a disk file.
NM and CM callable. Writes a user-defined label onto a disk file or magnetic tape file that is labeled with an ANSI-standard or IBM-standard label. It also overwrites old user labels.
NM and CM callable. Provides access to messages in catalogs that were formatted with the MAKECAT utility.
NM and CM callable. Creates or acquires an extra data segment for use by the process. Data segment management (DS) capability is required. Data segment management (DS) intrinsics are not recommended for use in the MPE/iX native mode programming environment. Use of DS intrinsics in NM degrades your program's performance.
NM and CM callable. Returns user-supplied information that was passed to a process when it was created.
NM and CM callable. Returns the value of the system-defined job control word (JCW) to the calling process.
NM and CM callable. Acquires local resource identification numbers (RINs) for a job/session.
NM and CM callable. Returns the source of the activation call for the calling process that has been previously suspended and subsequently reactivated. The source of the activation request can be the parent process, a child process, or another source (for example, an interrupt or the timer). Process handling (PH) capability is required.
NM and CM callable. Changes the priority of a process. Process handling (PH) capability is required.
NM and CM callable. Dynamically enters privileged mode. Privileged mode (PM) capability is required. The normal checks and limitations that apply to the standard users in MPE/iX are bypassed in privileged mode (PM). It is possible for a PM program to destroy file integrity, including the MPE/iX operating system software itself. Hewlett-Packard will investigate and attempt to resolve problems resulting from the use of PM code. This service, which is not provided under the standard service contract, is available on a time and materials billing basis. Hewlett-Packard will not support, correct, or attend to any modification of the MPE operating system software.
NM and CM callable. Returns the process identification number (PIN) of a child process. Process handling (PH) capability is required.
NM and CM callable. Returns status information about the parent or a child process. Process handling (PH) capability is required.
CM callable only. Returns the current VUF (version, update, fix level) of KSAM/3000.
Lists security information from the access control definition (ACD) of a specified file or device. Any user with RACD access to an ACD can obtain information about that ACD. Manipulates security information in the access control definition (ACD) of a specified file or device. NM callable only. Executes a command programmatically.
NM callable only. Removes a valid variable name from the session-level variable table.
NM callable only. Retrieves a valid variable name from the session-level variable table and returns the current value and/or attributes.
Up to six itemnum/item pairs can be specified. NM callable only. Sets the value of a session-level variable.
Up to three itemnum/item pairs can be specified. NM callable only. Enters the system debugger and optionally executes a defined set of system debug commands.
NM callable only. Provides access to specified peripheral functionality without the device being opened. Allows access to device utilities; not for general control (for example, reading or writing). Nonshareable device (ND) capability is required.
NM callable only. Selectively enables or disables arithmetic traps.
NM callable only. Returns the current depth of the process error stack.
NM callable only. Obtains or displays error messages from the system catalog.
NM callable only. Reads any specified error from the process stack.
NM callable only. Creates duplicate file descriptors for files opened for MULTI, SHARED, or EXCLUSIVE access. NM callable only. Returns the file name of the first native mode executable library (XL) in the binding sequence of the calling process.
NM callable only. Establishes access to a file on any device and creates a file on any shareable device.
Up to 41 itemnum/item pairs can be specified. NM callable only. Converts data between binary floating-point formats.
NM callable only. Dynamically loads a native mode (NM) executable library procedure.
NM callable only. Obtains CM procedure plabel in preparation for Switch to CM through plabel.
CM callable only. Returns the plabel of an NM procedure.
NM callable only. Releases the MERGE/XL work area and ends the merging operation.
NM callable only. Accepts HP MERGE intrinsic error code values and returns the error messages associated with them.
NM callable only. Initializes the MERGE/XL subsystem.
NM callable only. Retrieves records, one at a time, from MERGE/XL.
NM callable only. Prints MERGE/XL statistics on $STDLIST.
NM callable only. Prints the version number and title information for MERGE/XL on $STDLIST.
NM callable only. Returns the file name of the native mode program or executable library (XL) that called the HPMYFILE intrinsic.
NM callable only. Returns the file name of the program being executed by the calling process.
NM callable only. Disarms the system debugger call from a process abort.
NM callable only. Sets the condition code for the calling process.
NM callable only. Arms the system debugger call from a process abort.
NM callable only. Releases the SORT/XL work area and ends the sorting operation.
NM callable only. Retrieves an error message if a fatal error occurs in SORT/XL.
NM callable only. Initializes the SORT/XL subsystem.
NM callable only. Passes records, one at a time, to SORT/XL.
NM callable only. Retrieves records, one at a time, from SORT/XL program.
NM callable only. Prints the SORT/XL statistics on $STDLIST.
NM callable only. Prints the version number and title information for SORT/XL on $STDLIST and prints the date and time produced by the DATELINE intrinsic.
NM callable only. Makes native mode (NM) to compatibility mode (CM) mixed-mode procedure calls possible.
CM callable only. Allows CM user programs, user libraries, and system code to invoke NM procedures as follows:
CM callable only. Allows CM user programs, user libraries, and system code to invoke NM procedures as follows:
NM callable only. Unloads a target CM procedure whose plabel is obtained through the HPLOADCMPROCEDURE intrinsic.
NM and CM callable. Initializes a USL file to the empty state. A USL contains CM object code and is meaningful only in the CM program development process.
NM and CM callable. Initiates completion operations for an I/O request.
NM and CM callable. Initiates completion operations for an I/O request.
NM and CM callable. Provides access to job and session information.
Up to five itemnum/item/itemerror triples can be specified. NM and CM callable. Deletes a child process of the calling process and all of its descendants. Process handling (PH) capability is required.
NM and CM callable. Dynamically loads a compatibility mode (CM) segmented library (SL) procedure and any external procedures it has referenced.
NM and CM callable. Locks a global resource identification number (RIN). Multiple RIN (MR) capability is required to lock more than one global RIN simultaneously.
NM and CM callable. Locks a local resource identification number (RIN).
NM and CM callable. Determines process identification number (PIN) of the process that locked a local resource identification number (RIN).
NM and CM callable. Provides information about an opened user logging file (whole file set). User logging (LG) or system supervisor (OP) capability is required.
Up to four itemnum/item pairs can be specified. NM and CM callable. Provides information about a currently opened user logging file. User logging (LG) or system supervisor (OP) capability is required.
NM and CM callable. Determines the status of the mailbox used by its parent or child. Process handling (PH) capability is required.
NM and CM callable. Restores the data stack to its original state and ends the merging operation.
NM and CM callable. Retrieves a message if a fatal error occurs during the MERGE/XL operation and converts MERGEINIT error code values into ASCII strings.
NM and CM callable. Initializes the MERGE/XL subsystem and the merging of two or more sorted files.
NM and CM callable. Provides an alternative method of specifying how records are output from the MERGE program.
NM and CM callable. Prints the MERGE program statistics on $STDLIST.
NM and CM callable. Prints the version number and title of the merge segment on $STDLIST and prints the date and time produced by the DATELINE intrinsic.
NM and CM callable. Parses (delineates and defines) parameters for a user-defined command image.
NM and CM callable. Appends a language ID number to a file name that allows an application to designate which language-dependent file to use.
NM and CM callable. Collates two character strings according to the specified language collating sequence and determines a lexical ordering.
NM and CM callable. Converts the time format from a character string to numeric value; checks the input string using the formatting template returned by itemnum=3 of the NLINFO intrinsic, then converts the time to the general time format returned by the CLOCK intrinsic.
NM and CM callable. Converts the custom date format from a character string to a numeric value; checks the input string by using the formatting template returned by item 2 of the NLINFO intrinsic, then converts the date to the general date format as returned by the CALENDAR intrinsic.
NM and CM callable. Converts native language numbers with native decimal and thousands separators to an ASCII number with NATIVE-3000 decimal and thousands separators. Optionally, the decimal and thousands separators can be removed.
NM and CM callable. Searches string1 for string2, and returns an integer value indicating the offset in string1 where string2 was found.
NM and CM callable. Formats the date according to language-dependent templates. The formatting is done according to the template returned by itemnum= 1 of the NLINFO intrinsic.
NM and CM callable. Formats the time of day, in the specified language, obtained with the CLOCK intrinsic.
NM and CM callable. Formats the general date format returned by the CALENDAR intrinsic into the custom date format for a native language. A custom date is an abbreviated format such as 10/1/82 or 82.10.1. The formatting is done according to the template returned by itemnum= 2 of the NLINFO intrinsic.
NM and CM callable. Formats the date and time according to language-dependent templates returned by itemnums 1 and 3 of the NLINFO intrinsic.
NM and CM callable. Formats the supplied date according to the long calendar format. The formatting is done according to the template returned by NLINFO itemnum=30.
NM and CM callable. Converts a string containing an ASCII number (can include NATIVE-3000 decimal separator (.), thousands separator (,), and currency symbol/name ($)) to a language-specific format using the decimal separator, thousands separator, and currency symbol/name defined for the native language.
NM and CM callable. Returns a language ID number that characterizes the current user, data, or system. Hewlett-Packard subsystems and application programs use NLGETLANG for automatic configuration.
NM and CM callable. Returns language-dependent information. The type of information that can be obtained includes:
NM and CM callable. Judges whether a character is a 1 byte or 2 byte Asian character.
NM and CM callable. Compares two strings of different length (for use with KSAM generic key searching).
NM and CM callable. Returns the information needed for formatting and converting numbers. It combines several calls to NLINFO to simplify the use of native language formatting. By calling NLNUMSPEC once, and passing the obtained information to NLFMTNUM and NLCONVNUM, implicit calls to NLNUMSPEC from NLFMTNUM and NLCONVNUM are avoided and performance is improved.
NM and CM callable. Replaces all nondisplayable control characters in the string with the replacement character. Nondisplayable characters are those with attribute 3 (undefined graphic character) or 5 (control code), as returned by itemnum=12 of the NLINFO intrinsic.
NM and CM callable. Scans and moves character strings according to character attributes. This function is handled in a language-dependent manner.
NM and CM callable. Extracts movelength bytes from the instring to the outstring.
NM and CM callable. Converts a string of characters from phonetic order to screen order or from screen order to phonetic order.
NM and CM callable. Translates a string of characters from EBCDIC-to-ASCII or ASCII-to-EBCDIC using the appropriate native language table.
NM and CM callable. Provides access to the user logging facility. User logging (LG) or system supervisor (OP) capability is required.
NM and CM callable. Suspends the calling process for a specified number of seconds.
NM and CM callable. Prints character string on job/session listing device.
NM and CM callable. Prints a file or directory information display on the job/session list device.
NM and CM callable. Prints a character string on the system console.
NM and CM callable. Prints a character string on the system console and solicits a reply.
NM and CM callable. Provides access to process information.
Up to six itemnum/item pairs can be specified. NM and CM callable. Assigns the value of a particular job control word (JCW) in the job control word table.
NM and CM callable. Reads an ASCII string from $STDIN into an array.
NM and CM callable. Reads an ASCII string from $STDINX into an array.
NM and CM callable. Receives mail from another process. Process handling (PH) capability is required.
NM and CM callable. Reenables the subsystem break trap which allows a process to accept other subsystem break signals.
NM and CM callable. Disables the abort stack analysis facility. Only the current process is affected.
NM and CM callable. Searches a specially-formatted array for a specified entry or name.
NM and CM callable. Sends mail to another process. Process handling (PH) capability is required.
NM and CM callable. Arms a call to the system debugger from a process abort.
NM and CM callable. Closes the scratch file and restores the data stack to its original state.
NM and CM callable. Retrieves and prints a message if a fatal error occurs during the SORT program.
NM and CM callable. Initiates the SORT program.
NM and CM callable. Provides an alternative method of specifying how records are supplied to the SORT program.
NM and CM callable. Provides an alternative method of specifying how records are output from the SORT program.
NM and CM callable. Prints the SORT program statistics on $STDLIST. Call SORTSTAT after you have called the SORTEND intrinsic.
NM and CM callable. Prints the version number and title of the SORTLIB segment on $STDLIST.
NM and CM callable. Calls the system debugger to send a stack trace to $STDLIST or to the file specified in the formaldesig parameter. Control then returns to the calling procedure. (NM and CM)
(CM: SPL language only)
NM and CM callable. Initiates a session on the specified terminal. Programmatic sessions (PS) capability is required.
NM and CM callable. Suspends a process. Process handling (PH) capability is required.
CM callable only. Switches the DB register pointer. Privileged mode (PM) capability is required.
NM and CM callable. Releases all resources held by the process and its descendants are released. All remaining files, opened by the process and its descendants, are closed and assigned the same disposition they had when opened.
NM and CM callable. Dynamically unloads a compatibility mode (CM) segmented library (SL) procedure.
NM and CM callable. Unlocks a global resource identification number (RIN) that was locked with the LOCKGLORIN intrinsic.
NM and CM callable. Unlocks a local resource identification number (RIN) that was locked by the LOCKLOCRIN intrinsic.
NM and CM callable. Returns the access mode and attributes of the user calling the intrinsic.
NM and CM callable. Writes database and subsystem file records to the user logging file. User logging (LG) or system supervisor (OP) capability is required.
NM and CM callable. Arms or disarms the user-written arithmetic trap handling procedure.
NM and CM callable. Arms or disarms user-written subsystem break trap handling procedure.
NM and CM callable. Enables or disables a user-written software library trap handling procedure.
NM and CM callable. Enables or disables a user-written system trap handling procedure.
|
|