Update Job Control Table using File Name,File date

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
DSRajesh
Premium Member
Premium Member
Posts: 297
Joined: Mon Feb 05, 2007 10:37 pm

Update Job Control Table using File Name,File date

Post by DSRajesh »

Hi All,


I am Loading multiple source files in .csv format into oracle tables.
I need to update the job control table with jobname,batchno,file name and file date information once after job is completed .

Please suggest me how to get file name ,file date ,batchno using server routine.

Which of the DSGet functions need to use to get the above fields information to store in oracle table.
RD
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

How do you provide the file name to the job?
What is file date in this context?
What is batchno?
Last edited by ray.wurlod on Wed Oct 17, 2012 2:16 pm, edited 1 time in total.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
venkateshrupineni
Participant
Posts: 15
Joined: Wed May 02, 2012 3:38 am

like audit history of job running

Post by venkateshrupineni »

hello,

if you want to load the data into audit table. i can provide one server routine...
DSRajesh
Premium Member
Premium Member
Posts: 297
Joined: Mon Feb 05, 2007 10:37 pm

Post by DSRajesh »

hi venky

please provide server routine
RD
Post Reply