◄Key► ◄Details► ◄Up► ◄Contents► ◄Index► ◄Back► ──────────────────────────────────────────────────────────────────────────── Routine: CBL_SPLIT_FILENAME Function: Splits a file-name into its component parts; that is, the device-name, basename and extension. Syntax: CALL "CBL_SPLIT_FILENAME" USING split-join-params split-buffer RETURNING status-code Parameters: split-join-params Group item defined as: param-length PIC X(2) COMP-X. split-join-flag1 PIC X COMP-X. split-join-flag2 PIC X COMP-X. device-offset PIC X(2) COMP-X. device-length PIC X(2) COMP-X. basename-offset PIC X(2) COMP-X. basename-length PIC X(2) COMP-X. extension-offset PIC X(2) COMP-X. extension-length PIC X(2) COMP-X. total-length PIC X(2) COMP-X. split-buf-len PIC X(2) COMP-X. join-buf-len PIC X(2) COMP-X. first-path-component-length PIC X(2) COMP-X. split-buffer PIC X(n). status-code See ◄Key► -♦-