Joy Conner
24th November 2004, 16:49
On session, ttadv2143s000 - Maintain Libraries by Program Script, there is a column for the library code and the sequence no.
Does anyone know what the sequence no. is? Or is there any significance to listing one library first versus second?
Just curious.
NPRao
24th November 2004, 20:49
I think it defines which library has to be searched first.
When I use the Program Scripts -> Specific -> Library and then compile the script, I observe -
Compilation Successful
zmmig12000:
std_gen6.2 -s pzmmig12000 -qe /app/lms/lmss/opt/bse/tmp/tmp090469730
bic6.2 -Pvariant=0 pzmmig1200g -u -d ottstpstandard:ozmadmdll1000:ozmadmdll1001 -o ozmmig1200 -f /app/lms/lmss/opt/bse/tmp/tmp090469729 -pacc b52amlgd -qe /app/lms/lmss/opt/bse/tmp/tmp090469731
pzmmig12000( 697): Warning(4): A long divided by a long also gives a long.
1 warning reported.
If I use these statements inside the source code of the program script -
#pragma used dll ozmadmdll1000
#pragma used dll ozmadmdll1001
and then compile I see -
Compilation Successful
zmmig12000:
std_gen6.2 -s pzmmig12000 -qe /app/lms/lmss/opt/bse/tmp/tmp090469731
bic6.2 -Pvariant=0 pzmmig1200g -u -d ottstpstandard -o ozmmig1200 -f /app/lms/lmss/opt/bse/tmp/tmp090469730 -pacc b52amlgd -qe /app/lms/lmss/opt/bse/tmp/tmp090469732
pzmmig12000( 697): Warning(4): A long divided by a long also gives a long.
1 warning reported.
Refer to the link - Function search algorithm (http://www.baanboard.com/programmers_manual_baanerp_help_dynamic_link_libraries_function_overloading)