<?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: Data entry, format and dll in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Data-entry-format-and-dll/m-p/326976#M271593</link>
    <description>&lt;P&gt;very thanks for reply and coding.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I want to implement without run SAS or sas process because of for quick response in my applicaiton.=(&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>Tue, 24 Jan 2017 08:40:01 GMT</pubDate>
    <dc:creator>kawakami_densuke_jp</dc:creator>
    <dc:date>2017-01-24T08:40:01Z</dc:date>
    <item>
      <title>Data entry, format and dll</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Data-entry-format-and-dll/m-p/326961#M271589</link>
      <description>&lt;P&gt;I'm SAS and other application developer and looking for sas format infromation for developing "data entry form".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I wanna do follow convert.&lt;/P&gt;
&lt;P&gt;Applicaiton-&amp;gt;[entried data,informat]-&amp;gt;dll-&amp;gt;application get return value.&lt;/P&gt;
&lt;P&gt;[] is arguments for call routine.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;example:&lt;/P&gt;
&lt;P&gt;['1 1 1',yymmdd10.]-&amp;gt;dll-&amp;gt;[True, '2001-01-01']&lt;/P&gt;
&lt;P&gt;['1 1 1',yymdd10.]-&amp;gt;dll-&amp;gt;[False, missing]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;anyone has infromation?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In sashelp.vformat, I found "pathname" and "object name" which shows sas installed directory and dll.&lt;/P&gt;
&lt;P&gt;I tried call those dlls but argumens are unknown and faild.=(&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;using&lt;/P&gt;
&lt;P&gt;Base SAS9.4 TS1M3&lt;/P&gt;
&lt;P&gt;Windows 8.1 pro 64bit&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2017 08:16:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Data-entry-format-and-dll/m-p/326961#M271589</guid>
      <dc:creator>kawakami_densuke_jp</dc:creator>
      <dc:date>2017-01-24T08:16:48Z</dc:date>
    </item>
    <item>
      <title>Re: Data entry, format and dll</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Data-entry-format-and-dll/m-p/326969#M271590</link>
      <description>&lt;P&gt;I'm a bit confused. I have never heard of a requirement containing both&amp;nbsp;SASHELP.VFORMAt &lt;EM&gt;and&lt;/EM&gt; dll...&lt;/P&gt;
&lt;P&gt;Can you please elaborate on what you are trying to achieve?&lt;/P&gt;
&lt;P&gt;What is the application, and the underlying requirement?&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2017 08:20:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Data-entry-format-and-dll/m-p/326969#M271590</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2017-01-24T08:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: Data entry, format and dll</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Data-entry-format-and-dll/m-p/326970#M271591</link>
      <description>&lt;P&gt;You might want to look at stored processes.&lt;/P&gt;
&lt;P&gt;The STP would have two text prompts, and then execute a data step like this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
file _webout;
result = input("&amp;amp;prompt1",&amp;amp;prompt2);
if result ne .
then do;
  put 'True';
  put result &amp;amp;prompt2;
end;
else do;
  put 'False';
  put 'missing';
end;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 24 Jan 2017 08:23:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Data-entry-format-and-dll/m-p/326970#M271591</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-01-24T08:23:22Z</dc:date>
    </item>
    <item>
      <title>Re: Data entry, format and dll</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Data-entry-format-and-dll/m-p/326974#M271592</link>
      <description>&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Application is my original application.&lt;/P&gt;&lt;P&gt;I attached sample image.&lt;/P&gt;&lt;P&gt;1.you entry "1 1 1".&lt;/P&gt;&lt;P&gt;2.you click "convert" button.&lt;/P&gt;&lt;P&gt;3."2001-01-01" entered to formated field by automatic.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wanna auto formatting by other process.&lt;/P&gt;&lt;P&gt;Because I developed by hard coding follow and its inefficiency.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if format="yymmdd10." then&lt;/P&gt;&lt;P&gt;else format="datetime16." then&amp;nbsp;&lt;/P&gt;&lt;P&gt;else format="time5." then&lt;/P&gt;&lt;P&gt;else format="time8." then&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;else return="format error!"&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;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/13356i11B17C4ACFFFF953/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="1.png" title="1.png" /&gt;</description>
      <pubDate>Tue, 24 Jan 2017 08:36:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Data-entry-format-and-dll/m-p/326974#M271592</guid>
      <dc:creator>kawakami_densuke_jp</dc:creator>
      <dc:date>2017-01-24T08:36:00Z</dc:date>
    </item>
    <item>
      <title>Re: Data entry, format and dll</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Data-entry-format-and-dll/m-p/326976#M271593</link>
      <description>&lt;P&gt;very thanks for reply and coding.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I want to implement without run SAS or sas process because of for quick response in my applicaiton.=(&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>Tue, 24 Jan 2017 08:40:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Data-entry-format-and-dll/m-p/326976#M271593</guid>
      <dc:creator>kawakami_densuke_jp</dc:creator>
      <dc:date>2017-01-24T08:40:01Z</dc:date>
    </item>
    <item>
      <title>Re: Data entry, format and dll</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Data-entry-format-and-dll/m-p/326977#M271594</link>
      <description>&lt;P&gt;Using SAS without using SAS? The interface for the usage of SAS formats is Base SAS, so you have to use it, or find some way to re-engineer it. Besides that this would violate your license agreement, it would be extremely inefficient.&lt;/P&gt;
&lt;P&gt;And a properly set up STP will have acceptable response times.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2017 08:46:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Data-entry-format-and-dll/m-p/326977#M271594</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-01-24T08:46:42Z</dc:date>
    </item>
    <item>
      <title>Re: Data entry, format and dll</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Data-entry-format-and-dll/m-p/326979#M271595</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/226565"&gt;@japelin&lt;/a&gt;_densuke_jp wrote:&lt;BR /&gt;
&lt;P&gt;very thanks for reply and coding.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But I want to implement without run SAS or sas process because of for quick response in my applicaiton.=(&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;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Then why are you asking about this in a SAS forum?&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2017 09:08:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Data-entry-format-and-dll/m-p/326979#M271595</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-01-24T09:08:18Z</dc:date>
    </item>
    <item>
      <title>Re: Data entry, format and dll</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Data-entry-format-and-dll/m-p/326980#M271596</link>
      <description>&lt;P&gt;I use Delphi to develop interface as substitution of SAS/AF more ease to handle, cheeper.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="st"&gt;Eventually&lt;/SPAN&gt; entered data is going to converted to sas datasets.&lt;/P&gt;&lt;P&gt;Making formatted data is a part of data checking.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Of course I do not re-engineer sas system files.&lt;/P&gt;&lt;P&gt;I recognize it will violate sas license agreement.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I try STP you suggest. &lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thankyou!&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2017 09:09:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Data-entry-format-and-dll/m-p/326980#M271596</guid>
      <dc:creator>kawakami_densuke_jp</dc:creator>
      <dc:date>2017-01-24T09:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: Data entry, format and dll</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Data-entry-format-and-dll/m-p/326982#M271597</link>
      <description>&lt;P&gt;I'm not sure formatting dates checks anything. Check for valid dates are built into many languages. If the date is valid then as long as you don't change your process you can convert it for the database.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Formats are lookup tables, whether that's a list, dictionary or other object in a diff language depends on what's available.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2017 09:13:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Data-entry-format-and-dll/m-p/326982#M271597</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-01-24T09:13:20Z</dc:date>
    </item>
    <item>
      <title>Re: Data entry, format and dll</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Data-entry-format-and-dll/m-p/326983#M271598</link>
      <description>I'm sorry for the information to dispensing.&lt;BR /&gt;&lt;BR /&gt;I use Delphi to develop interface as substitution of SAS/AF more ease to handle and cheeper.&lt;BR /&gt;&lt;BR /&gt;Making formatted data is a part of data checking.&lt;BR /&gt;Because entered data is going to converted to sas datasets finally.&lt;BR /&gt;&lt;BR /&gt;So I look for anyone knows information about sas format dlls and how to use.</description>
      <pubDate>Tue, 24 Jan 2017 09:14:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Data-entry-format-and-dll/m-p/326983#M271598</guid>
      <dc:creator>kawakami_densuke_jp</dc:creator>
      <dc:date>2017-01-24T09:14:28Z</dc:date>
    </item>
    <item>
      <title>Re: Data entry, format and dll</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Data-entry-format-and-dll/m-p/326988#M271599</link>
      <description>&lt;P&gt;I would never use somebody else's .dll.&lt;/P&gt;
&lt;P&gt;The interface to the dll is internal to their software and might (will!) change without further notice.&lt;/P&gt;
&lt;P&gt;The interface for the SAS system is Base SAS, and one should use that.&lt;/P&gt;
&lt;P&gt;STPs are documented and supported. The STP infrastructure &lt;U&gt;is&lt;/U&gt; the replacement for SAS/AF IMO. We have converted all our AF applications to STPs by now.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2017 09:41:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Data-entry-format-and-dll/m-p/326988#M271599</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-01-24T09:41:43Z</dc:date>
    </item>
    <item>
      <title>Re: Data entry, format and dll</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Data-entry-format-and-dll/m-p/326995#M271600</link>
      <description>&lt;P&gt;If you have an application for data entry, regardles of implementation, then that is not a question for this forum which is SAS software specific. &amp;nbsp;I would imagine, that if you try to call bits of the SAS system - assuming you have them at all which isn't clear from your post - might actually invalidate your licence.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What I would suggest is, if you want to write your own application, then use open source formatted data as its output - CSV is simplest, or XML. &amp;nbsp;Then your SAS programs can load that data as part of thier processes. &amp;nbsp;The two systems can then exchange data without needing to interfere with each other. &amp;nbsp;This is the normal method of transfer.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2017 10:00:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Data-entry-format-and-dll/m-p/326995#M271600</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-01-24T10:00:16Z</dc:date>
    </item>
    <item>
      <title>Re: Data entry, format and dll</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Data-entry-format-and-dll/m-p/327005#M271601</link>
      <description>&lt;P&gt;Is your data even in SAS?&lt;/P&gt;
&lt;P&gt;If not, go somewhere else for 3rd party objects.&lt;/P&gt;
&lt;P&gt;If your aim is to update/store data in SAS, STP has already been mentioned. Also, there is a possibility to use OLEDB. Search SAS doc for guidance.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2017 10:34:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Data-entry-format-and-dll/m-p/327005#M271601</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2017-01-24T10:34:39Z</dc:date>
    </item>
    <item>
      <title>Re: Data entry, format and dll</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Data-entry-format-and-dll/m-p/327233#M271602</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;SAS FORUM: Data entry, format and dll

Probably need 'old text editor' DMS(circa 1980) and full SAS.
Does not work in EE, UE, EG or SAS Studio

This does not exactly answer your question but may be helpfull

see
https://listserv.uga.edu/cgi-bin/wa?A2=SAS-L;cea3bbff.1701d

This post
https://goo.gl/y4Ad0Q
https://communities.sas.com/t5/General-SAS-Programming/Data-entry-format-and-dll/m-p/326961

You can also call R (Rshiny?) from SAS/IML
This is an oversimplified example
look at PMENU and datastep Window and 'proc fsedit'


HAVE A DATE
===========

  010101

WANT   (interactive windows -  010101 &amp;lt;enter&amp;gt; and the converted date will popup)
====

   Enter data mmddyy

   010101
   ------

   Converted Date

   01JAN2001
   ---------

FULL SOLUTION
============

%macro datecon;

   %window choose  irow=4 rows=25

    #4 @12 "enter data mmddyy"
    #5 @12  choice 6 attr=underline;
   ;
   %display choose;

   %let date=%sysfunc(putn(%sysfunc(inputn(&amp;amp;choice,mmddyy6)),date9));
   %put &amp;amp;=date;

   %window result  irow=4 rows=25

    #4 @12 "Converted mmddyy"
    #5 @12  "&amp;amp;date" attr=underline;

   %display result;;

%mend datecon;

%datecon;

&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 25 Jan 2017 01:34:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Data-entry-format-and-dll/m-p/327233#M271602</guid>
      <dc:creator>rogerjdeangelis</dc:creator>
      <dc:date>2017-01-25T01:34:24Z</dc:date>
    </item>
    <item>
      <title>Re: Data entry, format and dll</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Data-entry-format-and-dll/m-p/327235#M271603</link>
      <description>&lt;P&gt;If you're application is connected to a SAS session (using IOM), then you might be able to use &lt;A href="http://support.sas.com/rnd/itech/doc9/dev_guide/dist-obj/comdoc/fmtsca.html" target="_self"&gt;the IOM FormatService&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorry, I don't have a ready example. &amp;nbsp;But the FormatService can be used by another app to return a formatted value, given a raw value (or array of them) and a known SAS format.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It's not clear from your question that you are connected via IOM though -- it sounds like you're wanting to use SAS code libraries (DLLs) directly. &amp;nbsp;This is not supported or documented. &amp;nbsp;The only reliable method is to supply your data values into a SAS session (using IOM or another method) and get SAS to format them.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2017 02:01:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Data-entry-format-and-dll/m-p/327235#M271603</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2017-01-25T02:01:04Z</dc:date>
    </item>
    <item>
      <title>Re: Data entry, format and dll</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Data-entry-format-and-dll/m-p/327240#M271604</link>
      <description>&lt;P&gt;You can develop your client with whatever technology and push part of input validation there as long as you're able to communicate via SOAP/REST with a Web Service.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/wbsvcdg/64883/HTML/default/viewer.htm#websrvcs.htm&amp;nbsp;" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/wbsvcdg/64883/HTML/default/viewer.htm#websrvcs.htm&amp;nbsp;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/6877i912664895B6187AC/image-size/original?v=1.0&amp;amp;px=-1" border="0" alt="Capture.PNG" title="Capture.PNG" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2017 03:28:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Data-entry-format-and-dll/m-p/327240#M271604</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2017-01-25T03:28:25Z</dc:date>
    </item>
  </channel>
</rss>

