The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Urgent help needed to delete some text without opening the file in unix pyaranoid UNIX for Dummies Questions & Answers 5 06-24-2008 08:43 PM
Urgent XP help needed Please nike1601 Windows & DOS: Issues & Discussions 3 06-21-2008 02:44 PM
Urgent-reading a variable value kaaakrishna UNIX for Advanced & Expert Users 3 06-16-2008 12:51 AM
Need urgent help for reading file sunitachoudhury Shell Programming and Scripting 2 04-03-2008 09:32 PM
Urgent Help needed mgchato High Level Programming 0 05-18-2005 11:49 PM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-04-2008
jambesh's Avatar
Registered User
 

Join Date: Aug 2006
Location: Pune,India
Posts: 118
Exclamation URGENT HELP NEEDED ON -File size reading

All Expert,

I am using Sun OS 5.8 and Perl version 5 in One server and Perl 5.8 in another unix server.

I am able to read a file using fopen function of perl --file size having more then 3 GB of data.(In the machine where Perl 5.8 install)

But when i am running the same perl script --It failed in other system saying Too large to open ?/

I doubt it is because of file size limitation on UNIX ,Can any body suggest how to read a file having more then 2 GB of data ??

Is there any SYSTEM variable i need to set ,to read this file ?
Is there any perl macro available which i can assign the value to over come this issue ?

In C #define _FILE_OFFSET_BITS 64 work fine to read a file size more then 2GB.

Please assit me it is URGENT.
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 07-06-2008
Registered User
 

Join Date: May 2008
Location: Sydney, Australia
Posts: 397
What exact versions of perl are you using (perl --version)? Have you tried using the same version on the other server?
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 04:11 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0