constriant error

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
bobby
Participant
Posts: 86
Joined: Mon Jul 19, 2004 8:31 pm

constriant error

Post by bobby »

hi,
I just download CRC example and was trying to implement in my Job,
i have an error in CRC variable not define but the job which i load its not showing any error
CRC <> lkup_hashfile.CRC or IsNull( lkup_CRC.CRC)
by
plz advice.
Thanks
Bob
ketfos
Participant
Posts: 562
Joined: Mon May 03, 2004 8:58 pm
Location: san francisco
Contact:

Post by ketfos »

Hi,
What is CRC example? Pl dive clear details of your problem

Ketfos
mhester
Participant
Posts: 622
Joined: Tue Mar 04, 2003 5:26 am
Location: Phoenix, AZ
Contact:

Post by mhester »

Since I developed that job sequence and uploaded this to ADN I guess I should answer.

The var CRC is implemented as a stage variable that holds the return from CRC32. You'll notice that you need to pass some of or all of the record to CRC32 to generate a CRC value.

Regards,
bobby
Participant
Posts: 86
Joined: Mon Jul 19, 2004 8:31 pm

Post by bobby »

Hi ,
Thats exactly is did , but same error when i look hash file CRC32 have
created values too.
Thanks,
Bobby
mhester
Participant
Posts: 622
Joined: Tue Mar 04, 2003 5:26 am
Location: Phoenix, AZ
Contact:

Post by mhester »

The premise behind the example would be for use during SCD processing although any change data processing is fair game. You read (ref) from the same hash that you write to. Also, there would likely be some pre process that would extract (from the DB) those rows that you will be processing during the current run and builds the hash table that is used.

Regards,
Post Reply