Desktop productivity for business analysts and programmers

Changing path of input file in a import task

Reply
Frequent Contributor
Posts: 137

Changing path of input file in a import task

Hi,

 

I have made an import of a file in SAS/EG using import task.

Now I want to change the path of the file in the task, but the field of the path is protected.

Is it possible ti change the path once the task is made??

 

Thanks in advance

Super User
Posts: 10,527

Re: Changing path of input file in a import task

Posted in reply to juanvg1972

Quite obviously, one can't do that (just tried it).

 

If you need this to be more flexible, you will have to do the whole process in SAS code (the file import task in EG works in two stages: EG converts the file to a special text format and uploads it, then a data step reads theat file into a SAS dataset). For this you will have to set up a way that allows you to dynamically make the source file accessible on the SAS server. Shared network location, use of a FTP/SFTP server, ...)

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
How to convert datasets to data steps
How to post code
Ask a Question
Discussion stats
  • 1 reply
  • 461 views
  • 2 likes
  • 2 in conversation