neeraj_vasudeva
19th December 2002, 09:45
Hello,

I am new to BaaN. I was modifying a Program script ( ticus0410m525) and after i compiled it i recieved an
error message, which is given below herewith.

The program was working fine even after doing changes many time
Suddenly error came, please let me know about the solution to this error.

One more thing i went into the following path
C:\Baan\Application\tiB40c_b2_tst\Pticus\ptcus0410m5250
and there i found this file was present which baan says it is not able to find.
Infact even after modifying the script , i saw it was updated with the date/time, but still
this error is coming

Database - informix
O/S : Winnt
package VRC - B40c b2 tst

************************Start of ERROR *************************

ticus0410m5250:
std_gen -s pticus041m5250 -qe C:\baan\tmp\tmp043516114
bic -Pvariant=0 -w pticus0410m525g -u -d ottstpstandard -o oticus0410m525 -f c:
\baan\tmp\tmp043516113 -qe C:\baan\tmp\tmp043516115
pticus0410m525g:No such file or directory
pticus0410m525g:Fatal Error:can't open input file 'pticus0410m525g'
1 ERROR REPORTED


***********************End of Error ***************************

Regards

Neeraj

Guillaume.G
19th December 2002, 09:54
Hello,

You are forget the ":" after a event section or sub section in your script

For example
choice.print.data:
on.choice <======== the : is forgotten
if rprt_open() then
Traitement.du.fichier()
rprt_close()
else
choice.again()
endif

the compile of this script give the same error

The good script
choice.print.data:
on.choice: <======= note the ":"

Good luck

Guillaume G

morpheus
19th December 2002, 11:05
There seems to be some type of syntax error in the script.

neeraj_vasudeva
19th December 2002, 11:31
Thanks Guillaume G problem is solved, it was some indentation problem....word wrap feature of notepad took many lines of code with the comment

Thanks once again

OmeLuuk
19th December 2002, 13:45
neeraj_vasudeva: std_gen -s pticus041m5250 -qe C:\baan\tmp\tmp043516114
bic -Pvariant=0 -w pticus0410m525g -u -d ottstpstandard -o oticus0410m525 -f c:
\baan\tmp\tmp043516113 -qe C:\baan\tmp\tmp043516115You are new to Baan and that is ok. You do some programming (compiling at least) and that also is ok. But looking at this error I feel that I should inform you that Baan has a naming convention on sessions / scripts etc.

Roughly:
ppmmmtattXabc for sessions
ppmmmtatt for program scripts
where:
pp = package such as ti
mmm = module like cus here
ttt = table number involved (you are talking about table ticus035) as main table
a = session type: like 1 for maintaining, 2 for processing, 4 for printing, 5 for display etc
X = m for (BaanIV and down) main and (iBaanERP 5.x and up) multi occurrence; or s for (BaanIV and down) sub and (iBaanERP 5.x and up) single occurrence
abc = free, 000 for standard Baan.


Of course there are more naming conventions for other components, for the ease of communication etc it is better to handle them.

neeraj_vasudeva
19th December 2002, 17:47
Thanks buddy for this usefull information.