MPE V Intrinsics Reference Manual

MPE V Intrinsics Reference Manual

Table of Contents

 MPE V Intrinsics Reference Manual
   MPE V Intrinsics Reference Manual : COPYRIGHT NOTICE

   Ch 1.  Introduction to MPE Intrinsics
      Intrinsic Calls
          Calling Intrinsics From SPL
          Procedure Declarations
          Intrinsic Declarations
          Implementing Intrinsic Calls
          Calling Intrinsics From Languages Other Than SPL
      Intrinsic Call Errors
      Optional Capabilities
      MPE Intrinsics and Their Functions

   Ch 2.  Intrinsic Descriptions
      Intrinsic Name
      Syntax
      Functional Return
      Parameters
      Condition Codes
      Special Considerations
          Required Capability
          Split-Stack Operations
      Related Information
         ABORTSESS
         ACTIVATE
         ADJUSTUSLF
         ALTDSEG
         ARITRAP
         ASCII
         BEGINLOG
         BINARY
         CALENDAR
         CAUSEBREAK
         CLEANUSL
         CLOCK
         CLOSELOG
         COMMAND
         CREATE
         CREATEPROCESS
         CTRANSLATE
         DASCII
         DATELINE
         DBINARY
         DEBUG
         DLSIZE
         DMOVIN
         DMOVOUT
         DUMPPMAP
         ENDLOG
         EXPANDUSLF
         FATHER
         FCARD
         FCHECK
         FCLOSE
         FCONTROL
         FDELETE
         FDEVICECONTROL
         FERRMSG
         FFILEINFO
         FGETINFO
         FINDJCW
         FINDPMAPADDR
         FINDPMAPNAME
         FINTEXIT
         FINTSTATE
         FLABELINFO
         FLOCK
         FLUSHLOG
         FMTCALENDAR
         FMTCLOCK
         FMTDATE
         FOPEN
         FPARSE
         FPOINT
         FREAD
         FREADBACKWARD
         FREADDIR
         FREADLABEL
         FREADSEEK
         FREEDSEG
         FREELOCRIN
         FRELATE
         FRENAME
         FSETMODE
         FSPACE
         FUNLOCK
         FUPDATE
         FWRITE
         FWRITEDIR
         FWRITELABEL
         GENMESSAGE
         GETDSEG
         GETINFO
         GETJCW
         GETLOCRIN
         GETORIGIN
         GETPRIORITY
         GETPRIVMODE
         GETPROCID
         GETPROCINFO
         GETUSERMODE
         HPACDINFO
         HPACDPUT
         HPDEVCONTROL
         HPFPCONVERT
         HPVOLINFO
         INITUSLF
         IODONTWAIT
         IOWAIT
         JOBINFO
         KILL
         LOADPROC
         LOCKGLORIN
         LOCKLOCRIN
         LOCRINOWNER
         LOGINFO
         LOGSTATUS
         MAIL
         MYCOMMAND
         OPENLOG
         PAUSE
         PRINT
         PRINTFILEINFO
         PRINTOP
         PRINTOPREPLY
         PROCINFO
         PROCTIME
         PTAPE
         PUTJCW
         QUIT
         QUITPROG
         READ
         READX
         RECEIVEMAIL
         RESETCONTROL
         RESETDUMP
         SEARCH
         SENDMAIL
         SETDUMP
         SETJCW
         STACKDUMP
         STARTSESS
         SUSPEND
         SWITCHDB
         TERMINATE
         TIMER
         UNLOADPROC
         UNLOCKGLORIN
         UNLOCKLOCRIN
         WHO
         WRITELOG
         XARITRAP
         XCONTRAP
         XLIBTRAP
         XSYSTRAP
         ZSIZE

   Ch 3.  Optional Capabilities
      Privileged Mode Capability
          Permanently Privileged Programs
          Temporarily Privileged Programs
          Entering privileged mode
          Entering Non-privileged mode
          Moving the DB Pointer
          Scheduling Processes
      Data Segment Management Capability
          Creating an Extra Data Segment
          Deleting an Extra Data Segment
          Transferring Data from an Extra Data Segment to the Stack
          Transferring Data from the Stack to an Extra Data Segment
          Changing the Size of an Extra Data Segment
      Process Handling Capability
          Processes
             Organization of User Processes
             Active and Suspended Process Substates
          Creating and Activating Processes
          Suspending Processes
          Deleting Processes
          Interprocess Communication
             Testing Mailbox Status
             Sending Mail
             Receiving (Collecting) Mail
          Avoiding Deadlocks
          Rescheduling Processes
          Determining Source of Activation
          Determining Father Process
          Determining Son Processes
          Determining Process Priority and State
      Resource Management
          Inter-Job Level (Global) RINs
             Acquiring Global RINS
             Releasing Global RINS
             Locking and Unlocking Global RINS
          Interprocess (Local) Level RINs
             Acquiring Local RINS
             Locking and Unlocking Local RINS
             Identifying Local RIN Owners
             Freeing Local RINS
      User Logging
          How User Logging Works
          User Logging Procedures
          SuggestedLog File Uses

   Ch 4.  Accessing and Altering Files
      File Device Relationships
          Non-SharableDevice Access
          File Domains
          Opening a File
          Files on Non-Sharable Devices
      How To Use Files
          Internal Operations for File Accessing
          Parsing and Validating File Designators
          Opening a New Disk File
          Opening an Old Disk File
          Opening a File on a Device Other Than Disk
          Using FREAD and FWRITE with $STDIN and $STDLIST
             Opening $STDIN
             Opening $STDLIST
      Closing Files
          Closing a New File as a Temporary File
          Closing a New File as a Permanent File
      Writing a File System Error-Check Procedure
      Using FERRMSG
      Using the IOWAIT Intrinsic
      Declaring Access Mode Options

   Ch 5.  Other Applications of MPE Intrinsics
      Dynamic Loading and Unloading of Library Procedures
          Dynamic Loading
          Dynamic Unloading
      Searching Arrays
      Formatting Command Parameters
      Executing MPE Commands Programmatically
      Determining the User's Access Mode and Attributes
      Identifying a Job or Session with JOBINFO
      Converting Numbers from Binary Code to ASCII Strings
      Converting Numbers from an ASCII Numeric String to a Binary Coded Value
      Translating Characters with the CTRANSLATE Intrinsic
      Transmitting Program Input/Output from Job/Session Input/Output Devices
          Reading Input from the Job/Session Input Device
          Writing Output to the Job/Session List Device
          Writing Output to the System Console
          Writing Output to the System Console and Requesting a Reply
      Suspending the Calling Process
      Requesting a Process Break
      Terminating a Process
      Aborting a Process
      Aborting a Program
      Changing Stack Sizes
          Changing the DL to DB Area Size
          Changing the Z to DB Area Size
      Enabling and Disabling Traps
          Arithmetic Traps
             Standard Traps
             Extended Precision Floating Point Traps
             Commercial Instruction Traps
          Library Trap
          System Trap
          CONTROL-Y Traps
      Time and Date Intrinsics
          Obtaining System Timer Information
          Obtaining the Current Time
          Obtaining the Calendar Date
          Obtaining Process Run Time
          Formatting Calendar Date and Time Information
      Job Control Words
      Interprocess Communication
      User-Defined Job Control Words
      MPE Message Facility
          Message Catalog
          MAKECAT Program
          Using GENMESSAGE to Insert Parameters in Messages
      Application Message Facility

   Ap A. MPE Diagnostic Messages
      Run-Time Messages
      User Messages
      Operator Messages
      System Messages
      File Information Display

   Ap B. Device Characteristics
      Characteristics
          Card Reader
          Line Printer
          Magnetic Tape
          Line Printer and Terminal Carriage Control Codes
          End-of-File Indication
          Terminals
          Using the FCARD Intrinsic With an HP 7260A Optical Mark Reader
          ASCII and Column Image Reading Formats
   INDEX
       Index