When i am trying to copy a dataset it is using a configuration file, (from where it is set not sure?) and due to this it is searching for data files in the resource directory defined in the one being used, Obvisouly there wont be any data files for the dataset i am trying to copy in the resource director being referenced.
Also there is not option to force the copy command to specify the config file to be used.
Also i have checked the config file embedded in the source dataset and to my surprise found that the content is same as the one used to run the job but the path and name is something different, tried to cat the config file listed by the describe -c but it says it is not found.....
when a dataset is created is it like only the content is preserved but the path and name are not?
what configuration file is used with orchadmin copy?
Moderators: chulett, rschirm, roy
-
- Premium Member
- Posts: 730
- Joined: Tue Nov 04, 2008 10:14 am
- Location: Bangalore
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Premium Member
- Posts: 730
- Joined: Tue Nov 04, 2008 10:14 am
- Location: Bangalore
ray.wurlod wrote:It uses whichever configuration file is pointed to by the currently set value of the APT_CONFIG_FILE environment variable. ...
after running the dsenv and before running orchadmin i have set it by the command "export $APT_CONFIG_FILE='XXXXXXXXXXXXX' " at command line where i am issuing the orchadmin but still it doesnot consider the one i have set to.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Re: what configuration file is used with orchadmin copy?
zulfi123786 wrote:When i am trying to copy a dataset it is using a configuration file, (from where it is set not sure?) and due to this it is searching for data files in the resource directory defined in the one being used, Obvisouly there wont be any data files for the dataset i am trying to copy in the resource director being referenced.
Also there is not option to force the copy command to specify the config file to be used.
Also i have checked the config file embedded in the source dataset and to my surprise found that the content is same as the one used to run the job but the path and name is something different, tried to cat the config file listed by the describe -c but it says it is not found.....
when a dataset is created is it like only the content is preserved but the path and name are not?
Hi ,
you should use the same config file
using which your jobs got executed. Then only copy would work.Because for copying ds has to know from how many and which all nodes it has to copy.Hope it helps.
-
- Premium Member
- Posts: 301
- Joined: Thu Jul 14, 2005 10:27 am
- Location: Melbourne, Australia
- Contact:
Are you using single quotes around your APT_CONFIG_FILE value? Try removing them.
<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>