The base below has been downloaded without problems:
FILENAME SETOR_AG URL "http://w3.bdo.ibge.gov.br/index.php?r=administrativos/recursos/setores/CSVSetores"
but when I use that to download this other file in the same site, the download doesn't work well
FILENAME SETOR_AG URL "http://w3.bdo.ibge.gov.br/index.php?r=administrativos/recursos/agencias/CSVAgencias"
both files are in CSV
What can I do to solve this problem?
I use the SAS Enterprise Guide 5.1
.... and the sack of rice dropped again in China.
"doesn't work well" tells us next to NOTHING. PLEASE BE MORE SPECIFIC. Include code and log, and examples of input data that does not end up in SAS as you expected.
Use the proper buttons ({i} and "little running man") to post log and code, respectively.
In my experience when downloading from a link it usually has the .csv at the end. What usually ends up happening, is if I paste the URL into a web browser I should also get a CSV file. Neither of your links produce a CSV file when pasted into the browser so they both seem incorrect.
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!
Check out this tutorial series to learn how to build your own steps in SAS Studio.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.