Generate sequence number in file
Content
Hi,
I have a requirement where in we are reading a source file from FTP location and creating another target file. In the source File i have one column called Transaction number and target file should have two columns Transaction number, line number. If transaction number are duplicates in the rows in source then line numbers should contains sequence values in target file: For example:
Source file:
Transaction number
12
12
12
13
13
14
14
14
14
Target file
Transaction number, line number
12,1
12,2
12,3
13,1
13,2
14,1
14,2
14,3
14,4
Version
19.3.1.0.0
Tagged:
3