hi all,
i am trying to built my own wrapper.im input has two files and the columns are 'ordernumber' 'code' and i have take 'ordernumber' as key based on the i want to sort the data .and my output is one file.the UNIX command i am using is (sort -k 2 )where as k is the key column and i am considering only the values from the 2nd cheracter.when i am running the job i am getting the error message.
main_program: APT_PipeConnection: new connection 1 requests file descriptor -1, which was also requested by connection 0
Thanks in advance.
wrapper
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Premium Member
- Posts: 301
- Joined: Thu Jul 14, 2005 10:27 am
- Location: Melbourne, Australia
- Contact:
Just thought I'd tag onto this old post that we also encountered this error because there appears to be a feature (bug?) in 7.0 where the '.op' file generated for a wrapped stage appears to be broken ...
Changing the following line manually (not using the generate button) fixed our problem (second 'fd = 0' entry to 1) :
HTH,
J.
Code: Select all
echo "{
wrapped,
kind = parallel,
usage = \"qascleankey.op \",
command = \"/home/dsadm/project/wrapped/qascleankey\",
port = {fd = 0, input = 0, schema = \"...\"},
port = {fd = 0, output = 0, schema = \"...\"}
}"
Code: Select all
port = {fd = 0, input = 0, schema = \"...\"},
port = {fd = 1, output = 0, schema = \"...\"}
J.
<b>John McKeever</b>
Data Migrators
<b><a href="https://www.mettleci.com">MettleCI</a> - DevOps for DataStage</b>
<a href="http://www.datamigrators.com/"><img src="https://www.datamigrators.com/assets/im ... l.png"></a>
Data Migrators
<b><a href="https://www.mettleci.com">MettleCI</a> - DevOps for DataStage</b>
<a href="http://www.datamigrators.com/"><img src="https://www.datamigrators.com/assets/im ... l.png"></a>