Baanboard.com

Go Back   Baanboard.com > Forum > Baan SIGs > Code & Utilities

User login

Frontpage Sponsor

Main

Google search


Poll
For ERP LN feature pack upgrade, what method of install are you using?
Installation Wizard into existing VRC
33%
Installation Wizard into new VRC
39%
Manual into existing VRC
6%
Manual into new VRC
22%
Total votes: 49

Baanboard at LinkedIn


Reference Content

Reply
 
Thread Tools Display Modes
  #1  
Old 17th August 2018, 09:06
litrax's Avatar
litrax litrax is offline
Senior Member
 
Join Date: Sep 2005
Location: Germany
Posts: 108
litrax is on a distinguished road
Baan: ERP LN (10.2.1) - DB: Oracle12c (12.1.0.2.0) - OS: Red Hat Enterprise Linux 7.1
Lightbulb Split the Session History File

If somebody uses the user history where Infor LN writes every session in the file TIME.HIS and you are searching for e.g. if a particular session is still used by any user than this task can be anoying if the file TIME.HIS has really grown big!

I found a way to tear this file down with a Bash shell script:

First the normally big file TIME.HIS is splitted into
many little files named th-aaa, th-aab, th-aac....
This is just needed if the file TIME.HIS is really big and the following awk will not work on this big file.

Then these files are searched for sessions and users:

For every found session it makes a file and writes the
users that have used this

For every found user it makes a file and writes the
sessions that the user opened

Enjoy and be free to use this file...
Don't forget to create the used directory structure beforehand. ;)

_
Attached Files
File Type: sh split_time_his.sh (4.0 KB, 8 views)
__________________
Have a lot of fun...

Please look at this before asking wholes in the stomach ;-)
http://www.baanboard.com/programmers_manual_baanerp
Reply With Quote
Sponsored Links
Reply


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 Off
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Updation of History Table on Multi-Occ Session kruyoupatel Tools Development 2 19th May 2015 14:58
Zoom Menu Return Multi Value layswan Tools Development 3 24th July 2012 09:42
Problem with bdpost via Session ttaad4227m000 (Create Table from Sequential Dump) BOBBYLYON Tools Administration & Installation 2 16th October 2009 21:56
Uploading file into table using session script ltannous Tools Development 15 29th September 2005 05:54
open a RTF file in Baan session george7a Tools Development 12 8th September 2005 08:35


All times are GMT +2. The time now is 20:43.


©2001-2018 - Baanboard.com - Baanforums.com