ndevriendt
Programmer
Hello,
I'm using the following statement to write a record
WRITE FILENAME 55
If *In55 = *On
CALL PROGX
EndIf
I want only call PROGX when the reason of the failing write command is 'DUPLICATE KEY ERROR'.
Is therefore a returing error code that I can test ?
Thanks for your time and answer
Devriendt Nico
I'm using the following statement to write a record
WRITE FILENAME 55
If *In55 = *On
CALL PROGX
EndIf
I want only call PROGX when the reason of the failing write command is 'DUPLICATE KEY ERROR'.
Is therefore a returing error code that I can test ?
Thanks for your time and answer
Devriendt Nico