emani80
16th September 2002, 21:08
Hi all,
How to get the preprossesor output of a baan 3gl script.
as bic6.1 has -t option?


Thanks

NPRao
16th September 2002, 22:11
I tried to use it initially; it gave me an error message with a tip -


[DEV:nprao]/app/baan/bse/bin >bic6.2 -t ozmadmtest
: Fatal Error: Bic not compiled with -DLEXDEBUG. Use bic_pre instead

1 ERROR REPORTED.

bic6.2: unlink_shm: Shared memory not attached
[DEV:nprao]/app/baan/bse/bin >

Hence, I executed the bic_pre

[DEV:nprao]/app/baan/bse/bin >bic_pre6.2 -t ozmadmtest |
pg
bic_global: Warning(11): bic compiled with -DLEXDEBUG. (slower)

----------- ${BSE}/include6.2/bic_global(1) ---------
339 -- #ident 0 1073773904 0 0 #ide
nt
296 -- @(#)DAILY_BUILD:02/0 0 1074683896 0 0 @(#)
DAILY_BUILD:02/02/05,23-30 bic_global:72.53:12/4/01 (c) Copyright Ba
an Development

----------- ${BSE}/include6.2/bic_bshell(1) ---------
339 -- #ident 0 1073773904 0 0 #ide
nt
296 -- @(#)DAILY_BUILD:02/0 0 1074684376 0 0 @(#)
DAILY_BUILD:02/02/05,23-30 bic_bshell:72.11:1/9/02 (c) Copyright Baan Devel
Opment

267 -- ] 0 1073774688 0 0 ]
258 -- handle.report.pool 0 1074684584 0 0 hand
le.report.pool
264 -- ( 0 1073775248 0 0 (
299 -- long 1073764848 1073764848 0 1074684584 long
258 -- flag 0 1074684720 0 1074684584 flag
269 -- , 0 1073774352 0 1074684584 ,
340 -- ... 0 1073774128 0 1074684584 ...
265 -- ) 0 1073775136 0 1074684584 )

----------- ${BSE}/include6.2/bic_bshell(313) ---------
309 -- extern 1073763728 1073763728 0 0 exte
rn
299 -- long 1073764848 1073764848 0 0 long
258 -- pid 0 1074684840 0 0 pid

----------- ${BSE}/include6.2/bic_bshell(314) ---------
309 -- extern 1073763728 1073763728 0 0 exte
rn
299 -- long 1073764848 1073764848 0 0 long
258 -- dis.parent 0 1074684960 0 0 dis.
parent


Its shows pages of detailed output. I think the output is similar to the bic_info or ttstpobjinfo.

Can you please explain the purpose of finding this output?

emani80
17th September 2002, 16:09
Thanks for the info.
i tried to use -t in maintain program scripts options. But it did not work (as we use -w)
I want to understand how preprosor works and also what standard object commands it is inserting into the code(if any).
As ddc code has too many #defines, the output after preprossor
will help to understand the code in detail. Is there any other way to get this output?