BPX4CRT (chroot) example

The following code changes the root directory for the task. For the callable service, see chroot (BPX1CRT, BPX4CRT) — Change the root directory. AMODE 31 callers use BPX1CRT (chroot) example.
                                              
         MVC   BUFFERA(8),=CL8'/usr/inv'                                
         MVC   BUFLENA,=F'8'                                            
         SPACE ,                                                        
         CALL  BPX4CRT,              Change root directory             +
               (BUFLENA,             Input: Pathname length            +
               BUFFERA,              Input: Pathname                   +
               RETVAL,               Return value: 0 or -1             +
               RETCODE,              Return code                       +
               RSNCODE),             Reason code                       +
               MF=(E,PLIST)          ----------------------------------