RonaldB,
I have a field defined like PIC X(8), and this field is the name of a file that I want to create in Unixware, with an extension (PIC X(4)) giving by the program.
The problem is that if the length of the file name is less than 8, then an error occur in the command line of the Unixware, because the command line is incorrect.
EXAMPLE:
File Name: XPTO
File Extention: .TXT
Command Line: cp XPTO .TXT
I want it to be:
File Name: XPTO
File Extention: .TXT
Command Line: cp XPTO.TXT