Topic
6 replies Latest Post - ‏2012-07-17T11:36:31Z by SANTOSHGN
SystemAdmin
SystemAdmin
7754 Posts
ACCEPTED ANSWER

Pinned topic Individual Job Export Error

‏2006-02-15T01:07:15Z |
Hi All,

Here is the command line i use to export a particular job using dscmdexport.

C:\Progra~1\Ascential\DataStage\dscmdexport.exe /U=dsstg1 /P=password /H=172.32.9.63 /JOB=CIF10CCDSIFM01 DSS_UAT2 test.dsx

DSS_UAT2 is the project name.
test.dsx is the export file name.

When i execute the line i am receiving the following error:

Warning: too many arguements supplied.
...ignoring the rest of the arguments.
Attaching to '/JOB=CIF10CCDSIFM01' ...
dscmdexport aborted:
Failed to attach to the project

Where i have went wrong?
Updated on 2012-07-17T11:36:31Z at 2012-07-17T11:36:31Z by SANTOSHGN
  • SystemAdmin
    SystemAdmin
    7754 Posts
    ACCEPTED ANSWER

    Re: Individual Job Export Error

    ‏2006-02-15T12:09:18Z  in response to SystemAdmin
    The Managers Guide shows the syntax for this command. There is no /JOB parameter for the dscmdexport command. You can only export an entire project with this command.

    Tony
  • SystemAdmin
    SystemAdmin
    7754 Posts
    ACCEPTED ANSWER

    Re: Individual Job Export Error

    ‏2006-04-07T12:34:26Z  in response to SystemAdmin
    In order to export a single job, you have to make two changes:

    1) Switch to using DSEXPORT instead of DSCMDEXPORT.
    2) You have to export it in XML to get an individual job.

    SAMPLE:
    ==========
    dsexport /h=host /u=user /p=password project_name /xml /job=job_name export.dsx

    Enjoy!
  • SystemAdmin
    SystemAdmin
    7754 Posts
    ACCEPTED ANSWER

    Re: Individual Job Export Error

    ‏2006-04-07T13:02:15Z  in response to SystemAdmin
    Make sure nobody is in the job or in the log in director. That will cause the export to fail
    • SystemAdmin
      SystemAdmin
      7754 Posts
      ACCEPTED ANSWER

      Re: Individual Job Export Error

      ‏2007-02-06T03:52:48Z  in response to SystemAdmin
      Hi All,

      I am currently on DS 7.5.1A. I am wondering can i backup my jobs on folder level basic? Exp: I like to backup all jobs in Transform folder into .xml, so if there are 3 jobs, i will expect to have 3 xml with the job name.

      Thanks, William
  • Kavanil1
    Kavanil1
    1 Post
    ACCEPTED ANSWER

    Re: Individual Job Export Error

    ‏2009-12-09T19:46:28Z  in response to SystemAdmin
    My job export works for one server(Dev). But If I run the exact same command for QA server, by changing the name of the server, as everything else remains same, it fails to connect to the project.

    Do I need to reset some client file in order for the client information to get reset ?
  • SANTOSHGN
    SANTOSHGN
    1 Post
    ACCEPTED ANSWER

    Re: Individual Job Export Error

    ‏2012-07-17T11:36:31Z  in response to SystemAdmin
    Problem(Abstract)
    Executing dscmdexport and passing arguements results with the error indicated below. Also note, the word "arguments" may be misspelled (i.e., arguements) in the actual warning message but corrected below.

    Warning: too many arguments supplied.
    ...ignoring the rest of the arguments.
    Attaching to 'dsadm' ...
    dscmdexport aborted:
    Failed to attach to the project
    Cause

    The equal sign that is used in passing arguments to the command is missing.
    Resolving the problem

    Ensure that you use the equal sign when defining the values for the arguments (i.e., /H, /U, /P, etc). For example use,

    C:\IBM\InformationServer\Clients\Classic\dscmdexport /H=short_hostname /U=dsadm /P=dsadm projectname c:\temp\archivename.dsx /v