You are not logged in.
Announcement
Unanswered posts
|
Pages: 1

Hi all
Here are two subjobs in one father job.
one of the two named "Waiting for Rank"(call it job_a ),the other named "Rank"(job_b).
job_a—(onsubjobok)—>job_b
job_a write data into a csv file,and job_b will read and process it.
in job_b,there are three tmaps,each of them do the same operation ,adding sequence cloumn for the tables order by different cloumn. so,here I used Numeric.sequence() three times .( to distinguish them,i use "s1","s2","s3" as the string parameter).
when i run the father job directly,I get wrong sequence number for table1 which use the "s1" as the string parameter for the function. However ,if I run the two subjobs one by one,the result is ok.
I don't know why..
I change the "s1" to "s",and then ran the father job,the result is ok again.
Could any one give a in-depth expression about the function Numeric.sequence(string,int,int) for me? especially the string parameter.
Thanks very much.
BestRegards,
Joe
Offline

hi pedro
I have tried to send a export job to shong before. But it seems that i can't send any file except words out from company computer.
Can you tell me the string parameter in Numeric.sequence() is for what? In my opinion,it be without any real meaning.
Joe
Offline

Hi Joe
There isn't any real meaning for the string parameter in Numeric.sequence().
Could you show us more detail so that I can reproduce this issue?
Regards,
Pedro
Offline

I think perhaps you have Numeric.sequence("s1",1,1) in both subjobs? The "s1" is just the name of the sequence but because sequences are created in a routine, they are shared across all jobs running in the same JVM i.e. each job run at the same time using the same sequence name will reference the same sequence.
Offline
Pages: 1