Skip to main content

we applied the recommendation to start relativity  in open server 6 with this shell:

in /etc/rc2.d use  S99relativity, :

# more S99relativity
bash /usr/bin/callrelativity

/usr/bin/callrelativity 

# more /usr/bin/callrelativity
#!/usr/bin/bash
ulimit -f unlimited
su -c "/u/relativity/RUNACTIVE -w &" root

Environment

Hardware: HP DL380 G5, Intel Xeon Quad-core 2.6 GHz Processor, 4 GB RAM memory, 2 Disks 146 GB working in RAID 1.
OS: SCO Openserver 6.0, Maintenance Pack 2.
Filesystem Layout: All filesystems use vxfs which is large file aware and option is enabled in every storage filesystem.
Application: RM Cobol application resides in a filesystem (different than root) which has a size of 15 GB and the size of application including programs and data is aprox 8 GB. Application is invoked using scripts loaded in each user profile.
COBOL: COBOL runtime is version 11.01 and Relativity is version 12.04. Indexed file giving error code problem has a size of 1.8 GB and cannot grow, and file index version is apparently 4.

There are several tests made for testing OS large file support, including getting the value of ulimit parameter. If user is executing bourne shell, which is system default, value of ulimit is 4194303, which corresponds to 2 GB, But, if user executes Bash, value of ulimit is “unlimited”. However, if you create or append a file using commands in /u95/bin, regardless of the shell executed, those operations are successful. Also Kernel parameters were checked, finding values 0x7FFFFFFF for SFSZLIM and HFSZLIM in stune file. In conclusion, large file support in OS is enabled and it was necessary to add /u95/bin path to the corresponding environment variable in order to ensure execution of large file aware command set by users.

the file INDI.INX has 1.8  GB of size.

with file-lock-limit=2 the file has error 24,02  

 with file-lock-limit=3 the file doesn´t have errors but relativity show 94,67

thanks a lot


#RMCOBOL
#Relativity