wikizhou
16th July 2007, 11:42
Because I want to run the session by Job, then the session didn't have form and i must build function: main() to run the computation;

but i compile the script, the error message show;

the error message is "ptisfc91010( 20): Error: Function 'main' already declared."

Please help to check the question ,thanks

frigyesg
16th July 2007, 11:58
Hello,

if you want to run the session in a job, it´s better to create an empty form, only with the choice field. Of course the standard option "create job" has to be enabled in the form. The program script can be handeld as a normal 4GL script.

wikizhou
16th July 2007, 12:17
Hello Frigyes
Thanks for you answer,but i didn't understant :"only with the choice field"
Would you explaint the detail?

thanks

wikizhou
16th July 2007, 12:23
Hello Frigyes:
if the form have button , the job run which button , the default one?

thanks

B.R
WikiZhou

frigyesg
16th July 2007, 12:39
Hello WikiZhou,

yes the job run with the default "continue" button.

wikizhou
17th July 2007, 03:52
HI Reply:
I test successful;
Thanks

B.R
WikiZhou