How to calculate sum in ?.checksum file under RT_BPxxx.O?

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
Palermo
Participant
Posts: 24
Joined: Fri Dec 12, 2014 2:05 pm
Location: Belarus
Contact:

How to calculate sum in ?.checksum file under RT_BPxxx.O?

Post by Palermo »

Hi Everyone,

I want to make a quick fix in osh file but when I modify osh file, DS resets compiled job status to not compiled in Director client. I think DS compares checksum between actual files and value from ?.checksum file under RT_BPxxx.O folder. How to calculate sum in '?.checksum' file or disable checking? How to calculate it manually?
Palermo
Participant
Posts: 24
Joined: Fri Dec 12, 2014 2:05 pm
Location: Belarus
Contact:

Post by Palermo »

I found out how to calculate sum. After modifying osh file, run user routine which calls DSCheckSum:

Code: Select all

* 1: result (0-Error, 1-No Error)
* 2: JobName
* 3: Update (0-No, 1-Yes) ?.checksum file under RT_BPxxx.O folder

Call DSCheckSum (result,JobName,Update)

Post Reply