Search found 299 matches

by DSRajesh
Sun Oct 20, 2013 9:31 am
Forum: General
Topic: Job abort message as an attachement in email notification
Replies: 9
Views: 2942

Chullet

Could you please suggest me some thing here
by DSRajesh
Sun Oct 20, 2013 9:02 am
Forum: General
Topic: Job abort message as an attachement in email notification
Replies: 9
Views: 2942

I have checked the option "Include Job Status in Mail" and able to see all job run information including which job got aborted.

But i need to capture the error message with which job has got failed.

Can you please suggest me how can i capture the error message in email notification
by DSRajesh
Sun Oct 20, 2013 8:20 am
Forum: General
Topic: Job abort message as an attachement in email notification
Replies: 9
Views: 2942

Job abort message as an attachement in email notification

Dear All, I have requirement with when ever job fails in a sequence i need to send the error message with the job failed along with job status in email notification. I am not sure of to how to get the aborted message and send as an attchement in email Looking farward for suggestion from any one Thanks
by DSRajesh
Wed Oct 16, 2013 10:18 pm
Forum: General
Topic: CreateUser and UpdateUser information
Replies: 5
Views: 1681

These columns are from audit table which holds job statistics information.

Is there any specific basic language functions or macros which return the information for the create_user_id and update_user_id columns.
by DSRajesh
Wed Oct 16, 2013 9:21 am
Forum: General
Topic: CreateUser and UpdateUser information
Replies: 5
Views: 1681

CreateUser and UpdateUser information

Dear All,

How would i get the user information for the columns create user id and update user id in server routine.

Is there any DS macro or function can i use the server routine?

Could any one please suggest me here.
by DSRajesh
Tue Oct 15, 2013 6:46 am
Forum: General
Topic: Error handling in server routines
Replies: 8
Views: 2087

Arndw,

Could you please suggest me on this.
by DSRajesh
Tue Oct 15, 2013 6:02 am
Forum: General
Topic: Error handling in server routines
Replies: 8
Views: 2087

sorry,below is the code: $INCLUDE DSINCLUDE JOBCONTROL.H Equate RoutineName To 'GetJobInfo' JobHandle = '' JobHandle = DSAttachJob(JobName, DSJ.ERRNONE) Int = DSGetJobInfo(JobHandle, DSJ.JOBSTATUS) Begin Case Case Int = DSJS.RUNFAILED Job_Status = 'Aborted' Case Int = DSJS.RUNOK Job_Status = 'Finish...
by DSRajesh
Tue Oct 15, 2013 5:19 am
Forum: General
Topic: Error handling in server routines
Replies: 8
Views: 2087

sorry missed out to give the code which i am using below is the code SINCLUDE JOBCONTROL.H Equate RoutineName To 'GetJobInfo' JobHandle = '' Int = DSGetJobInfo(JobHandle, DSJ.JOBSTATUS) Begin Case Case Int = DSJS.RUNFAILED Info = 'Aborted' Case Int = DSJS.RUNOK Info = 'Completed' Case Int = DSJS.RUN...
by DSRajesh
Tue Oct 15, 2013 5:18 am
Forum: General
Topic: Error handling in server routines
Replies: 8
Views: 2087

Error handling in server routines

Dear All,

I am using the below code for job statistics in server routine


If the job name which we are not passing is invalid or not avaialable then how to handle the error which occur with the routine.

Can any one suggest me how to handle this case with failing the routine.
by DSRajesh
Fri Oct 11, 2013 7:53 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Convert datetime using iconv, oconv
Replies: 6
Views: 4246

Dear Ray,

Could you please give me code with date column as an example with the above timestamp format.
by DSRajesh
Fri Oct 11, 2013 3:29 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Convert datetime using iconv, oconv
Replies: 6
Views: 4246

Hi ArndW,

I am unable to see the full content.

Request you to please give the code
by DSRajesh
Fri Oct 11, 2013 2:51 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Convert datetime using iconv, oconv
Replies: 6
Views: 4246

Convert datetime using iconv, oconv

Dear All

I am getting the datatime as YYYYMMDD_HHMMSS when using DSJ.JOBLASTTIMESTAMP in the routine.

I need to convert YYYYMMDD_HHMMSS to YYYY-MM-DD HH:MM:SS using iconv and oconv .

Can anyone please suggest me how to do this.
by DSRajesh
Tue Oct 08, 2013 10:43 am
Forum: General
Topic: updating audit table
Replies: 6
Views: 2659

Hi abhinav I have one audit table with the fields jobid, jobname, jobstatus, jobstarttime, jobendtime, createetimestamp, updatetimesramp, createuserid and updateuserid fields . I need to create audit job which will insert a record in audit table with jobstatus as running.there are two jobs running p...
by DSRajesh
Mon Oct 07, 2013 8:14 pm
Forum: General
Topic: updating audit table
Replies: 6
Views: 2659

Dear Abhinav

How can i use the flag/indicator to catch up the corresponding job id record value and update the same.

can any one guide me here please.
by DSRajesh
Mon Oct 07, 2013 11:18 am
Forum: General
Topic: updating audit table
Replies: 6
Views: 2659

updating audit table

Dear All, I am running two jobs parallely which will update the audit table which have jobstatus column. while running a job ,there will be a record created with 'running' status for each job so two records will be created in the audit table. once the bothe job has completed the run,status shall be ...