job sequencer

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

job sequencer

Post by admin »

Hi,

I want to create a job-sequencer that checks a certain folder and runs a
certain job when a file is put in this folder, could be any kond of file. Is
this possible? I tried to put in the name of the folder like this
'/example/*' as property of the 'waitforfileactivity'-stage but while
compiling I ran into an error.

Thanks.

Wim van Dommelen.


****************************DISCLAIMER***********************************
Deze e-mail is uitsluitend bestemd voor de geadresseerde(n). Verstrekking aan en gebruik door anderen is niet toegestaan. Fortis sluit iedere aansprakelijkheid uit die voortvloeit uit electronische verzending.

This e-mail is intended exclusively for the addressee(s), and may not be
passed on to, or made available for use by any person other than the
addressee(s). Fortis rules out any and every liability resulting from
any electronic transmission.
*******************************************************************************
<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

job sequencer

Post by admin »

Hi,

You just need to specify the directory and folder name without the "*' (ex.
c:\example\)


-----Original Message-----
From: Dommelen van W. (Wim) [mailto:Wim.van.Dommelen@NL.Fortis.com]
Sent: Wednesday, October 22, 2003 1:47 AM
To: 'datastage-users@oliver.com'
Subject: job sequencer


Hi,

I want to create a job-sequencer that checks a certain folder and runs a
certain job when a file is put in this folder, could be any kond of file. Is
this possible? I tried to put in the name of the folder like this
'/example/*' as property of the 'waitforfileactivity'-stage but while
compiling I ran into an error.

Thanks.

Wim van Dommelen.


****************************DISCLAIMER***********************************
Deze e-mail is uitsluitend bestemd voor de geadresseerde(n). Verstrekking
aan en gebruik door anderen is niet toegestaan. Fortis sluit iedere
aansprakelijkheid uit die voortvloeit uit electronische verzending.

This e-mail is intended exclusively for the addressee(s), and may not be
passed on to, or made available for use by any person other than the
addressee(s). Fortis rules out any and every liability resulting from
any electronic transmission.
****************************************************************************
***
<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

job sequencer

Post by admin »

hi,

sorry, it should be c:\example (w/o the last backslash)

-----Original Message-----
From: Chi Laborte [mailto:chilaborte@comcast.net]
Sent: Wednesday, October 22, 2003 2:15 AM
To: datastage-users@oliver.com
Subject: RE: job sequencer


Hi,

You just need to specify the directory and folder name without the "*' (ex.
c:\example\)


-----Original Message-----
From: Dommelen van W. (Wim) [mailto:Wim.van.Dommelen@NL.Fortis.com]
Sent: Wednesday, October 22, 2003 1:47 AM
To: 'datastage-users@oliver.com'
Subject: job sequencer


Hi,

I want to create a job-sequencer that checks a certain folder and runs a
certain job when a file is put in this folder, could be any kond of file. Is
this possible? I tried to put in the name of the folder like this
'/example/*' as property of the 'waitforfileactivity'-stage but while
compiling I ran into an error.

Thanks.

Wim van Dommelen.


****************************DISCLAIMER***********************************
Deze e-mail is uitsluitend bestemd voor de geadresseerde(n). Verstrekking
aan en gebruik door anderen is niet toegestaan. Fortis sluit iedere
aansprakelijkheid uit die voortvloeit uit electronische verzending.

This e-mail is intended exclusively for the addressee(s), and may not be
passed on to, or made available for use by any person other than the
addressee(s). Fortis rules out any and every liability resulting from
any electronic transmission.
****************************************************************************
***
<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

job sequencer

Post by admin »

Hi Chi,

I tried to do it without the last backslash but then DataStage reports that
the file already exist on the moment you'll run it and the job I want to be
started after a file has been put in the specified folder, starts directly.
When I use the backslash, It keeps waiting on input even when I put a file
in the specified folder. Maybe it makes a difference that I'm using
DataStage on AIX/ UNIX?

-----Oorspronkelijk bericht-----
Van: Chi Laborte [mailto:chilaborte@comcast.net]
Verzonden: woensdag 22 oktober 2003 11:27
Aan: datastage-users@oliver.com
Onderwerp: RE: job sequencer


hi,

sorry, it should be c:\example (w/o the last backslash)

-----Original Message-----
From: Chi Laborte [mailto:chilaborte@comcast.net]
Sent: Wednesday, October 22, 2003 2:15 AM
To: datastage-users@oliver.com
Subject: RE: job sequencer


Hi,

You just need to specify the directory and folder name without the "*' (ex.
c:\example\)


-----Original Message-----
From: Dommelen van W. (Wim) [mailto:Wim.van.Dommelen@NL.Fortis.com]
Sent: Wednesday, October 22, 2003 1:47 AM
To: 'datastage-users@oliver.com'
Subject: job sequencer


Hi,

I want to create a job-sequencer that checks a certain folder and runs a
certain job when a file is put in this folder, could be any kond of file. Is
this possible? I tried to put in the name of the folder like this
'/example/*' as property of the 'waitforfileactivity'-stage but while
compiling I ran into an error.

Thanks.

Wim van Dommelen.


****************************DISCLAIMER***********************************
Deze e-mail is uitsluitend bestemd voor de geadresseerde(n). Verstrekking
aan en gebruik door anderen is niet toegestaan. Fortis sluit iedere
aansprakelijkheid uit die voortvloeit uit electronische verzending.

This e-mail is intended exclusively for the addressee(s), and may not be
passed on to, or made available for use by any person other than the
addressee(s). Fortis rules out any and every liability resulting from
any electronic transmission.
****************************************************************************
***
<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

job sequencer

Post by admin »

>From what I recall, the "WaitForFile" activity doesn't support wildcards.
You'll either need to specify a specific (full) filename to wait for or
create your own version of it that supports the functionality you are
looking for. FYI - Without the backslash, technically you are waiting for
the *directory* (not something in it) and since it exists, your job
immediately starts.

-craig

-----Original Message-----
From: Dommelen van W. (Wim) [mailto:Wim.van.Dommelen@NL.Fortis.com]
Sent: Wednesday, October 22, 2003 4:05 AM
To: 'datastage-users@oliver.com'
Subject: RE: job sequencer


Hi Chi,

I tried to do it without the last backslash but then DataStage reports that
the file already exist on the moment you'll run it and the job I want to be
started after a file has been put in the specified folder, starts directly.
When I use the backslash, It keeps waiting on input even when I put a file
in the specified folder. Maybe it makes a difference that I'm using
DataStage on AIX/ UNIX?

-----Oorspronkelijk bericht-----
Van: Chi Laborte [mailto:chilaborte@comcast.net]
Verzonden: woensdag 22 oktober 2003 11:27
Aan: datastage-users@oliver.com
Onderwerp: RE: job sequencer


hi,

sorry, it should be c:\example (w/o the last backslash)

-----Original Message-----
From: Chi Laborte [mailto:chilaborte@comcast.net]
Sent: Wednesday, October 22, 2003 2:15 AM
To: datastage-users@oliver.com
Subject: RE: job sequencer


Hi,

You just need to specify the directory and folder name without the "*' (ex.
c:\example\)


-----Original Message-----
From: Dommelen van W. (Wim) [mailto:Wim.van.Dommelen@NL.Fortis.com]
Sent: Wednesday, October 22, 2003 1:47 AM
To: 'datastage-users@oliver.com'
Subject: job sequencer


Hi,

I want to create a job-sequencer that checks a certain folder and runs a
certain job when a file is put in this folder, could be any kond of file. Is
this possible? I tried to put in the name of the folder like this
'/example/*' as property of the 'waitforfileactivity'-stage but while
compiling I ran into an error.

Thanks.

Wim van Dommelen.


****************************DISCLAIMER***********************************
Deze e-mail is uitsluitend bestemd voor de geadresseerde(n). Verstrekking
aan en gebruik door anderen is niet toegestaan. Fortis sluit iedere
aansprakelijkheid uit die voortvloeit uit electronische verzending.

This e-mail is intended exclusively for the addressee(s), and may not be
passed on to, or made available for use by any person other than the
addressee(s). Fortis rules out any and every liability resulting from
any electronic transmission.
****************************************************************************
***
<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