Search found 172 matches

by mdbatra
Wed Feb 15, 2012 1:05 pm
Forum: General
Topic: Log to file
Replies: 32
Views: 15361

As i was building the functionality only for the adhoc failure requests, what i have designed is to provide the Latest start event id as a parameter(but manually, from the job log) :) So, for time being i have this workaround. would work out in detail later and share the updates. Thanks all for your...
by mdbatra
Wed Feb 15, 2012 12:50 pm
Forum: General
Topic: Log to file
Replies: 32
Views: 15361

Is there any way in BASIC to fetch the log based on the start and end time ?
by mdbatra
Wed Feb 15, 2012 8:16 am
Forum: General
Topic: Log to file
Replies: 32
Views: 15361

i understand pandeesh :) ...but i am interested to know why this things is not wondering. I would be left with no other option than to use the unix solution, but my first love is BASIC :)
by mdbatra
Wed Feb 15, 2012 8:10 am
Forum: General
Topic: Log to file
Replies: 32
Views: 15361

That's what the problem is. If you can have a quick look at the sample code above, i used a separate job handle for that job. But the problem here is LOGSTARTED & LOGANY are returning same event id(last event id for latest run), instead of last start event id and last event id of that particular...
by mdbatra
Wed Feb 15, 2012 8:02 am
Forum: General
Topic: Log to file
Replies: 32
Views: 15361

But wouldn't DSJ.ME point to the current job. I am writing the control in a separate job to read the log of a different job.
by mdbatra
Wed Feb 15, 2012 6:39 am
Forum: General
Topic: Log to file
Replies: 32
Views: 15361

LOGSTARTED and LOGANY in DSNewestLogId is yielding the same results, which is the last event id for latest run :( i am using code(this is just a draft version): job = pJobName log_file = pJobLogFile control = DSJobName Call DSLogInfo("job name is ":job,control) Call DSLogInfo("Output ...
by mdbatra
Wed Feb 15, 2012 5:02 am
Forum: General
Topic: Log to file
Replies: 32
Views: 15361

yeah...i am just working on those LOGSTARTED/LOGANY to give me the latest start and event ID, so that i can loop through.

Thanks to your posts dear :)
by mdbatra
Wed Feb 15, 2012 4:51 am
Forum: General
Topic: Log to file
Replies: 32
Views: 15361

Thanks pandeesh, but i would prefer the solutions given in your thread earlier, as i am not very keen to use UNIX for this solution. I should be able to manage now from BASIC. let me try , will get back. and thanks so much for this quick response.
by mdbatra
Wed Feb 15, 2012 4:39 am
Forum: General
Topic: Log to file
Replies: 32
Views: 15361

even if any guide could be provided on fetching the EVENT_ID for the first event of the latest run, i would be able to get the desired results.
Would appreciate any help on this.
by mdbatra
Wed Feb 15, 2012 4:26 am
Forum: General
Topic: Log to file
Replies: 32
Views: 15361

Log to file

Hi All, How do we dump the latest log of a job to a text file? there's is a requirement where we need to send the log to client in case of a failure. Due to time constaint, i was able to browse a few of the posts on this topic, but didn't quite get it. Would prefer if somebody can guide using BASIC/...
by mdbatra
Tue Jan 24, 2012 7:40 am
Forum: General
Topic: BASIC query
Replies: 10
Views: 2133

on a lighter note - ..as you said..., not "u" :D
by mdbatra
Tue Jan 24, 2012 7:29 am
Forum: General
Topic: BASIC query
Replies: 10
Views: 2133

Ray- yeah correct...plus i find that the processing which i needed, would be executed only once if i use 2 READSEQs, but in loop 2 times. Not much difference, but yes as u said, still better to reduce any processing if we can.
Thanks !
by mdbatra
Tue Jan 24, 2012 1:29 am
Forum: General
Topic: BASIC query
Replies: 10
Views: 2133

Chandra- we need to have a header as well, as per the requirements.
Ray - i got your point. But isn't that same as issuing READSEQ in loop ?
by mdbatra
Mon Jan 23, 2012 11:00 pm
Forum: General
Topic: BASIC query
Replies: 10
Views: 2133

BASIC query

Hi, i am reading a sequential file in a job control(pipe delimited), having just 2 records. First record is header ( ValidFrom | ValidTo) & second is having some data values (like, 10 | 15). I need to directly read the data record(10 | 15) and separate the field values and use them for further l...
by mdbatra
Thu Jan 12, 2012 7:25 am
Forum: General
Topic: Job Control Routine
Replies: 1
Views: 1183

i used WHILE , working perfect.
Thanks.