HP 3000 Manuals

Intrinsics Available (changed) [ Introduction to MPE XL for MPE V Programmers Migration Guide ] MPE/iX 5.0 Documentation


Introduction to MPE XL for MPE V Programmers Migration Guide

Intrinsics Available 
(changed) 

The following lists show changes to intrinsics on MPE XL.

Intrinsic Summary 

The following lists show:

 *  new MPE XL intrinsics, not available on MPE V/E.

 *  intrinsics that have changed from their MPE V/E versions.

 *  intrinsics whose implementions are unchanged, but whose functionality
    may have changed due to peripheral dependencies.

 *  intrinsics that are not supported on MPE XL NM.

New.  The following are new intrinsics on MPE XL. Unless otherwise
indicated, they are available in NM only.  A user with standard
capabilities can call all the intrinsics in this table.

          Table 3-3.  New Intrinsics and Their Use 

---------------------------------------------------------------------------------------------
|                         |                                                                 |
|     Intrinsic Name      |                           Use/Purpose                           |
|                         |                                                                 |
---------------------------------------------------------------------------------------------
|                         |                                                                 |
| HPCICOMMAND             | Executes an MPE XL command programmatically; refer to Chapter   |
|                         | 5, Using the Command Interpreter.                               |
|                         |                                                                 |
---------------------------------------------------------------------------------------------
|                         |                                                                 |
| HPCIDELETEVAR           | Removes an entry from the session-local variable table; refer   |
|                         | to Chapter 5, Using the Command Interpreter.                    |
|                         |                                                                 |
---------------------------------------------------------------------------------------------
|                         |                                                                 |
| HPCIGETVAR              | Retrieves a specified, session-local variable value; refer to   |
|                         | Chapter 5, Using the Command Interpreter.                       |
|                         |                                                                 |
---------------------------------------------------------------------------------------------
|                         |                                                                 |
| HPCIPUTVAR              | Sets the value of a session-local variable; refer to Chapter 5, |
|                         | Using the Command Interpreter.                                  |
|                         |                                                                 |
---------------------------------------------------------------------------------------------
|                         |                                                                 |
| HPDEBUG                 | Enters the system debugger and optionally executes a defined    |
|                         | set of system debug commands; refer to Chapter 13, Debugging    |
|                         | Applications.                                                   |
|                         |                                                                 |
---------------------------------------------------------------------------------------------
|                         |                                                                 |
| HPENBLTRAP              | Selectively enables or disables arithmetic traps; refer to      |
|                         | Chapter 12, Handling Traps.                                     |
|                         |                                                                 |
---------------------------------------------------------------------------------------------
|                         |                                                                 |
| HPFIRSTLIBRARY          | Returns the full name of the first library file in the binding  |
|                         | sequence; refer to Chapter 8, Managing Resources.               |
|                         |                                                                 |
---------------------------------------------------------------------------------------------
|                         |                                                                 |
| HPFOPEN                 | Opens a file; refer to Chapter 4, Accessing Files.              |
|                         |                                                                 |
---------------------------------------------------------------------------------------------
|                         |                                                                 |
| HPFPCONVERT             | Converts data between binary floating-point formats; refer to   |
|                         | Chapter 10, Converting Data Types.                              |
|                         |                                                                 |
---------------------------------------------------------------------------------------------
|                         |                                                                 |
| HPGETPROCPLABEL         | Locates a procedure and returns its procedure label; refer to   |
|                         | Chapter 8, Managing Resources.                                  |
|                         |                                                                 |
---------------------------------------------------------------------------------------------
|                         |                                                                 |
| HPLOADCMPROCEDURE       | Loads the target procedure of an NM--> CM switch and returns    |
|                         | the procedure's plabel; refer to Switch Programming Guide       |
|                         | (32650-90014).                                                  |
|                         |                                                                 |
---------------------------------------------------------------------------------------------
|                         |                                                                 |
| HPLOADNMPROC            | Returns the procedure label of a Native Mode procedure; refer   |
|                         | to Switch Programming Guide (32650-90014)                       |
|                         |                                                                 |
---------------------------------------------------------------------------------------------
|                         |                                                                 |
| HPMERGEEND              | Releases the HPMERGE program work area; refer to Chapter 11,    |
|                         | Sorting and Merging Data.                                       |
|                         |                                                                 |
---------------------------------------------------------------------------------------------
|                         |                                                                 |
| HPMERGEERRORMESS        | Retrieves and prints message if a fatal error occurs during the |
|                         | HPMERGE program; refer to Chapter 11, Sorting and Merging Data. |
|                         |                                                                 |
---------------------------------------------------------------------------------------------
|                         |                                                                 |
| HPMERGEINIT             | Initiates the HPMERGE program; refer to Chapter 11, Sorting and |
|                         | Merging Data.                                                   |
|                         |                                                                 |
---------------------------------------------------------------------------------------------
|                         |                                                                 |
| HPMERGEOUTPUT           | Retrieves records, one at a time, from the HPMERGE program;     |
|                         | refer to Chapter 11, Sorting and Merging Data.                  |
|                         |                                                                 |
---------------------------------------------------------------------------------------------

          Table 3-3.  New Intrinsics and Their Use(cont.) 

---------------------------------------------------------------------------------------------
|                         |                                                                 |
|     Intrinsic Name      |                           Use/Purpose                           |
|                         |                                                                 |
---------------------------------------------------------------------------------------------
|                         |                                                                 |
| HPMERGESTAT             | Prints the HPMERGE program statistics on $STDLIST; refer to     |
|                         | Chapter 11, Sorting and Merging Data.                           |
|                         |                                                                 |
---------------------------------------------------------------------------------------------
|                         |                                                                 |
| HPMERGETITLE            | Prints the version number and title of the HPMERGE subsystem on |
|                         | $STDLIST; refer to Chapter 11, Sorting and Merging Data.        |
|                         |                                                                 |
---------------------------------------------------------------------------------------------
|                         |                                                                 |
| HPMYFILE                | Returns the full name of the program or library file that       |
|                         | called it; refer to Chapter 8, Managing Resources.              |
|                         |                                                                 |
---------------------------------------------------------------------------------------------
|                         |                                                                 |
| HPMYPROGRAM             | Returns the full name of the program being executed by this     |
|                         | process; refer to Chapter 8, Managing Resources.                |
|                         |                                                                 |
---------------------------------------------------------------------------------------------
|                         |                                                                 |
| HPRESETDUMP             | Disarms the system debugger call in a process abort; only the   |
|                         | current process is affected; refer to Chapter 13, Debugging     |
|                         | Applications.                                                   |
|                         |                                                                 |
---------------------------------------------------------------------------------------------
|                         |                                                                 |
| HPSETCCODE              | Sets the condition code for the calling process; refer to       |
|                         | Switch Programming Guide (32650-90014).                         |
|                         |                                                                 |
---------------------------------------------------------------------------------------------
|                         |                                                                 |
| HPSETDUMP               | Arms the system debugger call for a process abort; the process  |
|                         | can be the current process or any of its children created after |
|                         | calling HPSETDUMP; refer to Chapter 13, Debugging Applications. |
|                         |                                                                 |
---------------------------------------------------------------------------------------------
|                         |                                                                 |
| HPSORTEND               | Closes the scratch file and releases the HPSORT work area;      |
|                         | refer to Chapter 11, Sorting and Merging Data.                  |
|                         |                                                                 |
---------------------------------------------------------------------------------------------
|                         |                                                                 |
| HPSORTERRORMESS         | Retrieves and prints message if a fatal error occurs during the |
|                         | HPSORT program; refer to Chapter 11, Sorting and Merging Data.  |
|                         |                                                                 |
---------------------------------------------------------------------------------------------
|                         |                                                                 |
| HPSORTINIT              | Initiates the HPSORT program; refer to Chapter 11, Sorting and  |
|                         | Merging Data.                                                   |
|                         |                                                                 |
---------------------------------------------------------------------------------------------
|                         |                                                                 |
| HPSORTINPUT             | Passes records, one at a time, to the HPSORT program; refer to  |
|                         | Chapter 11, Sorting and Merging Data.                           |
|                         |                                                                 |
---------------------------------------------------------------------------------------------
|                         |                                                                 |
| HPSORTOUTPUT            | Retrieves records, one at a time, from the HPSORT program;      |
|                         | refer to Chapter 11, Sorting and Merging Data.                  |
|                         |                                                                 |
---------------------------------------------------------------------------------------------
|                         |                                                                 |
| HPSORTSTAT              | Prints the HPSORT program statistics on $STDLIST; refer to      |
|                         | Chapter 11, Sorting and Merging Data.                           |
|                         |                                                                 |
---------------------------------------------------------------------------------------------
|                         |                                                                 |
| HPSORTTITLE             | Prints the version number and title of the HPSORTLIB segment on |
|                         | $STDLIST; refer to Chapter 11, Sorting and Merging Data.        |
|                         |                                                                 |
---------------------------------------------------------------------------------------------
|                         |                                                                 |
| HPSWITCHTOCM            | Makes possible NM-->CM mixed-mode procedure calls; refer to     |
|                         | Switch Programming Guide (32650-90014).                         |
|                         |                                                                 |
---------------------------------------------------------------------------------------------
|                         |                                                                 |
| HPSWTONMNAME            | Makes possible CM--> NM mixed-mode procedure calls by name;     |
|                         | refer to Switch Programming Guide (32650-90014).                |
|                         |                                                                 |
---------------------------------------------------------------------------------------------
|                         |                                                                 |
| HPSWTONMPLABEL          | Makes possible CM--> NM mixed-mode procedure calls by plabel;   |
|                         | refer to Switch Programming Guide (32650-90014).                |
|                         |                                                                 |
---------------------------------------------------------------------------------------------
|                         |                                                                 |
| HPUNLOADCMPROCEDURE     | Unloads the target procedure of an NM--> CM switch; refer to    |
|                         | Switch Programming Guide (32650-90014).                         |
|                         |                                                                 |
---------------------------------------------------------------------------------------------

Changed.  The following intrinsics have changed from their MPE V/E
versions.

          Table 3-4.  Intrinsics with Implementation Differences 

--------------------------------------------------------------------------------------------
|                              |                                                           |
|          Intrinsic           |                 Implementation Difference                 |
|                              |                                                           |
--------------------------------------------------------------------------------------------
|                              |                                                           |
| ARITRAP (NM)                 | Parameter differences; refer to Chapter 12, Handling      |
|                              | Traps.                                                    |
|                              |                                                           |
--------------------------------------------------------------------------------------------
|                              |                                                           |
| ARITRAP (CM)                 | Operational differences; refer to Chapter 12, Handling    |
|                              | Traps.                                                    |
|                              |                                                           |
--------------------------------------------------------------------------------------------
|                              |                                                           |
| CATREAD                      | Parameter differences; refer to Chapter 9, Managing       |
|                              | Message Catalogs.                                         |
|                              |                                                           |
--------------------------------------------------------------------------------------------
|                              |                                                           |
| COMMAND                      | Parameter differences; refer to Chapter 5, Using the      |
|                              | Command Interpreter.                                      |
|                              |                                                           |
--------------------------------------------------------------------------------------------
|                              |                                                           |
| CREATE                       | Parameter and operational differences; refer to Chapter   |
|                              | 7, Managing Processes.                                    |
|                              |                                                           |
--------------------------------------------------------------------------------------------
|                              |                                                           |
| CREATEPROCESS                | Parameter and operational differences; refer to Chapter   |
|                              | 7, Managing Processes.                                    |
|                              |                                                           |
--------------------------------------------------------------------------------------------
|                              |                                                           |
| DLSIZE (NM)                  | Operational differences; refer to Chapter 15, Changing    |
|                              | Stack Sizes.                                              |
|                              |                                                           |
--------------------------------------------------------------------------------------------
|                              |                                                           |
| FCLOSE                       | Parameter differences; refer to Chapter 4, Accessing      |
|                              | Files.                                                    |
|                              |                                                           |
--------------------------------------------------------------------------------------------
|                              |                                                           |
| FCONTROL                     | Parameter differences; refer to Chapter 4, Accessing      |
|                              | Files.                                                    |
|                              |                                                           |
--------------------------------------------------------------------------------------------
|                              |                                                           |
| FFILEINFO                    | Parameter differences; refer to Chapter 6, Getting System |
|                              | Information.                                              |
|                              |                                                           |
--------------------------------------------------------------------------------------------
|                              |                                                           |
| FGETINFO                     | Parameter differences; refer to Chapter 6, Getting System |
|                              | Information.                                              |
|                              |                                                           |
--------------------------------------------------------------------------------------------
|                              |                                                           |
| FLABELINFO                   | Parameter differences; refer to Chapter 6, Getting System |
|                              | Information.                                              |
|                              |                                                           |
--------------------------------------------------------------------------------------------
|                              |                                                           |
| FOPEN                        | Parameter differences; refer to Chapter 4, Accessing      |
|                              | Files.                                                    |
|                              |                                                           |
--------------------------------------------------------------------------------------------
|                              |                                                           |
| FSETMODE                     | Operational differences; refer to Chapter 4, Accessing    |
|                              | Files.                                                    |
|                              |                                                           |
--------------------------------------------------------------------------------------------
|                              |                                                           |
| GENMESSAGE                   | Parameter differences; refer to Chapter 9, Managing       |
|                              | Message Catalogs.                                         |
|                              |                                                           |
--------------------------------------------------------------------------------------------
|                              |                                                           |
| LOADPROC (NM)                | Operational differences; refer to Chapter 8, Managing     |
|                              | Resources.                                                |
|                              |                                                           |
--------------------------------------------------------------------------------------------
|                              |                                                           |
| MYCOMMAND (NM)               | Byte pointer differences; refer to Chapter 5, Using the   |
|                              | Command Interpreter.                                      |
|                              |                                                           |
--------------------------------------------------------------------------------------------
|                              |                                                           |
| SEARCH (NM)                  | Byte pointer differences; refer to Chapter 5, Using the   |
|                              | Command Interpreter.                                      |
|                              |                                                           |
--------------------------------------------------------------------------------------------
|                              |                                                           |
| SETDUMP (NM)                 | Parameter differences; refer to Chapter 13, Debugging     |
|                              | Applications.                                             |
|                              |                                                           |
--------------------------------------------------------------------------------------------
|                              |                                                           |
| STACKDUMP (NM and CM)        | Parameter and operational differences; refer to Chapter   |
|                              | 13, Debugging Applications.                               |
|                              |                                                           |
--------------------------------------------------------------------------------------------
|                              |                                                           |
| UNLOADPROC (NM)              | Operational differences; refer to Chapter 8, Managing     |
|                              | Resources.                                                |
|                              |                                                           |
--------------------------------------------------------------------------------------------
|                              |                                                           |
| XARITRAP (NM)                | Parameter and plabel differences; refer to Chapter 12,    |
|                              | Handling Traps.                                           |
|                              |                                                           |
--------------------------------------------------------------------------------------------

          Table 3-4.  Intrinsics with Implementation Differences(cont.) 

--------------------------------------------------------------------------------------------
|                              |                                                           |
|          Intrinsic           |                 Implementation Difference                 |
|                              |                                                           |
--------------------------------------------------------------------------------------------
|                              |                                                           |
| XARITRAP (CM)                | Operational differences; refer to Chapter 12, Handling    |
|                              | Traps.                                                    |
|                              |                                                           |
--------------------------------------------------------------------------------------------
|                              |                                                           |
| XCONTRAP (NM)                | Plabel differences; refer to Chapter 12, Handling Traps.  |
|                              |                                                           |
--------------------------------------------------------------------------------------------
|                              |                                                           |
| XLIBTRAP (NM)                | Plabel differences; refer to Chapter 12, Handling Traps.  |
|                              |                                                           |
--------------------------------------------------------------------------------------------
|                              |                                                           |
| XLIBTRAP (CM)                | Operational differences; refer to Chapter 12, Handling    |
|                              | Traps.                                                    |
|                              |                                                           |
--------------------------------------------------------------------------------------------
|                              |                                                           |
| XSYSTRAP (NM)                | Plabel differences; refer to Chapter 12, Handling Traps.  |
|                              |                                                           |
--------------------------------------------------------------------------------------------
|                              |                                                           |
| XSYSTRAP (CM)                | Operational differences; refer to Chapter 12, Handling    |
|                              | Traps.                                                    |
|                              |                                                           |
--------------------------------------------------------------------------------------------
|                              |                                                           |
| ZSIZE (NM)                   | Operational differences; refer to Chapter 15, Changing    |
|                              | Stack Sizes.                                              |
|                              |                                                           |
--------------------------------------------------------------------------------------------

Changed functionality.  The following are intrinsics whose
implementations are unchanged, but whose functionality may have changed
due to peripheral dependencies:

          Table 3-5.  Intrinsics with Peripheral Dependencies 

--------------------------------------------------------------------------------------------
|                              |                                                           |
|          Intrinsic           |                   Peripheral Dependency                   |
|                              |                                                           |
--------------------------------------------------------------------------------------------
|                              |                                                           |
| FREADBACKWARD                | Refer to Chapter 4, Accessing Files.                      |
|                              |                                                           |
--------------------------------------------------------------------------------------------
|                              |                                                           |
| FWRITE                       | Refer to Chapter 4, Accessing Files.                      |
|                              |                                                           |
--------------------------------------------------------------------------------------------

Not Supported.  FCARD, PTAPE, and SWITCHDB intrinsics are not supported
on MPE XL NM.



MPE/iX 5.0 Documentation