Can you use scan to generate sequence number ? How to use in abinitio graph?

Answers were Sorted based on User's Feedback



Can you use scan to generate sequence number ? How to use in abinitio graph?..

Answer / saba

In the scan component,you can declare a variable for the sequence number generation.Initialize this variable with 0 and store it in another variable. Then increase the new variable by 1,suppose count is the new variable do it like count = count+1 and finally u can use this count variable or else you can store it in another field..it depends upon ur dml.

Is This Answer Correct ?    3 Yes 0 No

Can you use scan to generate sequence number ? How to use in abinitio graph?..

Answer / satya

yes.. we can use scan by adding a another field in the output dml. And map it with next_in_sequence().

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More Ab Initio Interview Questions

How transaction file different from that of a sort file?

0 Answers  


. How can you run a graph continuously without using continuous components ?

3 Answers   TCL,


What is regex (lookup)? When you should use it?

3 Answers   HCL,


How to insert/update a csv file by comparing it with another csv file? for example, i have 2 input files : ColA ColB ColC 1 A AA 2 B AB 3 C CC and second one : ColA ColB ColC 2 B BB 4 D DC Job should compare these 2 files and update the records present in first input file. so the output file will look like this: ColA ColB ColC 1 A AA 2 B BB 3 C CC 4 D DC

0 Answers  


. How we can remove temp files of a failed job if .rec is not available

2 Answers  






What is abinitio?

0 Answers  


How to compare two dmls in abinitio

0 Answers  


What is is a data flow graph?

0 Answers  


hello, tell me the function which removes spaces from decimal field?

2 Answers  


How to run the graph without GDE?

1 Answers  


Mention what are the different types of parallelism used in abinitio?

0 Answers  


What is AB_LOCAL expression where do you use it in ab- initio?

5 Answers   Cognizant,


Categories