Powercenter - Exit Code

Card Puncher Data Processing

About

Linux Exit code

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.

Error Code

256

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

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.

Documentation / Reference







Share this page:
Follow us:
Task Runner