Compile job through Unix command Prompt

Archive of postings to DataStageUsers@Oliver.com. This forum intended only as a reference and cannot be posted to.

Moderators: chulett, rschirm

Locked
admin
Posts: 8720
Joined: Sun Jan 12, 2003 11:26 pm

Compile job through Unix command Prompt

Post by admin »

Hi All,

I need to compile my DataStage job through Unix Command Prompt.
How do I achieve the same ?

Thanks & rgds,
Rohan
<b>PLEASE READ</b>
Do not contact admin unless you have technical support or account questions. Do not send email or Private Messages about discussion topics to ADMIN. Contact the webmaster concerning abusive or offensive posts.
admin
Posts: 8720
Joined: Sun Jan 12, 2003 11:26 pm

Compile job through Unix command Prompt

Post by admin »

Return Receipt

Your Compile job through Unix command Prompt
document
:

was Carlos Pimentel/Madison/GNIC
received
by:

at: 01/09/2004 07:47:37 AM CST
<b>PLEASE READ</b>
Do not contact admin unless you have technical support or account questions. Do not send email or Private Messages about discussion topics to ADMIN. Contact the webmaster concerning abusive or offensive posts.
admin
Posts: 8720
Joined: Sun Jan 12, 2003 11:26 pm

Compile job through Unix command Prompt

Post by admin »

Ascential doesn't provide a mechanism to do this, as far as I know.

I'm curious why you "need" to do this? There are other tools, for example
in DS Version 7 or 'CompileAllPlus' which was available at
http://www.datastagexchange.com/compileall.php (that will allow you to
perform 'mass compiles' from your client. You'd have to check if it still
is downloadable from there or if it is available from another site, like
http://www.dsxchange.com which is the replacement site for the one
previously mentioned.

-craig

-----Original Message-----
From: Rohan Kembhavi [mailto:Rohan_Kembhavi@infosys.com]
Sent: Friday, January 09, 2004 6:39 AM
To: Datastage-Users (E-mail)
Subject: Compile job through Unix command Prompt


Hi All,

I need to compile my DataStage job through Unix Command Prompt.
How do I achieve the same ?

Thanks & rgds,
Rohan
<b>PLEASE READ</b>
Do not contact admin unless you have technical support or account questions. Do not send email or Private Messages about discussion topics to ADMIN. Contact the webmaster concerning abusive or offensive posts.
admin
Posts: 8720
Joined: Sun Jan 12, 2003 11:26 pm

Compile job through Unix command Prompt

Post by admin »

I am writing a shell script which runs this job using dsjob command.
I need to have that script full proof.
i.e. I want to first compile and then run the jobs through the scripts itself.
No need to go the Designer and then compile the same .

-----Original Message-----
From: Craig Hulett [mailto:Craig.Hulett@comcast.net]
Sent: Friday, January 09, 2004 7:34 PM
To: datastage-users@oliver.com
Subject: RE: Compile job through Unix command Prompt


Ascential doesn't provide a mechanism to do this, as far as I know.

I'm curious why you "need" to do this? There are other tools, for example
in DS Version 7 or 'CompileAllPlus' which was available at
http://www.datastagexchange.com/compileall.php (that will allow you to
perform 'mass compiles' from your client. You'd have to check if it still
is downloadable from there or if it is available from another site, like
http://www.dsxchange.com which is the replacement site for the one
previously mentioned.

-craig

-----Original Message-----
From: Rohan Kembhavi [mailto:Rohan_Kembhavi@infosys.com]
Sent: Friday, January 09, 2004 6:39 AM
To: Datastage-Users (E-mail)
Subject: Compile job through Unix command Prompt


Hi All,

I need to compile my DataStage job through Unix Command Prompt.
How do I achieve the same ?

Thanks & rgds,
Rohan
<b>PLEASE READ</b>
Do not contact admin unless you have technical support or account questions. Do not send email or Private Messages about discussion topics to ADMIN. Contact the webmaster concerning abusive or offensive posts.
admin
Posts: 8720
Joined: Sun Jan 12, 2003 11:26 pm

Compile job through Unix command Prompt

Post by admin »

If you never start a Script which was never compiled there is no need to
recompile it. It may even be dangerous to compile any job.

If a job was aborted it does normaly not start again. One (not good) mean is
to recompile the job. The best is to resset the job.

The resset can be done with the dsjob command.

You can even check the Status of the DataStageJob with the dsjob command and
the do what you need.

If a job is "not compile" best is to send a e-Mail to any DS-Devoloper, who
does:

- say, the job is not in a runable state
- compile the job via designer
- compile the job with other tool.

It should never happen, that a job has to be compile out of other reasons.

If a job aborts it could be made runable with a resset.

If it doesn't, it can't neither with a recompile, then other means have to
be undertaken.

Wolfgang

-----Original Message-----
From: Rohan Kembhavi [mailto:Rohan_Kembhavi@infosys.com]
Sent: Friday, January 09, 2004 3:08 PM
To: datastage-users@oliver.com
Subject: RE: Compile job through Unix command Prompt


I am writing a shell script which runs this job using dsjob command.
I need to have that script full proof.
i.e. I want to first compile and then run the jobs through the scripts
itself.
No need to go the Designer and then compile the same .

-----Original Message-----
From: Craig Hulett [mailto:Craig.Hulett@comcast.net]
Sent: Friday, January 09, 2004 7:34 PM
To: datastage-users@oliver.com
Subject: RE: Compile job through Unix command Prompt


Ascential doesn't provide a mechanism to do this, as far as I know.

I'm curious why you "need" to do this? There are other tools, for example
in DS Version 7 or 'CompileAllPlus' which was available at
http://www.datastagexchange.com/compileall.php (that will allow you to
perform 'mass compiles' from your client. You'd have to check if it still
is downloadable from there or if it is available from another site, like
http://www.dsxchange.com which is the replacement site for the one
previously mentioned.

-craig

-----Original Message-----
From: Rohan Kembhavi [mailto:Rohan_Kembhavi@infosys.com]
Sent: Friday, January 09, 2004 6:39 AM
To: Datastage-Users (E-mail)
Subject: Compile job through Unix command Prompt


Hi All,

I need to compile my DataStage job through Unix Command Prompt.
How do I achieve the same ?

Thanks & rgds,
Rohan
<b>PLEASE READ</b>
Do not contact admin unless you have technical support or account questions. Do not send email or Private Messages about discussion topics to ADMIN. Contact the webmaster concerning abusive or offensive posts.
admin
Posts: 8720
Joined: Sun Jan 12, 2003 11:26 pm

Compile job through Unix command Prompt

Post by admin »

Unless something has changed in 7 (which I don't have), you can't compile a
job using the 'dsjob' command. You can *reset* one, but it's not the same
thing.

-craig

-----Original Message-----
From: Rohan Kembhavi [mailto:Rohan_Kembhavi@infosys.com]
Sent: Friday, January 09, 2004 7:08 AM
To: datastage-users@oliver.com
Subject: RE: Compile job through Unix command Prompt


I am writing a shell script which runs this job using dsjob command.
I need to have that script full proof.
i.e. I want to first compile and then run the jobs through the scripts
itself.
No need to go the Designer and then compile the same .

-----Original Message-----
From: Craig Hulett [mailto:Craig.Hulett@comcast.net]
Sent: Friday, January 09, 2004 7:34 PM
To: datastage-users@oliver.com
Subject: RE: Compile job through Unix command Prompt


Ascential doesn't provide a mechanism to do this, as far as I know.

I'm curious why you "need" to do this? There are other tools, for example
in DS Version 7 or 'CompileAllPlus' which was available at
http://www.datastagexchange.com/compileall.php (that will allow you to
perform 'mass compiles' from your client. You'd have to check if it still
is downloadable from there or if it is available from another site, like
http://www.dsxchange.com which is the replacement site for the one
previously mentioned.

-craig

-----Original Message-----
From: Rohan Kembhavi [mailto:Rohan_Kembhavi@infosys.com]
Sent: Friday, January 09, 2004 6:39 AM
To: Datastage-Users (E-mail)
Subject: Compile job through Unix command Prompt


Hi All,

I need to compile my DataStage job through Unix Command Prompt.
How do I achieve the same ?

Thanks & rgds,
Rohan
<b>PLEASE READ</b>
Do not contact admin unless you have technical support or account questions. Do not send email or Private Messages about discussion topics to ADMIN. Contact the webmaster concerning abusive or offensive posts.
admin
Posts: 8720
Joined: Sun Jan 12, 2003 11:26 pm

Compile job through Unix command Prompt

Post by admin »

No, you don't "need to compile from UNIX". There's a good reason the product doesn't allow for it.

If you want to make your execution bullet-proof, all you need to do is to check that it is in a runnable or resettable stage, and take appropriate action accordingly.

What would be the outcome if the job failed to compile under your scenario? What would be the outcome where you couldn't compile it because it was being worked on by a developer (and therefore locked)?

----- Original Message -----
From: "Rohan Kembhavi"
Date: Fri, 9 Jan 2004 19:08:33 +0530
To: "Datastage-Users (E-mail)"
Subject: Compile job through Unix command Prompt

> Hi All,
>
> I need to compile my DataStage job through Unix Command Prompt.
> How do I achieve the same ?
>
> Thanks & rgds,
> Rohan
>
>
<b>PLEASE READ</b>
Do not contact admin unless you have technical support or account questions. Do not send email or Private Messages about discussion topics to ADMIN. Contact the webmaster concerning abusive or offensive posts.
Locked