Dscmdexport Memory Error

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

Vivek Vazarkar
Participant
Posts: 30
Joined: Thu Feb 22, 2007 12:39 pm
Location: Mumbai

Dscmdexport Memory Error

Post by Vivek Vazarkar »

Hi All,

I'm using datastage 8x server edition & Windows 2003 NT as a OS. While executing the dscmdexport command I'm getting memory error.

Command:-

D:\IBM\InformationServer\Clients\Classic\dscmdexport.exe /D=DS_QA:1080 /U=Dsadmin /P=???? /H=DS_QA DataWarehouse D:\Temp\DataWarehouse.dsx

Domain Name:- DS_QA:1080
User Name:- Dsadmin
Host:- DS_QA
Project:- DataWarehouse

Error:-


The instruction at "0x00000000" referenced memory at "0x00000000". The memory could not be "written".

Click OK to terminate the program.


If you any idea, please let me know.
Thanks & Regards,
Vivek Vazarkar
Mail ID:-vivekvazarkar@indiatimes.com
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Do you have at least 2GB of memory in the client machine?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Vivek Vazarkar
Participant
Posts: 30
Joined: Thu Feb 22, 2007 12:39 pm
Location: Mumbai

Post by Vivek Vazarkar »

ray.wurlod wrote:Do you have at least 2GB of memory in the client machine? ...
yes 3.5 GB memory is free.
Thanks & Regards,
Vivek Vazarkar
Mail ID:-vivekvazarkar@indiatimes.com
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Looks like a null pointer somewhere. Does it happen only with this job?
priyadarshikunal
Premium Member
Premium Member
Posts: 1735
Joined: Thu Mar 01, 2007 5:44 am
Location: Troy, MI

Post by priyadarshikunal »

Vivek Vazarkar wrote: yes 3.5 GB memory is free.
Is it RAM?

Vivek Vazarkar wrote:Domain Name:- DS_QA:1080
Is your script working with this port?
Priyadarshi Kunal

Genius may have its limitations, but stupidity is not thus handicapped. :wink:
Vivek Vazarkar
Participant
Posts: 30
Joined: Thu Feb 22, 2007 12:39 pm
Location: Mumbai

Post by Vivek Vazarkar »

priyadarshikunal wrote:
Vivek Vazarkar wrote: yes 3.5 GB memory is free.
Is it RAM?

Vivek Vazarkar wrote:Domain Name:- DS_QA:1080
Is your script working with this port?
Hi,

Its not a RAM memory, its 3.5 GB harddisk memory is free.

I tried both ways domain name as DS_QA & DS_QA:1080. Still it showing above memory error.

I want to add one more information, for another project it is not showing any memory error message.
Thanks & Regards,
Vivek Vazarkar
Mail ID:-vivekvazarkar@indiatimes.com
Vivek Vazarkar
Participant
Posts: 30
Joined: Thu Feb 22, 2007 12:39 pm
Location: Mumbai

Post by Vivek Vazarkar »

ArndW wrote:Looks like a null pointer somewhere. Does it happen only with this job? ...
Hi ArndW.

Its happning only with this job.
Thanks & Regards,
Vivek Vazarkar
Mail ID:-vivekvazarkar@indiatimes.com
Vivek Vazarkar
Participant
Posts: 30
Joined: Thu Feb 22, 2007 12:39 pm
Location: Mumbai

Post by Vivek Vazarkar »

Vivek Vazarkar wrote:
ray.wurlod wrote:Do you have at least 2GB of memory in the client machine? ...
yes 3.5 GB memory is free.

Ray,

What you think about Windows Service Pack 2. Does it creating any troubble for any datastage job?
Thanks & Regards,
Vivek Vazarkar
Mail ID:-vivekvazarkar@indiatimes.com
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Can you do an export of that job from the client? Perhaps it is not the command line export that is broken, but the job itself.
Vivek Vazarkar
Participant
Posts: 30
Joined: Thu Feb 22, 2007 12:39 pm
Location: Mumbai

Post by Vivek Vazarkar »

ArndW wrote:Can you do an export of that job from the client? Perhaps it is not the command line export that is broken, but the job itself. ...
ArndW,

I'm able to take export from datastage designer manually. When I tried to take backup from the command that time it creating problem.
Thanks & Regards,
Vivek Vazarkar
Mail ID:-vivekvazarkar@indiatimes.com
priyadarshikunal
Premium Member
Premium Member
Posts: 1735
Joined: Thu Mar 01, 2007 5:44 am
Location: Troy, MI

Post by priyadarshikunal »

ArndW wrote:Looks like a null pointer somewhere. Does it happen only with this job? ...
dscmdexport is for complete project backup and since its a command line utility, any problem with jobs should not lead to a window saying Click OK to terminate the program.

Probably the system is running out of RAM as well as Paging space.

or he is using dsexport.

Vivek,
For your information below is the formal syntax to run dscmdexport in verbose mode to get errors written to a file. every thing enclosed between '%' is a parameter and x is formatted date.

dscmdexport /D=%ServerIp%:9080 /H=%ServerIp%:31801 /U=%userName% /P=%Password% %ServerName%/%ProjectName% %BaseDir%\Project_Export_%x%\ProjectExport_%x%.dsx /v > %BaseDir%\Project_Export_%x%\ExportLog_%x%.log
Last edited by priyadarshikunal on Mon Jun 15, 2009 3:56 am, edited 1 time in total.
Priyadarshi Kunal

Genius may have its limitations, but stupidity is not thus handicapped. :wink:
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

If you re-import the .dsx file into another project, can you then do a dscmdexport on it? If no, then you have a reproduceable test case to submit to IBM support (or to whomever you use for support). If yes, then something is wrong with the job's internals and you might as well import the .dsx file and overwrite the job.
Vivek Vazarkar
Participant
Posts: 30
Joined: Thu Feb 22, 2007 12:39 pm
Location: Mumbai

Post by Vivek Vazarkar »

priyadarshikunal wrote:
ArndW wrote:Looks like a null pointer somewhere. Does it happen only with this job? ...
dscmdexport is for complete project backup and since its a command line utility, any problem with jobs should not lead to a window saying Click OK to terminate the program.

Probably the system is running out of RAM as well as Paging space.

or he is using dsexport.

Vivek,
For your information below is the formal syntax to run dscmdexport in verbose mode to get errors written to a file. every thing enclosed between '%' is a parameter and x is formatted date.

dscmdexport /D=%ServerIp%:9080 /H=%ServerIp%:31801 /U=%userName% /P=%Password% %ServerName%/%ProjectName% %BaseDir%\Project_Export_%x%\ProjectExport_%x%.dsx /v > %BaseDir%\Project_Export_%x%\ExportLog_%x%.log

Hi priyadarshikunal,

I used above syntax & executed the dscmdexport command. Still it showing the same memory error message.
Thanks & Regards,
Vivek Vazarkar
Mail ID:-vivekvazarkar@indiatimes.com
priyadarshikunal
Premium Member
Premium Member
Posts: 1735
Joined: Thu Mar 01, 2007 5:44 am
Location: Troy, MI

Post by priyadarshikunal »

%BaseDir%\Project_Export_%x%\ExportLog_%x%.log
Do you have any error message in this file.

Can you please let us know how much RAM you have on client machine and whether client is running on server itself?
Priyadarshi Kunal

Genius may have its limitations, but stupidity is not thus handicapped. :wink:
priyadarshikunal
Premium Member
Premium Member
Posts: 1735
Joined: Thu Mar 01, 2007 5:44 am
Location: Troy, MI

Post by priyadarshikunal »

Else go for Arnd's suggestions. Test it in another environment and if it doesn't work then send it to IBM.
Priyadarshi Kunal

Genius may have its limitations, but stupidity is not thus handicapped. :wink:
Post Reply