convert 32bit hash file to 64 bit

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
lak4u
Participant
Posts: 43
Joined: Mon Nov 03, 2008 10:00 pm

convert 32bit hash file to 64 bit

Post by lak4u »

Hi,

Can we convert 32bit hash file to 64bit? our server is on 32 bit windows
Please help

Thanks
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

From the TCL command line or from your admin, execute "RESIZE YourHashedFile DYNAMIC 64BIT"
lak4u
Participant
Posts: 43
Joined: Mon Nov 03, 2008 10:00 pm

Post by lak4u »

ArndW wrote:From the TCL command line or from your admin, execute "RESIZE YourHashedFile DYNAMIC 64BIT" ...
Thank you very much, can I know the command? Itried with below..

"RESIZE hsh_Staging_3 DYNAMIC 64BIT" but got message like..

"Invalid file name ,sizing parameter,or option on command line"

Thanks
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Did you create "hsh_Staging_3" as a local file in the project or as a pathed file. If the latter, you will need to make a local file pointer to that file. The "SETFILE" command will do this for you, for instance "SETFILE SETFILE PathToYourHashedFile TempHashedFile" then "RESIZE TempHashedFile DYNAMIC 64BIT"
lak4u
Participant
Posts: 43
Joined: Mon Nov 03, 2008 10:00 pm

Post by lak4u »

ArndW wrote:Did you create "hsh_Staging_3" as a local file in the project or as a pathed file. If the latter, you will need to make a local file pointer to that file. The "SETFILE" command will do this for you, f ...
Thank you again. I am not clear about local file and pathed file.I really appriciate if you could explain

Thank you
lak4u
Participant
Posts: 43
Joined: Mon Nov 03, 2008 10:00 pm

Post by lak4u »

ArndW wrote:Did you create "hsh_Staging_3" as a local file in the project or as a pathed file. If the latter, you will need to make a local file pointer to that file. The "SETFILE" command will do this for you, f ...
Thank you again. I am not clear about local file and pathed file.I really appriciate if you could explain

Thank you
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Is your hashed file in an "account" or "pathed" into a specific directory?
-craig

"You can never have too many knives" -- Logan Nine Fingers
lak4u
Participant
Posts: 43
Joined: Mon Nov 03, 2008 10:00 pm

Post by lak4u »

chulett wrote:Is your hashed file in an "account" or "pathed" into a specific directory? ...
Its a spacific directory like ..

C:\Ascential\DataStage\Projects\Exp_Compliance_DEV\Hash_Files\
lak4u
Participant
Posts: 43
Joined: Mon Nov 03, 2008 10:00 pm

Post by lak4u »

chulett wrote:Is your hashed file in an "account" or "pathed" into a specific directory? ...
Posted: Wed Oct 07, 2009 11:24 am

--------------------------------------------------------------------------------




Its a spacific directory like ..

C:\Ascential\DataStage\Projects\Exp_Compliance_DEV\Hash_Files\

Can you please explain what I need to do ?

Thank you
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

As noted, in that case you need to create a VOC record for this command to work. Use SETFILE for that, the syntax can be found here by searching.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

The correct syntax for RESIZE is

Code: Select all

RESIZE hashedfilename * * * 64BIT
in its simplest form. You can specify an alternate file system for the temporary intermediate copy with

Code: Select all

RESIZE hashedfilename * * * 64BIT USING pathname
where pathname is the pathname of a directory in a file system with at least 2.2GB free space.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply