BPX1PCF (pathconf) example

The following code extracts the current value for the configurable maximum number of bytes in a file name associated with /usr/inv/network.t. For the callable service, see pathconf (BPX1PCF, BPX4PCF) — Determine configurable path name variables using a path name. For the data structure, see BPXYPCF — Command values for pathconf and pathconf. AMODE 64 callers use BPX4PCF (pathconf) example.
                                              
         MVC   BUFFERA(18),=CL18'/usr/inv/network.t'                    
         MVC   BUFLENA,=F'18'                                           
         SPACE ,                                                        
         CALL  BPX1PCF,              Get configurable pathname variable+
               (BUFLENA,             Input: Pathname length            +
               BUFFERA,              Input: Pathname                   +
               =A(PC_NAME_MAX),      Input: Options            BPXYPCF +
               RETVAL,               Return value: 0, -1 or variable   +
               RETCODE,              Return code                       +
               RSNCODE),             Reason code                       +
               VL,MF=(E,PLIST)       ----------------------------------