BPX4FPC (fpathconf) example

The following code obtains the configurable option associated with the pipe buffer. For the callable service, see fpathconf (BPX1FPC, BPX4FPC) — Determine configurable path name variables using a descriptor. For the data structure, see BPXYPCF — Command values for pathconf and pathconf. AMODE 31 callers use BPX1FPC (fpathconf) example.
                                              
       MVC   FILEDESC,..           From opendir                         
         SPACE ,                                                        
         CALL  BPX4FPC,              Get configurable pathname variable+
               (FILEDESC,            Input: Directory file descriptor  +
               =A(PC_PIPE_BUF),      Input: Configurables      BPXYPCF +
               RETVAL,               Return value: 0, -1 or variable   +
               RETCODE,              Return code                       +
               RSNCODE),             Reason code                       +
               MF=(E,PLIST)          ----------------------------------