DSLogInfo

Use the DSLogInfo function to log an information message in a job's log file.

Syntax


Call DSLogInfo (Message, CallingProgName)

Message (input) is the information message you want to log. Message is automatically prefixed with the name of the current stage and the calling program.

CallingProgName (input) is the name of the transform or before/after subroutine that calls the DSLogInfo subroutine.

Remarks

DSLogInfo writes the message text to the job log file as an information message and returns to the calling routine or transform. If DSLogInfo is called during the test phase for a newly created routine in the repository, the two arguments are displayed in the results window.

Unlimited information messages can be written to the job log file. However, if a lot of messages are produced, the job might run slowly and the Director client might take some time to display the job log file.

Example


Call DSLogInfo("Transforming: ":Arg1, "MyTransform")