Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

To Shell passes - debugging

I am trying to start a *.bat via the "To Shell Pass".

Unfortunately, even though it does not work as intended, the error log shows no errors.

How would I add some debugging error reporting out of a batch file?

Or should I go all the way along, writing a propoer vb script?

Former Member

In a *.bat file I usually just add statements like the following to get runtime information:

echo %date% %time% some text >> log.txt

However, using VB or Jscript you can directly write messages into the Identity Center job log.

Example for a warning in Jscript:

UserFunc.uErrMsg(1,"some text" + Par);

Kind regards


0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question