What does the function DSRMessage do? I cant find any reference to it.
Thanks,
Kenny
DSRMessage
You can find out by examining source code, for example the source code for ExecTCL. Its not really intended for public use, although I do use it. AFAIK its purpose is to construct a message in the correct language. It is called with the key (token), a variable to receive the message, and a default message in case the local language message does not exist or the resource file is inaccessible etc. Its DEFFUN is in DSINCLUDE/DSR_COMCONST.H, where you will note that it is not catalogued locally; its in the system, or global, catalogue. Its also used to add parameters to printf style messages, for example for the log file. Examine the dictionary of a DataStage log file for FULL.TEXT, whose expression is
SUBR("*DataStage*DSR_MESSAGE",@ID,MSG.TEXT,RAISE(MSG.ARGS))
-----Original Message-----
From: Salstrom, Kenneth [mailto:Kenneth.Salstrom@msnyuhealth.org]
Sent: Friday, 18 May 2001 04:02
To: DataStage List (E-mail)
Subject: DSRMessage
What does the function DSRMessage do? I cant find any reference to it.
Thanks,
Kenny
SUBR("*DataStage*DSR_MESSAGE",@ID,MSG.TEXT,RAISE(MSG.ARGS))
-----Original Message-----
From: Salstrom, Kenneth [mailto:Kenneth.Salstrom@msnyuhealth.org]
Sent: Friday, 18 May 2001 04:02
To: DataStage List (E-mail)
Subject: DSRMessage
What does the function DSRMessage do? I cant find any reference to it.
Thanks,
Kenny