Powercenter - Exit Code

1 - About

Linux Exit code

3 - Larger than 255

When an operating system error number larger than 255 is logged into session for a PowerCenter Command Task failure do the following to determine the actual error number:

  1. Take the decimal error number from session log and convert it to hexadecimal value.
  2. Interchange the place of last two digits (00) and first two (01) digits.
  3. Convert this to decimal value. This is the actual error code number.

4 - Error Code

4.1 - 256

  1. HEX(256) = 0x0100
  2. 0100 → 0001
  3. DEC(0001) = 1

4.2 - 512

  1. HEX(512) = 0x0200
  2. 0200 → 0002
  3. DEC(0002) = 2

This error number 2 is a standard OS error [Errno 2] No such file or directory.

5 - Documentation / Reference

dit/powercenter/exit_code.txt · Last modified: 2017/09/06 19:56 by gerardnico