I found this thread.
Look at what gets exported
[APPLICATION]
VERSION 28
TODO Clarion ToDo
DICTIONARY 'TrigExam.dct'
PROCEDURE Main
[COMMON]
FROM Clarion
MODIFIED '2005/04/27' '18:23:37'
[PROMPTS]
[APPLICATION]
VERSION 28
TODO ABC ToDo
DICTIONARY 'TrigExam.dct'
PROCEDURE Main
[COMMON]
FROM ABC
MODIFIED '2005/04/27' '18:20:19'
[PROMPTS]
Maybe export to TXA, read the 3rd line into a %symbol and do a StrPos on it, something like #IF( StrPos( %Line, 'ABC', %TRUE) )
Or look for a %proceduretemplate that exists in the ABC family but not the CW family.