Desktop productivity for business analysts and programmers

Changing path of input file in a import task

Reply
Frequent Contributor
Posts: 90

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

Esteemed Advisor
Posts: 6,661

Re: Changing path of input file in a import task

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
Ask a Question
Discussion stats
  • 1 reply
  • 96 views
  • 1 like
  • 2 in conversation