AnsweredAssumed Answered

Using :REGISTER_OUTPUTFILE to register an output file whose name is not known ahead of time.

Question asked by Michael_Lowry on Feb 11, 2015
Latest reply on Feb 12, 2015 by Tim_Quakulinsky
A job prints a message like this to the output:
Logfile is /usr/local/ebm/uc4/logs/2015-02-09-16.20.47.log
I’d like to find a way to capture the name of this log file and register it as a separate output file in the job report. E.g.,
:SET &REPORT_HND# = PREP_PROCESS_REPORT( , , "REP", "Log file is *", "COL=DELIMITER,DELIMITER=@

)
:PROCESS &REPORT_HND#
:  SET &LOGFILE#=GET_PROCESS_LINE(&REPORT_HND#,3)
:ENDPROCESS
:CLOSE_PROCESS &REPORT_HND#
:REGISTER_OUTPUTFILE

&LOGFILE#", "N"
Unfortunately, it is not possible to use :REGISTER_OUTPUTFILE in the post-process tab. Has anyone found a solution to this?

Outcomes