The problem an BATCH
Posted: 26 Nov 2013 06:38
Good Morning,
I have a question how to schedule a BAT, I I have been researching but I am find the solution.
I have a text file into columns, this may have hundreds of rows.
PADRE;HIJO;FORMULA;PAIS
DC_IC;CG_IC;;
F_0356698;F_4567879345;Formula;
The FORMULA can be this.
Formula = /* Inicio Formula Asigna valores a país */ IF(@ISMBR("CBU","DES"))@SUM(@CHILDREN(@CURRMBR("Cl ients")));ENDIF; /* Asigna valores a Iberia */IF(@ISMBR("CBU","Iberia"))@SUM(@CHILDREN(@CURRMBR( "CBU")));ENDIF;;
The final file would be this:
“PADRE“,“HIJO“,“FORMULA“
“DC_IC“,“CG_IC“,“ “
“F_0356698“,“F_4567879345“,“Formula“
as I can get?
I think
I create a counter of semicolon (;)
At the beginning of each row you put the character you put "
If find the first ; then ; = “;”
If find the second ; then ; = “;”
At the end of each row you put the character you put "
Thanks
I have a question how to schedule a BAT, I I have been researching but I am find the solution.
I have a text file into columns, this may have hundreds of rows.
PADRE;HIJO;FORMULA;PAIS
DC_IC;CG_IC;;
F_0356698;F_4567879345;Formula;
The FORMULA can be this.
Formula = /* Inicio Formula Asigna valores a país */ IF(@ISMBR("CBU","DES"))@SUM(@CHILDREN(@CURRMBR("Cl ients")));ENDIF; /* Asigna valores a Iberia */IF(@ISMBR("CBU","Iberia"))@SUM(@CHILDREN(@CURRMBR( "CBU")));ENDIF;;
The final file would be this:
“PADRE“,“HIJO“,“FORMULA“
“DC_IC“,“CG_IC“,“ “
“F_0356698“,“F_4567879345“,“Formula“
as I can get?
I think
I create a counter of semicolon (;)
At the beginning of each row you put the character you put "
If find the first ; then ; = “;”
If find the second ; then ; = “;”
At the end of each row you put the character you put "
Thanks