Is there any difference between these tho statements?
CALL "CBL_CHANGE_DIR" using "\\CONT"
returning ID-STAT
CALL "CBL_CHANGE_DIR" using "\\CONT\\ "
returning ID-STAT
In the second case the name of the directory (in the root) is followed by \\ but I learned, that both statements should do the same. I observed that executing the first statement only once in the program, it works, but the second time no more, returning a status of 9 x”0d” file not found. Putting the \\ after the directory name apparently everything works, also executing the statement several times.. But it sounds very unusual, that the \\ makes the difference.
Can anybody explain me, if the trailing \\ is obligatory if the statement shall be executed several times?
Thanks
Rolf




