hexagon logo

Error 127

Got one CMM that I cannot run a program one, The database is on a network, I've got the code below in the program to delete the XSTATS11.TMP file. I can run this program on two other CMMs with DataPage and everything runs fine, stats dump, no errors. But on this one CMM I get the error 127 - says database file does not exist. Should I delete and reinistall DataPage on this one CMM?

FILE_THERE =FILE/EXISTS,C:\ ----PCDMISW\XSTATS11.TMP
            IF/FILE_THERE == 1
            FILE/DELETE,C:\PCDMISW\XSTATS11.TMP
            END_IF/
Parents
  • IT appears as though PCDMIS is steered to the wrong directory by the code you have listed, that shouldn't cause the problem, I don't think, but you should fix it. It should be looking in C:\PSDMISW_37MR3. After you do that if the problem persists, find the file XSTATS11.TMP in the C:\PSDMISW_37MR3 directory and rename it to say, XSTATS11A.TMP. When datapage re-opens it will create a new file. That should fix the problem.

    Also, never saw the code you have listed in any program. Anyways, try the above, it should work.
Reply
  • IT appears as though PCDMIS is steered to the wrong directory by the code you have listed, that shouldn't cause the problem, I don't think, but you should fix it. It should be looking in C:\PSDMISW_37MR3. After you do that if the problem persists, find the file XSTATS11.TMP in the C:\PSDMISW_37MR3 directory and rename it to say, XSTATS11A.TMP. When datapage re-opens it will create a new file. That should fix the problem.

    Also, never saw the code you have listed in any program. Anyways, try the above, it should work.
Children
No Data