Hi Jack,
If you think the weird cases were over with the "pipe case", here is a new one
Generating code in LEO start to throw the following error:
554 15:08:09 <APPEND:79a> Lookup C:\Users\User\OneDrive - Umzero\desenvolvimento\SOFT\DSV\657000\.dat = 0.000000
555 15:08:09 <APPEND:7b8> !Call stack trace buffer corrupted! base=151c0e8, offset=66, pop op 16, sig: fe,fd,15 (reset)
556 15:08:09 <APPEND:7b8> FindEnd: find_hdl: 0x0, sp=20
It happens while executing the following command where (prg'source'folder$+gen'file'name$) is "DSV:[657,0]gstecx.gen" and file'tabctl$ is "tabctl_TSKAAB.7101" and both exist in that moment.
xcall amos,"APPEND /Z " + (prg'source'folder$+gen'file'name$)+"="+(prg'source'folder$+gen'file'name$) + "," + file'tabctl$
Guessing the culprit could be the long pathname, I changed the destination to "c:\temp\gstecx.gen" and it worked.
After I tried with "OPR:gstecx.gen" and it also worked , but wait!
The pathname is almost the same of DSV:[657,1], in fact it has one more letter
554 15:05:48 <APPEND:79a> Lookup C:\Users\User\OneDrive - Umzero\desenvolvimento\SOFT\DSK0\001002\gstecx.gen = 25.000000
555 15:05:48 <APPEND:79a> Lookup C:\Users\User\AppData\Local\Temp\tabctl_TSKAAB.7101 = 2.000000
Let's try using an ersatz for DSV[657,1], look below, it also worked
554 15:10:23 <APPEND:79a> Lookup C:\Users\User\OneDrive - Umzero\desenvolvimento\SOFT\DSV\657000\gstecx.gen = 25.000000
555 15:10:23 <APPEND:79a> Lookup C:\Users\User\AppData\Local\Temp\tabctl_TSKAAB.7101 = 2.000000
At this point, just to confirm the suspicious, I tried using DSK0:[1,2] in place of OPR: , that worked before, but this time failed with the exact same error above.
So, it seems there are some problem in the transation of [p, pn] to the full path.
Let me add this is not a problem related to these last releases, not even related to 7.0 because I tried with the 6.5.1741.1c and it also failed.
It can be related with my environment, let me know what you find on your side and what else you want me to do.
To finish, I'm not stuck with this and it's saturday so, no hurry, but I'm really curious to know what's behind this
Have a nice weekend