I cant understand.
DO IX=1 TO ISFLINE.0
Regards,
Viswa
the script after passing this line should write only upto the limit ISFLINE.0
I'm afraid i'm not sure how to get the timestamp ? Please advice.
I think theSYSLOG timestamps are particularly difficult: not all records have them, and their format, especially the time of day, is difficult to process.
SDSF LOG translates the 12158 it sees in the SYSLOG records to the current date (06/06/2012) and displays it in a title bar and page headers when you do a PRINT command. I don't think the time of day (20:30:09.42) is processed by SDSF. My program tests each numeric area and the : and . separators to make sure it has a good date & time, and forms a TIME DEC equivalent it uses for its purposes, though it makes no further use of the time of day.Pedro wrote:I think theSYSLOG timestamps are particularly difficult: not all records have them, and their format, especially the time of day, is difficult to process.must do the difficult time formatting on our behalf. I finally tried the program earlier in this thread and the data produced looked exactly like the data shown by SDSF option LOG. No timestamp conversion is required.ADDRESS SDSF "ISFLOG READ TYPE(SYSLOG)"
SDSF LOG translates the 12158 it sees in the SYSLOG records to the current date (06/06/2012) ... I don't think the time of day (20:30:09.42) is processed by SDSF.