Your Products have been synced, click here to refresh
Strange, got some code to share?
Other than that, make sure to empty/clear the variable that holds the subname to execute BEFORE you read the textfile. Just to make sure that nothing has been "left over" from the first run and then saved and writeprotected. That is the only thing that comes to mind.
FPTR =FILE/OPEN,\\CHLLCM0APPSRV03\GXP_VALIDATED\PCDMIS\DEA\PRODUCTION\501106682\REV.TXT,READ 100 =FILE/READLINE,FPTR,{SUBREV} FILE/CLOSE,FPTR,KEEP ASSIGN/SUBFULLPATH="\\\CHLLCM0APPSRV03\GXP_VALIDATED\PCDMIS\DEA\PRODUCTION\501106682\APS-PDEA-501106682_REV_" +SUBREV +".PRG" CSHEADER =CALLSUB/HEADER,SUBFULLPATH:,
One thing you could try is to assign that network path to a device letter and then use the device letter instead when calling the sub.
It's not the best way but maybe worth a try.
C1 =COMMENT/INPUT,NO,FULL SCREEN=NO, REV NUM? ASSIGN/V1="PATH\PROGRAMNAME_REV_" +C1.INPUT +".PRG" CS1 =CALLSUB/nameofsub,V1:,
© 2024 Hexagon AB and/or its subsidiaries. | Privacy Policy | Cloud Services Agreement |