Hi,
I have a process that read a text file, in this record in a position it has a value, it means the number of records will be repeat, example
F1 F2 F3 F4
HELLO 092983 3 OTHER VALUES
This record will be convert in three records...
F1 F2 F3 F4
HELLO 092983 3 OTHER VALUES
HELLO 092983 3 OTHER VALUES
HELLO 092983 3 OTHER VALUES
I make a routine that receive 2 arguments, the number of repetitions, but i have problems with the EndLine..
The code is
Arg1 = Cadena
Arg2 = Veces
FinLinea = Char(10)
oCad = Cadena
For i = 1 to (Veces - 1)
oCad = FinLinea : oCad
Next i
Ans = Cad : oCad
Thks for your help..
Miguel Seclen
Lima - Peru
Multiline
Moderators: chulett, rschirm, roy
There are some posts helpful for your case, see
http://www.tools4datastage.com/forum/to ... C_ID=84657
for details.
http://www.tools4datastage.com/forum/to ... C_ID=84657
for details.