OmeLuuk
19th September 2002, 15:00
The document you always wanted to have!

Covers bshell options and environmentsettings from Baan. Not all options are available in all cases, but feel free to try and explore. Some may not (yet) be available on your portingset or on your version.

Do not use this thread to post "Hurray's" and "Thank You's" but ONLY to expand this list with valuable information. If you have not listed options, feel free to post them here.

If you have bad or good experiences or questions related to a specific option, then feel free to post a new thread (http://www.baanboard.com/baanboard/newthread.php?s=&action=newthread&forumid=2) with that kind of questions.

Keep this thread clean please.

Update: sorry for you Unix fans... now I changed into MS format...

NPRao
19th September 2002, 20:56
OmeLuuk,

That was a very interesting piece of information. Thanks for sharing the info.

There is a similar thread -

Background info for bshell options (BaanIV) (http://www.baanboard.com/baanboard/showthread.php?s=&threadid=95&highlight=bshell+options)

Now that we know the options, would you also put forward the information of how to use it from the option dialog would help a lot of BaaN people here. :)

ulrich.fuchs
20th September 2002, 07:19
- set AFSLOG=1 Will log AFS calls in file afs.log

OmeLuuk
20th September 2002, 14:02
NPRao: There is a similar thread - Background info for bshell options (BaanIV) (http://www.baanboard.com/baanboard/showthread.php?s=&threadid=95&highlight=bshell+options)

Now that we know the options, would you also put forward the information of how to use it from the option dialog would help a lot of BaaN people here. :)Two remarks:

That thread I know (and also used). What I wanted to have is an extensive list that contains all. Including the not (yet) documented features that may be present in not all versions yet. Some examples in my list: -dbgflow -logtime -set BLAT=. I intend to update the file (at least on my system) with extra options and the one-line descriptions I find anyplace.

These settings may all be used as command line settings:
in the BW configuration screen there is a "Command:" option (on the BShell Environment section). There you must put -- (this is to pass the options from bw to the underlaying processes) and then the option(s):
Command:
-- -set BSE_LANG=1 -nodebug -set FONT=fixedsys -set UI=ascii

As the parameters are bshell parameters you can also set them in ASCII when using ba6.1:
ba6.1 -- -set BSE_LANG=2 -set BLAT="default" ttadv2100m000

There are several options I did not mention regarding database logging:
- set {DBMS}PROF=<threshold> log query info that take more than <threshold> seconds
[ORAPROF / INFPROF / MSQLPROF / DB2PROF / TBASEPROF (?)]
- set {DBMS}STAT= ???
[ORASTAT / INFSTAT / MSQLSTAT / DB2STAT / TBASESTAT (?)]
- set DEBUG_LEVEL=

OmeLuuk
14th January 2003, 15:24
No more contributions?

p.cole
9th May 2004, 19:28
I have merged the updates to this thread into the wiki and added a section for job management environment variables that were missing. See http://www.baanboard.com/node/1770

Dikkie Dik
10th May 2004, 15:16
Haven't gone comepletly through it but missed:
BAAN_ART_TRACE=2 Basic tracic plus the binary blocks that are sent to the ARM library.
BAAN_ART_USER='BAAN' Username underwich the transactions will be registered
BAAN_ARM_LIB=/opt/perf/lib/libarm.o Location of ARM library.

Hope this helps,
Dick

p.cole
11th May 2004, 01:59
Thanks, I've updated the Wiki

jodijk
11th May 2004, 22:21
See solution 141714 for the Call Graph Profiler.

Jos

p.cole
16th May 2004, 22:09
Thanks Wiki updated. Do you, or anybody else, have any examples or the HTML output by the Call Graph Profiler?

Dikkie Dik
17th May 2004, 10:52
Output can be generated when having portingset 6.1c.07.03, 7.1d03, 7.3a.04 or higher by setting in the BECS:

-- -set PROFILE_ALL=1 -set PROF_DIR=/home/bsp

Hereby the most important parameters:
PROFILE_ALL. Setting this parameter to 1 starts profiling for all objects.
PROF_DIR. Redirects the output file to the specified directory. Else it will be placed in BSE_TMP.
PROF_RTIME. When set to 1 to get also a section sorted on wall clock time (real time) will be added.

There are more options, and options wil be extended in the near future. This is just a start...

Kind regards,
Dick

SandraDiehl
6th August 2007, 23:17
We are writing a VB.net application that currently we are able to log into BaaN and execute a special library but what we would like to be able to do is when the user logs into this new VB.net application we want to be able to pass the user id and password to the Baan4.Application call so they will not have to enter the information again.

I see that in the option there is a USER value, so is there one for password? For security reason we don't want the default to be set in the bw config file so looking for other options.

Any suggestions would be helpful.

Thanks