Focal Point
[SOLVED] Read DataMigrator Logs

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/1381057331/m/6847026886

December 12, 2017, 10:31 AM
Doug
[SOLVED] Read DataMigrator Logs
Can I Read the DataMigrator Logs from a fex created in AppStudio (Text of GUI), and if so, how?

Why? I need to get the date/time stamp from the last creation of a table created by DM. Or, is there a better way to get the date/time stamp?

Thanks in Advance, Doug

This message has been edited. Last edited by: Doug,




   In FOCUS Since 1983 ~ from FOCUS to WebFOCUS.
   Current: WebFOCUS Administrator at FIS Worldpay | 8204, 8206
December 13, 2017, 01:37 PM
FP Mod Chuck
Doug

I think the file you want to reference is etlstats. The master file exists in the \ibi\srv81\home\catalog directory. The actual focus database file are located in the \ibi\srv81\dm\catalog directory. If the data isn't in there, there is also a etllog master and database located in the same places.


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
December 15, 2017, 12:38 PM
TobyMills
Hey Doug

Grab the Data Migrator manual and look at appendix A for what all gets logged and where the logs are. Looks like you could just read em...

DM manual

Appendix A has the descriptions and locations of the log files (page 723 in the manual I'm looking at -you guys are 8.2x I think).

Looks like the .mas files are there in the same folder with the .foc files.

I'll be around this weekend. Maybe we can catch up in person.
December 18, 2017, 04:44 PM
dhagen
quote:
Originally posted by Doug:
Why? I need to get the date/time stamp from the last creation of a table created by DM. Or, is there a better way to get the date/time stamp?


Add the DM as a remote server and run the following:
REMOTE DEST=IDM
-REMOTE BEGIN
SET ALL=ON
TABLE FILE _EDAHOME/CATALOG/SYSAPPS
PRINT FDATE FTIME
WHERE APPNAME EQ 'baseapp';
WHERE FNAME EQ 'new_file';
WHERE FEXT EQ 'mas';
ON TABLE PCHOLD AS FNAMEOUT
END
-REMOTE END
-READFILE FNAMEOUT
-? &F  


The &FDATE is the date the file was created, and &FTIME is the time of day.


"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott
December 18, 2017, 07:45 PM
Doug
Thanks Guys, Smiler

Now that I have the DM Access, and log locations, I can run the report that I need.