mpenno
7th February 2005, 15:36
It' possible download the file also from :

http://www.mr-paradox.com/passage.html

Section Contibutions

Bye

Max

ltannous
18th July 2005, 21:58
I get the following error when I try to run the session tccompassage
could not load program /apps/baan/bse/scripts/passage
The s_scnprt or s_size field of the .loader??

Any ideas??

dave_23
18th July 2005, 22:19
The s_scnprt or s_size field of the .loader??


Is that part of the error?

does the passage binary run on the system? (it's just a program you should be able to run $BSE/scripts/passage and not get an error.

Thanks!

Dave

ltannous
22nd July 2005, 23:29
$ passage
exec(): 0509-036 Cannot load program passage because of the following errors:
0509-111 The s_scnptr or s_size field of the
.loader section header is invalid.
0509-194 Examine file headers with the 'dump -ohv' command.

dave_23
22nd July 2005, 23:51
Interesting - what OS are you running it on?

also can you do a "file passage" ?

Thanks!

Dave

ltannous
23rd July 2005, 03:19
When I run file passage I get the follwing error message

passage: executable (RISC System/6000) or object module not stripped

dave_23
23rd July 2005, 06:20
I think you're using the AIX 4 binary. try this one

http://www.mr-paradox.com/downloads/passage-AIX.tar.gz

Thanks!

Dave

ltannous
25th July 2005, 22:02
I am getting the following error when I login to BaaN
cannot read session or object tccompasswd.
When I login to Baan, is can go to the session and run the session, but nothing seems to happen in the front end.

dave_23
25th July 2005, 23:54
Well, looks like part of it is working then! =)

Unless your password has expired you wouldn't see a thing

You should see a $BSE/log/log.passage output though (you can
set PWDEBUG=1 in your environment for more info)

Not sure what's up with the "can't read session or object" maybe
a typo? If you can run it via "Run Program" I can't imaging why
it wouldn't be able to run as a startup session (or in the script)

Dave

ltannous
26th July 2005, 23:25
The BaaN session is calling for tccompassage, but the script tccompasswd is not called in the baan session.
Am i missing something?

Export Package VRC : tcB40Cc4prd
Update compared VRC: B40Uc4stnd
Only Package : Yes
Based on sessions : No
Script sources : No
Function sources : No
Library sources : No
---------------------------------------
C = Charts
q = Questions
c = Messages
l = Labels
d = Domains
t = Table Definitions
s = Sessions
p = Scripts
o = Objects
f = Forms
F = Form Dumps
m = Menus
M = Menu Dumps
r = Reports
i = Impl. Functions
b = Functions
h = Help Text Codes
----------------------
stccompassage B40Cc4prd
ptccompassage B40Cc4prd (without source)
otccompassage B40Cc4prd

ltannous
26th July 2005, 23:48
Changed the code in bshellp.ksh to use tccompassage session.
Changed the tccompassage session to use the tccompasswd script.

Thanks for all your help

dave_23
27th July 2005, 03:30
Ah, great!

So is there something in the session I need to change? (I did rename it at one point, but i thought that I had updated it) or was it just something in the shell script?

Thanks!

Dave

ltannous
27th July 2005, 15:37
The changes I made, not sure if correct. How is the passage code executed?
It seems as if I am not using this code. I have replaced the code in the baan sesson from tccompassage to tccompasswd.

dave_23
28th July 2005, 16:19
Here is how i call passage in the session.

long ret
long info(PSMAXSIZE)
string progname(512)
long procid

function main()
{
ret = shell("${BSE}/scripts/passage",SHELL_MWINDOW)
if ret > 0 then
procid = -1
procid = pstat( procid, progname, info)
while procid > 0
procid = pstat(procid, progname, info)
kill(procid)
endwhile
endif
}