02-27-2009
For that IO Error,
i checked the file system, enough space is available.
till i am getting the same error.
Please help me.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
Do you know given a file which is SED at the same time, how to read it and AWK it in tabs format.
Means:-
I have an input file which is (at the same time perform sed):-
1
2
3
4
5
6
7
I would like to print out in tab format which is:-
1 2 3 4 5 6 7 .... (12 Replies)
Discussion started by: ahjiefreak
12 Replies
2. Shell Programming and Scripting
Hi,
I can use the following command to create a file with some name then underscore and then date appended to it in the format 'DD-MM-YYYY':
touch "newfile_`date '+%d-%m-%Y'`"
But it gives me error when I try with the similar command to create a file with the date format 'DD/MM/YYYY'. I... (4 Replies)
Discussion started by: royalibrahim
4 Replies
3. Shell Programming and Scripting
This data comes form the table and exported into the file in this format
File1 Format
weboffercode1,sourcecode1,1,1,1,1,1,1
weboffercode1,sourcecode2,1,1,1,1,1,1
weboffercode1,sourcecode1,1,1,1,1,1,1
weboffercode1,sourcecode3,1,1,1,1,1,1
weboffercode1,sourcecode3,1,1,1,1,1,1
... (4 Replies)
Discussion started by: enigma_83
4 Replies
4. Shell Programming and Scripting
Dear Unix champs,
I have a input file as attached, i would like to create an report from the file as below
FileType | EQUENS0001 | EQUENS0002 | EQUENS1100 | EQUENS0003
--------+--------------------------------------------------------
Msg No |... (3 Replies)
Discussion started by: manas_ranjan
3 Replies
5. Shell Programming and Scripting
Hi All,
I need to BCP out a table into a text file along with the table headers. Normal BCP out command only bulk copies the data, and not the headers.
I am using the following command: bcp database1..table1 out file1.dat -c -t\| -b1000 -A8192 -Uuser -Ppassword -efile.dat.err
Regards,... (0 Replies)
Discussion started by: shilpa_acc
0 Replies
6. Programming
Hello,
Could you please let me know the correct format of CREATE TABLE statement with DATE format.
CREATE TABLE EMP_TABLE1 (
NAME VARCHAR(6) PRIMARY KEY,
ADDRESS VARCHAR(6),
BIRTH_DATE DATE
);
I want BIRTH_DATE to be in "YYYYMMDDHHMISS" format.
How we can create table with... (4 Replies)
Discussion started by: Poonamol
4 Replies
7. Shell Programming and Scripting
needed touch command to create a file in the following format
touch a_yyyymmdd_hhmmss (1 Reply)
Discussion started by: hemanthsaikumar
1 Replies
8. Shell Programming and Scripting
Hi All,
In UNIX servers we are switching from DR to PROD. After switching to DR
we need to update some configuration files which contains the server names.
Ex - If we switch to BCP we need to update BCP server name.
If we switch back to PROD we need to update PROD server name.
I... (1 Reply)
Discussion started by: Girish19
1 Replies
9. Shell Programming and Scripting
Hello,
In my shell script, I extract table data from HP Vertica DB into a csv file using vsql -c command. But the problem is the file getting created is in binary format and hence some of the data becomes unreadable which has chinese characters as part of data.
file -i filename.csv - gives... (2 Replies)
Discussion started by: Dharmatheja
2 Replies
10. UNIX for Beginners Questions & Answers
hi linux expert
is there any program for create movie file from pictures file (like jpg)?
Many Thanks
samad (1 Reply)
Discussion started by: abdossamad2003
1 Replies
LEARN ABOUT REDHAT
tiffwritedirectory
TIFFWriteDirectory(3T) TIFFWriteDirectory(3T)
NAME
TIFFWriteDirectory, TIFFRewriteDirectory - write the current directory in an open TIFF file
SYNOPSIS
#include <tiffio.h>
int TIFFWriteDirectory(TIFF* tif)
int TIFFRewriteDirectory(TIFF* tif)
DESCRIPTION
TIFFWriteDirectory will write the contents of the current directory to the file and setup to create a new subfile in the same file. Appli-
cations only need to call TIFFWriteDirectory when writing multiple subfiles to a single TIFF file. TIFFWriteDirectory is automatically
called by TIFFClose and TIFFFlush to write a modified directory if the file is open for writing.
The TIFFRewriteDirectory function operates similarly to TIFFWriteDirectory but can be called with directories previously read or written
that already have an established location in the file. It will rewrite the directory, but instead of place it at it's old location (as
TIFFWriteDirectory would) it will place them at the end of the file, correcting the pointer from the preceeding directory or file header to
point to it's new location. This is particularly important in cases where the size of the directory and pointed to data has grown, so it
won't fit in the space available at the old location.
RETURN VALUES
1 is returned when the contents are successfully written to the file. Otherwise, 0 is returned if an error was encountered when writing
the directory contents.
DIAGNOSTICS
All error messages are directed to the TIFFError(3T) routine.
Error post-encoding before directory write. Before writing the contents of the current directory, any pending data are flushed. This mes-
sage indicates that an error occurred while doing this.
Error flushing data before directory write. Before writing the contents of the current directory, any pending data are flushed. This mes-
sage indicates that an error occurred while doing this.
Cannot write directory, out of space. There was not enough space to allocate a temporary area for the directory that was to be written.
Error writing directory count. A write error occurred when writing the count of fields in the directory.
Error writing directory contents. A write error occurred when writing the directory fields.
Error writing directory link. A write error occurred when writing the link to the next directory.
Error writing data for field "%s". A write error occurred when writing indirect data for the specified field.
Error writing TIFF header. A write error occurred when re-writing header at the front of the file.
Error fetching directory count. A read error occurred when fetching the directory count field for a previous directory. This can occur
when setting up a link to the directory that is being written.
Error fetching directory link. A read error occurred when fetching the directory link field for a previous directory. This can occur when
setting up a link to the directory that is being written.
SEE ALSO
libtiff(3T), TIFFOpen(3T), TIFFError(3T), TIFFReadDirectory(3T), TIFFSetDirectory(3T)
September 26, 2001 TIFFWriteDirectory(3T)