what configuration file is used with orchadmin copy?

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
zulfi123786
Premium Member
Premium Member
Posts: 730
Joined: Tue Nov 04, 2008 10:14 am
Location: Bangalore

what configuration file is used with orchadmin copy?

Post by zulfi123786 »

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?
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

It uses whichever configuration file is pointed to by the currently set value of the APT_CONFIG_FILE environment variable.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
zulfi123786
Premium Member
Premium Member
Posts: 730
Joined: Tue Nov 04, 2008 10:14 am
Location: Bangalore

Post by zulfi123786 »

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.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Prove it.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
sk39758
Participant
Posts: 17
Joined: Mon Mar 02, 2009 10:22 pm

Re: what configuration file is used with orchadmin copy?

Post by sk39758 »

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.
jhmckeever
Premium Member
Premium Member
Posts: 301
Joined: Thu Jul 14, 2005 10:27 am
Location: Melbourne, Australia
Contact:

Post by jhmckeever »

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>
Post Reply