Hi,
I am trying to change the Quote character from " to 000 in a sequential file stage(target).When i do this and compile the job again the following error message appears.
Active stage has no output columns
I understand this error message but the column definition automatically goes off.I am not deleting it.Kindly let me know anything can be done for this to get back the original job or if it requires re-indexing how can i do it for this job alone.Any help is most appreciated.
Regards,
Bala.
Anyone has encountered this problem before.
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
What exact version of DataStage? I can not reproduce on 7.5.2 on a Windows platform. Does reinstating the quote character magically reinstate the link definition?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
It seems that DS is inserting an active stage before the sequential file. Try adding a dummy transform stage to see if this behaviour changes. I assume the stage leading to the output is a passive one - is that right?
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>
Please pardon my ignorance, but is it wise to replace a quote character with a 'nul' character (not NULL). I believe I heard Ray comment on that once and wanted to make sure I understand for my education as well.
Are you doing the replacemant a Transformer Stage in a derivation or something else?
You could issue a command against the file at the shell level as a 'before job command' to do the replacement. Since MKS toolkit comes with the DS install for Windows, your command would look something like
You may have to tweak the syntax as I'm just pulling this out of my head.
Of course, if you have Perl available (come on, Craig knew I would do it! ), then you can just do it like this:
Hope that helps!
Are you doing the replacemant a Transformer Stage in a derivation or something else?
You could issue a command against the file at the shell level as a 'before job command' to do the replacement. Since MKS toolkit comes with the DS install for Windows, your command would look something like
Code: Select all
cat filename | tr/\"/whatever/g >> new filename
Of course, if you have Perl available (come on, Craig knew I would do it! ), then you can just do it like this:
Code: Select all
perl -pe 's/\'/whatever/g' filename.
Bestest!
John Miceli
System Specialist, MCP, MCDBA
Berkley Technology Services
"Good Morning. This is God. I will be handling all your problems today. I will not need your help. So have a great day!"
John Miceli
System Specialist, MCP, MCDBA
Berkley Technology Services
"Good Morning. This is God. I will be handling all your problems today. I will not need your help. So have a great day!"
Hi,
Thanks for the command.I am not doing anything at the transformer level only at the target stage changing the Quote character from " to 000 in the format tab of the sequential file stage.My concern is about the strange behaviour of datastage.Just want to know the ghost behind this action.Anyways will look into your code as well.
Regards,
Bala.
Thanks for the command.I am not doing anything at the transformer level only at the target stage changing the Quote character from " to 000 in the format tab of the sequential file stage.My concern is about the strange behaviour of datastage.Just want to know the ghost behind this action.Anyways will look into your code as well.
Regards,
Bala.