PreviousfindFirst Up
Filename
withLengthValueNext

Filename Method withBufferLengthValue

Takes a buffer length and a pic x as the parameters to create a filename. Here the filename is calculated by searching the the buffer backwards trimming extra spaces. This allows filenames to be created easily from spacey filenames to be passed.

Using Parameters
lnkLength PIC 9(9) COMP-5
lnkChars PIC X
Returning Parameter
lnkFilename OBJECT