How to supress prompts while importing DSX

Infosphere's Quality Product

Moderators: chulett, rschirm

Post Reply
Rahul Dhamane
Participant
Posts: 12
Joined: Fri Mar 16, 2007 3:17 am
Location: pune

How to supress prompts while importing DSX

Post by Rahul Dhamane »

Hi,

We are importing DSX using DataStage import command dscmdimport.exe. While importing qualitystage match specifications, commands promts for,

Importing Data Quality Specifications
Importing TEST.MAT
'TEST' is referenced by another component.
Are you sure you want to overwrite it?(Y/YA/N/NA/A)
Y


I would like to know any options to supress above prompt in order to have successful import of Match Specs and avaoid manual intervention using dscmdimport.exe command.

Thanks in advance.

Regards,
Rahul
Thanks.

Regards,
Rahul
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

I vaguely recall that there's a /Y switch that says "answer all questions with Y".

If there isn't you can use an old trick, to redirect NUL to stdin, thereby supplying an infinite supply of "Enter" presses.

Code: Select all

dscmdexport /D=domain /H=engine /U=user /P=password project filepath /V < .\NUL
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Rahul Dhamane
Participant
Posts: 12
Joined: Fri Mar 16, 2007 3:17 am
Location: pune

Post by Rahul Dhamane »

ray.wurlod wrote:I vaguely recall that there's a /Y switch that says "answer all questions with Y".

If there isn't you can use an old trick, to redirect NUL to stdin, thereby supplying an infinite supply of "Enter" ...
Hi Ray, I haven't tried /Y option, but, meanwhile I checked for dscmdimport.exe command options, and the option /NUA suppress this type of questions.

It worked successfully :)

Thanks for your support.

Regards,
Rahul
Thanks.

Regards,
Rahul
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Yes, that was the one.
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