Go Back > Forum > Baan Quick Support: Functional & Technical > Tools Administration & Installation

User login

Frontpage Sponsor


Google search

For ERP LN feature pack upgrade, what method of install are you using?
Installation Wizard into existing VRC
Installation Wizard into new VRC
Manual into existing VRC
Manual into new VRC
Total votes: 43

Baanboard at LinkedIn

Reference Content

Thread Tools Display Modes
Old 20th December 2002, 08:35
Paul P's Avatar
Paul P Paul P is offline
Join Date: Jul 2002
Location: Jakarta, Indonesia
Posts: 797
Paul P is on a distinguished road
Baan: BaanIV, BaanERP - DB: SQL Server, Informix, Oracle - OS: Windows, HP-UX
Smile Fully automated session and job mgmt

Dear all,

I made a fully automated session and it's working OK under manual execution. This session is a print session which will automatically execute followed by end.program upon initialisation of form. I disabled all buttons in the form. The main part of the program under are written using API. The session will also automatically direct all error messages the main part to a file without needing user interaction. It's fully automatic

Now I have a problem, this session doesn't seem to be running properly under job mgmt. The job session history states that the session was executed, but I can't see the error file created (I deliberately pass wrong data so the error report would come out). What happened?

Thanks for your help, guys (& girls)

Reply With Quote
Old 20th December 2002, 10:38
Paul P's Avatar
Paul P Paul P is offline
Join Date: Jul 2002
Location: Jakarta, Indonesia
Posts: 797
Paul P is on a distinguished road
Baan: BaanIV, BaanERP - DB: SQL Server, Informix, Oracle - OS: Windows, HP-UX
Works now, but not fully auto anymore

Thanks, ~Vamsi for your "help" through the thread date.num() and job. I found that thread after a long search and try channeling all flow through cont.process first. It works. Only minor drawback is that it's not fully automated anymore. It won't run off job mgmt if I set the cont.process to be run upon initialisation of form (even when I set it to do so only when it's not under job mgmt).

cont.process is a weird command in B5c. It's not present in list of standard commands, but seems to be having prominent role in B5c programming. Probably it should be put back as a std command?

Reply With Quote
Sponsored Links
Old 20th December 2002, 13:34
NPRao's Avatar
NPRao NPRao is offline
Join Date: Aug 2001
Location: Pacific NW, USA
Posts: 3,052
NPRao will become famous soon enough
Baan: Baan 4-5,5.2(Reger),LN-6.1,Infor LN-10.x - DB: Oracle,MS-SQL - OS: HPUX, Linux, Windows

the choice.cont. process is indeed documented - 4GL choice sections

You can find the notes there -

The following commands are supported for backward compatibility only. Support is not guaranteed in future versions of the software.

Instead of keeping the cont.process in the form section, you might try to keep that option as the default option/button in the user defined form commands. So when the form is activated through the job management that is still executed. You can keep the script in debugger and look for the flow of program.

Alternatively, you can also use the statements like in the form/group(incase you are using the new DFE) intialization section -

	if job.process then

I hope this helps you out.

Good Luck!
The art of perfection does not lie in doing extraordinary things but, doing ordinary things extraordinarily well. [-N. Prashanth Rao]
How To Ask Questions The Smart Way,BaaNBoard,NPRao
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with relative date in Job Mgmt j. streun Tools Administration & Installation 0 30th September 2004 20:00
AFS - problem running session in a job aobrien AFS/DDC/OLE: Function servers 15 2nd April 2004 14:51
job (session) start/stop afdeijkers Tools Development 7 23rd November 2003 03:40
Session will not run as a job pjohns Tools Administration & Installation 9 17th January 2003 13:10
Editing job selections ttaad503 doornbos Tools Administration & Installation 9 15th August 2002 18:36

All times are GMT +2. The time now is 22:02.

©2001-2017 - -