Rational Developer for System z
Enterprise PL/I for z/OS, Version 3.8, Programming Guide

File records

Each file record assigns a number, called a file index, that is used by later records to refer to the file described by this record. The described file may be the primary PL/I source file or an INCLUDEd file. Each file record specifies a literal index for the fully qualified name of the file.

For an INCLUDEd file, each file record also contains the file index and source line number from whence the INCLUDE request came. (For primary source files, these fields are zero.)

Figure 110. Declare for a file record
Dcl
  1 xin_Fil     Based( null() ),   /* file record                   */
                                   /*                               */
    2 xin_Fil_Hdr                  /* standard header               */
           like xin_Hdr,           /*                               */
                                   /*                               */
    2 xin_Fil_File_Id              /* file id from whence it        */
           fixed bin(31) unsigned, /*  was INCLUDEd                 */
                                   /*                               */
    2 xin_Fil_Line_No              /* line no within that file      */
           fixed bin(31) unsigned, /*                               */
                                   /*                               */
    2 xin_Fil_Id                   /* id assigned to this file      */
           fixed bin(31) unsigned, /*                               */
                                   /*                               */
    2 xin_Fil_Name                 /* literal index of the          */
           fixed bin(31) unsigned; /*  fully qualified file name    */

Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)