How to enable traces of a Uproc script

book

Article ID: 194769

calendar_today

Updated On:

Products

CA Automic Dollar Universe

Issue/Introduction

How to trace what a uproc script is doing and having it logged into the Job Log file.

Cause

Troubleshooting step to see what a Uproc script is doing.

 

Environment

Release : 6.x

Component : DOLLAR UNIVERSE

Resolution

For Windows, at the beginning of the uproc script, enter the following:
     @echo on

Run the job again and then check the Job Log for details.

 

For Unix/Linux based systems, you can define the following command on top of the uproc script:
     set -xv

- The parameter -x outputs a trace of simple commands and their arguments
- The parameter -v outputs the shell input lines as they are being read