Go Back > Forum > Baan SIGs > Code & Utilities

User login

Frontpage Sponsor


As a Customer What would do to keep your ERP Implementation intact
Proactively define Business Process-- Take the Project Ownership
Handover everything to System Integrator from drawing BP till implementation of ERP
Hire more inhouse skilled & capable IT Resource to work directly with SI
Rely on SI Architects/Consultants
Total votes: 11

Baanboard at LinkedIn

Reference Content

Thread Tools Display Modes
Old 17th August 2018, 10:06
litrax's Avatar
litrax litrax is offline
Senior Member
Join Date: Sep 2005
Location: Germany
Posts: 109
litrax is on a distinguished road
Baan: ERP LN (10.2.1) - DB: Oracle12c ( - 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 (4.0 KB, 23 views)
Have a lot of fun...

Please look at this before asking wholes in the stomach ;-)
Reply With Quote
Sponsored Links

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
Uploading file into table using session script ltannous Tools Development 17 11th December 2020 09:30
Updation of History Table on Multi-Occ Session kruyoupatel Tools Development 2 19th May 2015 15:58
Zoom Menu Return Multi Value layswan Tools Development 3 24th July 2012 10:42
Problem with bdpost via Session ttaad4227m000 (Create Table from Sequential Dump) BOBBYLYON Tools Administration & Installation 2 16th October 2009 22:56
open a RTF file in Baan session george7a Tools Development 12 8th September 2005 09:35

All times are GMT +2. The time now is 15:25.

©2001-2021 - -