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
How to supress prompts while importing DSX
-
- Participant
- Posts: 12
- Joined: Fri Mar 16, 2007 3:17 am
- Location: pune
How to supress prompts while importing DSX
Thanks.
Regards,
Rahul
Regards,
Rahul
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
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.
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.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Participant
- Posts: 12
- Joined: Fri Mar 16, 2007 3:17 am
- Location: pune
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.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" ...
It worked successfully
Thanks for your support.
Regards,
Rahul
Thanks.
Regards,
Rahul
Regards,
Rahul
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact: