DSXchange: DataStage and IBM Websphere Data Integration Forum
View next topic
View previous topic
Add To Favorites
Author Message
Gius
Participant



Joined: 09 Mar 2015
Posts: 24

Points: 343

Post Posted: Tue Sep 11, 2018 1:02 am Reply with quote    Back to top    

DataStage® Release: 11x
Job Type: Parallel
OS: Windows
Hello,
I'm trying to use a file connector to write a file but using a schema file and run time column propagation.

I need to use a schema file as my output delimiter will depend on the type of file I will generate as output.

I've read that for this I have to create a file, with the <output_file_name>.osh
For example if my output file name is :GBR_PERSON_100.txt
then the schema file should be : GBR_PERSON_100.txt.osh
Like this :
GBR_PERSON_100.txt.osh
record
{final_delim=end, delim='#', quote=double}
(
)

BUT this does not work.
Any idea of how to create a schema file for a file connector ?
chulett

Premium Poster


since January 2006

Group memberships:
Premium Members, Inner Circle, Server to Parallel Transition Group

Joined: 12 Nov 2002
Posts: 42944
Location: Denver, CO
Points: 221471

Post Posted: Wed Sep 12, 2018 9:37 am Reply with quote    Back to top    

What doesn't work about it? What errors / issues are you seeing? At this point just trying to gather diagnostic information so that those who have dealt with similar scenarios before (hint: that's not me, unfortunately) can provide more cogent help.

ps. At the very least, I can tell you that you need to provide all of the file's field/column definitions in the schema file so the RC has something to P. Wink

_________________
-craig

The Old Ones were, the Old Ones are, and the Old Ones shall be. Not in the spaces we know, but between them. They walk serene and primal, undimensioned and to us unseen.
Rate this response:  
Not yet rated
Gius
Participant



Joined: 09 Mar 2015
Posts: 24

Points: 343

Post Posted: Tue Sep 18, 2018 12:24 am Reply with quote    Back to top    

yes, it did not work the schema file method. If I put in the schema file the delimiter "#" for the fields, this did not work, I had in the output file the "|".

Yes I used the RC then I suppose that with a file connector, using a schema file with RC it does not work.

Thank You -
Rate this response:  
Not yet rated
chulett

Premium Poster


since January 2006

Group memberships:
Premium Members, Inner Circle, Server to Parallel Transition Group

Joined: 12 Nov 2002
Posts: 42944
Location: Denver, CO
Points: 221471

Post Posted: Tue Sep 18, 2018 6:24 am Reply with quote    Back to top    

Sorry but again all you are saying is "it doesn't work" with no details. What error messages are you seeing? No-one here can help guide you to get this working without knowing that. And have you involved your official support provider yet?

I would suggest posting your schema file again, in full this time.

_________________
-craig

The Old Ones were, the Old Ones are, and the Old Ones shall be. Not in the spaces we know, but between them. They walk serene and primal, undimensioned and to us unseen.
Rate this response:  
Not yet rated
Display posts from previous:       

Add To Favorites
View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2002 phpBB Group
Theme & Graphics by Daz :: Portal by Smartor
All times are GMT - 6 Hours