HPlogo New Features of MPE/iX: Using the Hierarchical File System: 300 MPE/iX Computer Systems > Chapter 4 What's New for Programmers?

Listing File Information

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Glossary

 » Index

The PRINTFILEINFO intrinsic has been enhanced to display file attributes and access options introduced with MPE/iX Release 4.5, including new record formats, file types, and directory types.

The file creator field of the PRINTFILEINFO display has been enhanced to reflect the new concept of file ownership (in the form username.accountname). The file creator display field (identified by ID IS...) has been moved to the line following its past position and given the new identifier FILE OWNER:.... Even files whose labels express only the creator name (in the form username) display the fully qualified owner name.

Beginning with MPE/iX Release 4.5, file names expressed using HFS absolute pathnames (pathnames beginning from the root directory) may contain 1024 characters. The PRINTFILEINFO intrinsic prints a wider display (79 characters instead of 50 characters) if called to display information on a file whose pathname exceeds 32 characters in length. Pathnames greater than 62 characters in length are wrapped to following lines.

Following is an example of a PRINTFILEINFO display of a file whose pathname exceeds 62 characters in length.

Figure 4-1 Enhanced PRINTFILEINFO Display

   +-F-I-L-E---I-N-F-O-R-M-A-T-I-O-N---D-I-S-P-L-A-Y-----------+



   !  FILE NAME IS /users/linda/official/finances/payroll/san-

   diego/user-identifi !

   !               cation

   !

   !  FOPTIONS: NEW,BINARY,FORMAL,F,NOCCTL,FEQ

   !

   !            NOLABEL

   !

   !  AOPTIONS: INPUT,NOMR,NOLOCK,DEF,BUF,NOMULTI

   !

   !            WAIT,NOCOPY

   !

   !  DEVICE TYPE: 3      DEVICE SUBTYPE: 8

   !

   !  LDEV: 62       DRT: 8         UNIT: 0

   !

   !  RECORD SIZE: 128    BLOCK SIZE: 128   (WORDS)

   !

   !  EXTENT SIZE: 128    MAX EXTENTS: 8

   !

   !  RECPTR: 0           RECLIMIT: 1023

   !

   !  LOGCOUNT: 0            PHYSCOUNT: 0

   !

   !  EOF AT: 0           LABEL ADDR: %00000000000

   !

   !  FILE CODE: 0        ULABELS: 0

   !

   !  FILE OWNER: LINDA.FINANCE

   !

   !  PHYSICAL STATUS: 0000000000000000

   !

   !  ERROR NUMBER: 0     RESIDUE: 0

   !

   !  BLOCK NUMBER: 0            NUMREC: 1

   !

   +-----------------------------------------------------------+

For additional information, refer to the PRINTFILEINFO intrinsic description located in the MPE/iX Intrinsics Reference Manual (32650-90028).

Feedback to webmaster