Wednesday, August 08, 2007

UNIX: How to tansfer a whole directory with all subdirectories by FTP

That can not be done directly.But workaround is make a TARBALL and then FTP it.

To compress using tar
tar -cvf DestFile.tar SourceFile

To compress using compress

compress SourceFiles
By default all files will be compressd to SourceFiles.z

---: I am not responsible for any damages happened from the suggestion of my blog :---
Reach me at : m.a.hasim@inbox.com

Labels:

Thursday, August 02, 2007

Informatica 7.1:HIER_28056

HIER_28056 XML Reader: Error [PartialTagMarkupError] occurred while parsing.The input ended before all started tags were ended

Error:-READER_1_1_1> HIER_28056 XML Reader: Error [PartialTagMarkupError] occurred while parsing:[Error at (file /aaa/aaa/aaa/aaa/aaa/aaa.xml, line 2000, char 64 ): The input ended before all started tags were ended. Last tag started was 'dept'.]; line number [2000]; column number [64]

Reason:-This type of error may come
1/When FTP has not been done for that file from source and some corruption occurs

Solution:-Ensure FTP done properly.

HIER_28056 XML Reader: Error [NoGrammarResolver] occurred while parsing:An exception occurred! Type:UTFDataFormatException, Message:invalid byte 2 (`) of a 2-byte sequence..]

Error:-
HIER_28056 XML Reader: Error [NoGrammarResolver] occurred while parsing:[Error at (file /aaa/aaa/aaa/aaa.xml, line 1, char 39 ): An exception occurred! Type:UTFDataFormatException, Message:invalid byte 2 (`) of a 2-byte sequence..]; line number [1]; column number [39]

Reason:-Unsupported characters are there in teh xml file which are not supported by the encoding specified in the header.

Solution:-
1/Check for the character and the encoding.
2/If that character is apostrope then be alert about Midstream parser.Midstream parser does not allow apostrope.
3/If possible remove the charters from the xml file by editing it.
4/If needed change the encoding line to
5/If needed , edit the xml file and save it as UTF8.


HIER_28056 XML Reader: Error [NoGrammarResolver] occurred while parsing:The buffer manager cannot provide any more buffers.]

Error:-
HIER_28056 XML Reader: Error [NoGrammarResolver] occurred while parsing:[Error at (file /.../aaa.xml, line 10, char 56 ): An exception occurred! Type:RuntimeException, Message:The buffer manager cannot provide any more buffers.]; line number [10]; column number [56]

Reason:-
This is due to any component of that xml that has set as undefined length in the XML Source.And thats making the PowerCenter Server to consume a lot of memory to parse it.

Solution:-
1/Go to Designer-->Definition.
2/In XML Editor-->Search components in XML schema-->Advanced Options.
3/Go to Length Property. You will populate the infinite value.
4/Click on Search button to find out the matching components.
5/Change their length to some fixed value.
6/Save the mapping.


HIER_28060 XML Reader: Fatal Error:[The primary document entity could not be opened

Error:-
HIER_28060 XML Reader: Fatal Error:[The primary document entity could not be opened. Id=e:\demo\SrcFiles\data.xml]

Resolution:-
Edit the task of the worflow and check for the path of your file.

HIER_28056 XML Reader: Error [NoGrammarResolver] occurred while parsing:Could not open DTD

Error:-
HIER_28056 XML Reader: Error [NoGrammarResolver] occurred while parsing:[Error at (file e:\demo\SrcFiles\note_ex_dtd.xml, line 2, char 34 ): An exception occurred! Type:RuntimeException, Message:Could not open DTD file 'e:\demo\SrcFiles\note.dtd'.]; line number [2]; column number [34]

Resolution:-
Check in the same location your xml file is.Is there there dtd also?

HIER_28056 XML Reader: Error [UnterminatedEntityDecl] occurred while parsing:Expected a markup declaration

Error:-
READER_1_1_1> HIER_28056 XML Reader: Error [UnterminatedEntityDecl] occurred while parsing:[Error at (file e:\demo\SrcFiles\note.dtd, line 1, char 3 ): Expected a markup declaration.]; line number [1]; column number [3]

Resolution:-
Edit your dtd file in xmlspy and remove all unwanted lines/words from begining/end.

---: I am not responsible for any damages happened from the suggestion of my blog :---
Reach me at : m.a.hasim@inbox.com

Labels: