HPlogo KSAM/3000 Reference Manual: HP 3000 MPE/iX Computer Systems > Chapter 4 USING KSAM FILES IN SPL PROGRAMS

HP32208

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

Returns current version, update, and fix level of KSAM/3000.

 

        D 

   version:=HP32208 

The double word result returned by HP32208 contains the version number in ASCII, the update number in binary, and the fix-level number in binary of the KSAM/3000 version currently in use.

FUNCTIONAL RETURN

version

Double word returned by HP32208 in the form:



    0                  7 8                   15 

     ------------------------------------------   

    | Version, in ASCII | Update #, in binary | word 1 

     ------------------------------------------

    | Fix-level #, in binary                  | word 2 

     ------------------------------------------

CONDITION CODES

Condition codes are not affected by execution of this intrinsic.

USING HP32208

You may call this intrinsic in order to get the current version, update, and fix numbers of the KSAM/3000 that is currently being used. The intrinsic FGETKEYINFO returns the version, update, and fix number of a KSAM file at the time the file is created (refer to words 16/17 of the ksamcontrol parameter, Table 4-4 “FCLOSE disposition Parameter Bit Settings”). The version, update, and fix number of a KSAM file at creation is also returned by the VERIFY command (refer to section II). You can call HP32208 to get the KSAM version you are using in order to compare it with the version at file creation of a file you are accessing.

Another reason for calling HP32208 is if you want to convert the version, update, and fix numbers to display values so they can be listed for documentation purposes.

Feedback to webmaster