Hi, I migrated a cobol program to wine, it is working ok, but has a big issue. Some filenames are specified in variables as "FILE-WORK PIC X(100)", when I move content to this variable like "C:\ST\DTA\STEST03.DTA" some spaces, of course, will stay inside the variable, and I must use
this kind, because sometimes I have to move ip address instead. The program returns "file not found"
because the name in the folder is not so long. I tried put a null caracter at the end, as CR and LF and
so on, nothing works. Are there anyone to help me? Thank you.
filenames cobol microfocus
- DarkShadow44
- Level 8
- Posts: 1207
- Joined: Tue Nov 22, 2016 5:39 pm
Re: filenames cobol microfocus
How did you migrate the program to wine, what does that even mean? Does it work on windows?
Re: filenames cobol microfocus
Hi, the program works very well in Windows (whatever), I just call it by wine, It works well too, only when the filename is like my post that I have problems.
- DarkShadow44
- Level 8
- Posts: 1207
- Joined: Tue Nov 22, 2016 5:39 pm
Re: filenames cobol microfocus
Can you explain in detail what exactly you're doing?