Because your global SQLCA transaction object is already of the type "proccall" (setting in the application painter), you just have to call:
SQLCA.PROCESSATTENDANCE('1' , '21/10/2014' , '20/11/2014')
Also make sure that your arguments match.
hth
Arnd