Fix when we run pi-cria-arquivo-csv procedure without p-arquivo variable...

Fix when we run pi-cria-arquivo-csv procedure without p-arquivo variable.
Consider the format from logical variable