filenames cobol microfocus

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
softtool
Newbie
Newbie
Posts: 2
Joined: Tue Sep 18, 2018 9:02 am

filenames cobol microfocus

Post by softtool »

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.
User avatar
DarkShadow44
Level 8
Level 8
Posts: 1207
Joined: Tue Nov 22, 2016 5:39 pm

Re: filenames cobol microfocus

Post by DarkShadow44 »

How did you migrate the program to wine, what does that even mean? Does it work on windows?
softtool
Newbie
Newbie
Posts: 2
Joined: Tue Sep 18, 2018 9:02 am

Re: filenames cobol microfocus

Post by softtool »

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.
User avatar
DarkShadow44
Level 8
Level 8
Posts: 1207
Joined: Tue Nov 22, 2016 5:39 pm

Re: filenames cobol microfocus

Post by DarkShadow44 »

Can you explain in detail what exactly you're doing?
Locked