DataStage - Data Integration

 View Only
Expand all | Collapse all

Error running job by dsjob command

  • 1.  Error running job by dsjob command

    Posted Fri May 07, 2021 12:36 PM


    I need help to run the job by script via the command line

    File Dssource.txt:


    ./dsjob -authfile Dssource.txt -run -mode RESET -wait BTB Pj_01_DSW_Ld_Hist

    Error running job

    Status code = -2 DSJE_BADSTATE

    I change file to

    and the erro change too:

    ERROR: Failed to open project

    Last recorded error message =
    Engine tier login username or password is incorrect. Check credential mapping is set up correctly, if used

    Status code = 80011

    The dsadm access by client normaly

    Thank you.

    Rafael De Oliveira Leite Nery

  • 2.  RE: Error running job by dsjob command

    Posted Mon May 10, 2021 10:25 AM
    Hi Rafael,

    On the first attempt it looks like you are have connected correctly but the job was in a bad state. It was either not compiled or it previously failed and wasn't reset.

    On the second attemps I think the issue is with the engin's hostname. You used the FQDN but it wasn't registered with it in the repository. The first attempt proves you should stick with the engine's short name.

    I hope this helps

    Emmanuel Côté