Page 1 of 1

"orchadmin copy" command failing

Posted: Mon May 08, 2017 8:37 am
by koti9
Hello All,

I am trying to copy a dataset using orchadmin copy command.Though the source dataset is of 160GB,(Counted the data file bytes), orchadmin copy command is making a file bigger than target file of 480GB(Again counted the data file bytes) and failing with no space on device-3times the size of source file. My command is pretty straight forward.

Code: Select all

 $APT_ORCHHOME/bin/orchadmin copy sourcedataset.ds targetdataset.ds
Did anyone face this issue? Please let me know

Thanks & Regards
Koti

Posted: Mon May 08, 2017 11:42 am
by qt_ky
I did a quick test on a much smaller 80 MB data set. The new copy was 106 MB.

Posted: Tue May 09, 2017 7:24 am
by Mike
Sounds potentially like that old varied behavior with datasets sometimes storing varchar with fixed sizes. Maybe orchadmin copy defaults to that behavior.

You could try setting the environment variable that controls the behavior.

Raise the issue with your support provider.

You could always create a generic DataStage job to copy datasets.

Mike

Posted: Tue May 09, 2017 9:35 am
by chulett
This may help...

Thanks for your help

Posted: Tue May 09, 2017 12:22 pm
by koti9
Craig
you rock....Thanks for your help

Posted: Wed May 10, 2017 5:58 am
by qt_ky
For what it's worth, I tested orchadmin copy again after setting APT_COMPRESS_BOUNDED_FIELDS=1 and still got the inflated result on disk. I'm on version 11.3.1.2. Perhaps the orchadmin command does not honor the environment variable.