<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: DI Studio looping with parameters -error in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/DI-Studio-looping-with-parameters-error/m-p/413794#M12646</link>
    <description>&lt;P&gt;In your Word doc, 3rd screen shot showing the File Location tab, try the option that says "Double quotes around file name". Because you are using a parameter in the file name.&lt;/P&gt;</description>
    <pubDate>Wed, 15 Nov 2017 21:01:05 GMT</pubDate>
    <dc:creator>RLigtenberg</dc:creator>
    <dc:date>2017-11-15T21:01:05Z</dc:date>
    <item>
      <title>DI Studio looping with parameters -error</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/DI-Studio-looping-with-parameters-error/m-p/413734#M12642</link>
      <description>&lt;P&gt;Hi Community!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I find myself at a loss with a problem. As my SAS skills are in the early stages of development, I am again reaching out for help.&lt;/P&gt;&lt;P&gt;I've written a DIS (v4.901) program to process input files from a remote system. All will have the same format, but different names. Once I was satisfied it worked, I created an outer program to read create a contents listing of all files to be processed and pass the names as a parameter . I initially had this working, but I made a copy to try out another process... and I made a change somewhere that has now caused 2 errors.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have attached a word doc with my process and settings for some of the relevant transformations on it as well as the errors I am getting.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2017 16:46:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/DI-Studio-looping-with-parameters-error/m-p/413734#M12642</guid>
      <dc:creator>cnilsen</dc:creator>
      <dc:date>2017-11-15T16:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: DI Studio looping with parameters -error</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/DI-Studio-looping-with-parameters-error/m-p/413778#M12644</link>
      <description>as a follow up.. I realized that this might be an issue.. did I set up this path correctly as part of my parameter settings: /dmadata/AS400&lt;BR /&gt;I am using &amp;amp;filename as my input parm.&lt;BR /&gt;</description>
      <pubDate>Wed, 15 Nov 2017 19:07:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/DI-Studio-looping-with-parameters-error/m-p/413778#M12644</guid>
      <dc:creator>cnilsen</dc:creator>
      <dc:date>2017-11-15T19:07:39Z</dc:date>
    </item>
    <item>
      <title>Re: DI Studio looping with parameters -error</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/DI-Studio-looping-with-parameters-error/m-p/413794#M12646</link>
      <description>&lt;P&gt;In your Word doc, 3rd screen shot showing the File Location tab, try the option that says "Double quotes around file name". Because you are using a parameter in the file name.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2017 21:01:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/DI-Studio-looping-with-parameters-error/m-p/413794#M12646</guid>
      <dc:creator>RLigtenberg</dc:creator>
      <dc:date>2017-11-15T21:01:05Z</dc:date>
    </item>
    <item>
      <title>Re: DI Studio looping with parameters -error</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/DI-Studio-looping-with-parameters-error/m-p/413801#M12647</link>
      <description>&lt;P&gt;And in the 8th screen shot, Prompt Type and Values tab, in the Default value box,&amp;nbsp;can you Browse to the files? If so, select a default for testing. If not, you may need a server definition for the server where the&amp;nbsp;files are located.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2017 21:12:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/DI-Studio-looping-with-parameters-error/m-p/413801#M12647</guid>
      <dc:creator>RLigtenberg</dc:creator>
      <dc:date>2017-11-15T21:12:48Z</dc:date>
    </item>
    <item>
      <title>Re: DI Studio looping with parameters -error</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/DI-Studio-looping-with-parameters-error/m-p/414055#M12654</link>
      <description>&lt;P&gt;Selecting the Double quotes option didn't seem to help, but once I did select a file as a default.. it worked ok.&lt;/P&gt;&lt;P&gt;The problem is that the files I process with be moved to an archive folder. so, once this file processed.. it was removed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The next time I tried to run the program, it said file not found. meaning the defaulted file.&amp;nbsp; I believe that I have to use &amp;amp;filename to represent my incoming file.. but that somewhere in the file location tabs.. I need to default in the Path of the file(s). and I cannot do so using the prompt type and values.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I had this version working.. I made a renamed copy and changed something. this change affected other versions/copies of the program it seems. I should exported the original to save the settings.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;do I have my parm type correct as file or directory? since this will be a filename passed from my control file?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Nov 2017 15:51:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/DI-Studio-looping-with-parameters-error/m-p/414055#M12654</guid>
      <dc:creator>cnilsen</dc:creator>
      <dc:date>2017-11-16T15:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: DI Studio looping with parameters -error</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/DI-Studio-looping-with-parameters-error/m-p/414151#M12657</link>
      <description>&lt;P&gt;I suggest getting the Inner Job to work first so it completes successfully by itself, before putting it in the Loop Job.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Does the Inner Job run successfully with a hardcoded value for the File Name on the File Location tab in screen shot #3?&lt;/LI&gt;
&lt;LI&gt;Does the Inner Job run successfully with &amp;amp;filename as the File Name, the double quotes option and a default value for the &amp;amp;filename parameter? You can assign a default value, for example, on the Parameters tab in the GFGB table properties or with a %let statement in the job or transformation precode. This default value can include the full path to the source file. (The Prompt Type can be "Text". The "File or directory" type gives the convenient Browse feature to pick up the path and file)&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Thu, 16 Nov 2017 21:23:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/DI-Studio-looping-with-parameters-error/m-p/414151#M12657</guid>
      <dc:creator>RLigtenberg</dc:creator>
      <dc:date>2017-11-16T21:23:14Z</dc:date>
    </item>
  </channel>
</rss>

