<?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: use full info about input statement in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/use-full-info-about-input-statement/m-p/426562#M105111</link>
    <description>Regrate= recreate dictionary fault</description>
    <pubDate>Wed, 10 Jan 2018 17:41:01 GMT</pubDate>
    <dc:creator>rvsidhu035</dc:creator>
    <dc:date>2018-01-10T17:41:01Z</dc:date>
    <item>
      <title>use full info about input statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/use-full-info-about-input-statement/m-p/426497#M105080</link>
      <description>&lt;P&gt;any errors kindly correct&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;input statement=&amp;gt;contains sequence of arguments&lt;BR /&gt;INPUT &amp;lt;variables&amp;gt; &amp;lt;informats&amp;gt; &amp;lt;record-directives&amp;gt; &amp;lt;positionals&amp;gt;;&lt;BR /&gt;&lt;BR /&gt;varaible: char $ or &amp;amp; and numeric(default length=8)&lt;BR /&gt;&lt;BR /&gt;informat: char=w. numeric=w.d&amp;nbsp; (w=width,d=decimal)&lt;BR /&gt;&lt;BR /&gt;record-directives :to hold the current record so that&lt;BR /&gt;you can continue to read from the record with later&lt;BR /&gt;INPUT statements. Otherwise, IML automatically&lt;BR /&gt;goes to the next record for the next INPUT statement&lt;BR /&gt;&lt;BR /&gt;positionals: go to a specific column on the record&lt;BR /&gt;@ operand ;to go to the indicated column&lt;BR /&gt;For example, &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/75109"&gt;@30&lt;/a&gt; means to go to column 30&lt;BR /&gt;+ operand specifies to skip the indicated number of columns.;;&lt;BR /&gt;&lt;BR /&gt;data;&lt;BR /&gt;&lt;BR /&gt;input ========&amp;gt;&amp;nbsp;&amp;nbsp; cards ==============&amp;gt; conditions ====================&amp;gt; output&lt;BR /&gt;&lt;BR /&gt;compilation&lt;BR /&gt;1. syntax errors&lt;BR /&gt;2 pdv class&lt;BR /&gt;3 a b c&lt;BR /&gt;4 c n n&lt;BR /&gt;5 8 8 8&lt;BR /&gt;6 _ . .&lt;BR /&gt;Execution Phae :&lt;BR /&gt;pdv output&lt;BR /&gt;a b c a b c&lt;BR /&gt;_ . .&lt;BR /&gt;1 2 3 1 2 3&lt;BR /&gt;_ . .&lt;BR /&gt;4 5 6 4 5 6&lt;BR /&gt;_ . .&lt;BR /&gt;7 8 9 7 8 9&lt;BR /&gt;&lt;BR /&gt;4 th&lt;BR /&gt;&lt;BR /&gt;;&lt;BR /&gt;&lt;BR /&gt;data class;&lt;BR /&gt;input a b ;&lt;BR /&gt;datalines ; /*cards*/&lt;BR /&gt;1 2 3&lt;BR /&gt;4&lt;BR /&gt;5 6 flowover&lt;BR /&gt;7 8 9&lt;BR /&gt;;&lt;BR /&gt;run;&lt;BR /&gt;input ========&amp;gt;&amp;nbsp;&amp;nbsp; cards ==============&amp;gt;&lt;BR /&gt;conditions ====================&amp;gt; output&lt;BR /&gt;pdv output&lt;BR /&gt;a b a b&lt;BR /&gt;. .&lt;BR /&gt;1 2 1 2&lt;BR /&gt;. .&lt;BR /&gt;4 5 4 5&lt;BR /&gt;. .&lt;BR /&gt;7 8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7 8&lt;BR /&gt;. .&lt;BR /&gt;&lt;BR /&gt;;&lt;BR /&gt;&lt;BR /&gt;data;&lt;BR /&gt;INPUT &amp;lt;specification(s)&amp;gt;&amp;lt;@|@@&amp;gt;; &amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The INPUT statement with no arguments&lt;BR /&gt;is called a null INPUT statement.&lt;BR /&gt;The null INPUT statement;&lt;BR /&gt;&lt;BR /&gt;data _null_;&lt;BR /&gt;set sashelp.class;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;specifications:&lt;BR /&gt;&lt;BR /&gt;variable:&lt;BR /&gt;data var;&lt;BR /&gt;input var1 var2 $;&lt;BR /&gt;datalines;&lt;BR /&gt;1 rajesh&lt;BR /&gt;2 satheesh&lt;BR /&gt;;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;variable list;&lt;BR /&gt;&lt;BR /&gt;data var_list;&lt;BR /&gt;input var1-var3 ;&lt;BR /&gt;datalines;&lt;BR /&gt;1 2 3&lt;BR /&gt;3 4 5&lt;BR /&gt;;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;pointer control:&lt;BR /&gt;(moves the input pointer to a specified line or column);&lt;BR /&gt;data point_ctr;&lt;BR /&gt;input @3 a @5 b;&lt;BR /&gt;datalines;&lt;BR /&gt;1 23456&lt;BR /&gt;6 54321&lt;BR /&gt;;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;column-specifications:&lt;BR /&gt;specifies the columns of the input record that contain&lt;BR /&gt;the value to read. ;&lt;BR /&gt;data clm_spc;&lt;BR /&gt;input a 1-3 b 5-6;&lt;BR /&gt;datalines;&lt;BR /&gt;123 45678&lt;BR /&gt;6547 2536&lt;BR /&gt;;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;format-modifier :&lt;BR /&gt;allows modified list input or controls the amount of&lt;BR /&gt;information that is reported in&lt;BR /&gt;the SAS log when an error in an input value occurs. ;&lt;BR /&gt;&lt;BR /&gt;data format_md;&lt;BR /&gt;/*input a&amp;nbsp; b&amp;nbsp; ;*/&lt;BR /&gt;input a dollar4. b&amp;nbsp; comma7.;&lt;BR /&gt;format a dollar5. b comma7.;&lt;BR /&gt;datalines;&lt;BR /&gt;$250 1,200&lt;BR /&gt;$356 21,345&lt;BR /&gt;;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;informat.&lt;BR /&gt;specifies an informat to use to read the variable value.;&lt;BR /&gt;data informat_md;&lt;BR /&gt;/*input a&amp;nbsp; b&amp;nbsp; ;*/&lt;BR /&gt;input a dollar4. b&amp;nbsp; comma7.;&lt;BR /&gt;format a dollar5. b comma7.;&lt;BR /&gt;datalines;&lt;BR /&gt;$250 1,200&lt;BR /&gt;$356 21,345&lt;BR /&gt;;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;@&lt;BR /&gt;holds an input record for the execution of&lt;BR /&gt;the next INPUT statement within the same iteration of&lt;BR /&gt;the DATA step. This line-hold specifier is called&lt;BR /&gt;trailing&amp;nbsp; ;&lt;BR /&gt;data at_rate;&lt;BR /&gt;input a b @;&lt;BR /&gt;if b=2 then do;&lt;BR /&gt;input @5 c 1. @7 d 1.;end;&lt;BR /&gt;else if b=3 then delete;&lt;BR /&gt;&lt;BR /&gt;datalines;&lt;BR /&gt;1 2 3 6 5&lt;BR /&gt;0 3 5 6 &amp;nbsp;&lt;BR /&gt;0 3 2 6 &amp;nbsp;&lt;BR /&gt;1 2 3 5 5&lt;BR /&gt;;&lt;BR /&gt;run;&lt;BR /&gt;data at_rate1;&lt;BR /&gt;input a b @ ;&lt;BR /&gt;/*if remove @ then chek reult*/&lt;BR /&gt;input&amp;nbsp; c&amp;nbsp; d ;&lt;BR /&gt;datalines;&lt;BR /&gt;1 2 3 6 5&lt;BR /&gt;0 3 5 6 &amp;nbsp;&lt;BR /&gt;0 3 2 6 &amp;nbsp;&lt;BR /&gt;1 2 3 5 5&lt;BR /&gt;;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;@@&lt;BR /&gt;holds the input record for the execution of the&lt;BR /&gt;next INPUT statement across iterations of the DATA step.&lt;BR /&gt;This line-hold specifier is called double trailing @. ;&lt;BR /&gt;data at_at_rate;&lt;BR /&gt;input a b c @@;&lt;BR /&gt;datalines;&lt;BR /&gt;1 2 3 4 5 6 7 8 9&lt;BR /&gt;;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;Column Pointer Controls :&lt;BR /&gt;@n&lt;BR /&gt;moves the pointer to column n.&lt;BR /&gt;ex: @15 moves the pointer to column 15: ;&lt;BR /&gt;data cp_control;&lt;BR /&gt;/*input @1 a $ @2 b$ @3 c;*/&lt;BR /&gt;input @1 a 1. @2&amp;nbsp; b $1. @3 c ;&lt;BR /&gt;datalines;&lt;BR /&gt;1M3&lt;BR /&gt;2F4&lt;BR /&gt;4F3&lt;BR /&gt;;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;@numeric-variable:&lt;BR /&gt;moves the pointer to&lt;BR /&gt;the column given by the value of numeric-variable.;&lt;BR /&gt;data numer_var(drop= d e f);&lt;BR /&gt;d=1;e=2;f=3;&lt;BR /&gt;input @d a 1. @e&amp;nbsp; b $1. @f c ;&lt;BR /&gt;datalines;&lt;BR /&gt;1M3&lt;BR /&gt;2F4&lt;BR /&gt;4F3&lt;BR /&gt;;&lt;BR /&gt;run;&lt;BR /&gt;@(expression)&lt;BR /&gt;moves the pointer to&lt;BR /&gt;the column that is given by the value of expression.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;@'character-string' :&lt;BR /&gt;locates the specified series of characters in the input&lt;BR /&gt;record and moves the pointer to the first column after&lt;BR /&gt;character-string.&lt;BR /&gt;;&lt;BR /&gt;data at_cst;&lt;BR /&gt;input @'ravi' name $4. @'5' b $3.;&lt;BR /&gt;datalines;&lt;BR /&gt;kinravikijg 345369&lt;BR /&gt;ksravilkkj 25623&lt;BR /&gt;;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;@character-variable :&lt;BR /&gt;locates the series of characters in the input record&lt;BR /&gt;that is given by the value of character-variable and moves the pointer to&lt;BR /&gt;the first column after that series of characters.&lt;BR /&gt;&lt;BR /&gt;data at_cst_var;&lt;BR /&gt;a='ravi';&lt;BR /&gt;input @a name $4. @'5' b $3.;&lt;BR /&gt;datalines;&lt;BR /&gt;kinravikijg 345369&lt;BR /&gt;ksravilkkj 25623&lt;BR /&gt;;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;@(character-expression)/@'character-string':&lt;BR /&gt;locates the series of characters in the input record&lt;BR /&gt;that is given by the value of character-expression and&lt;BR /&gt;moves the pointer to the first column after the series.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;+n :&lt;BR /&gt;moves the pointer n columns;&lt;BR /&gt;data nplus;&lt;BR /&gt;/*input&amp;nbsp; a&amp;nbsp; +2 b +3&amp;nbsp; c;*/&lt;BR /&gt;input&amp;nbsp; a&amp;nbsp; +1 b +2&amp;nbsp; c;&lt;BR /&gt;datalines;&lt;BR /&gt;1&amp;nbsp; 2345&amp;nbsp;&amp;nbsp; 6789&lt;BR /&gt;98 7465&amp;nbsp;&amp;nbsp; 231&lt;BR /&gt;;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;+numeric-variable :&lt;BR /&gt;moves the pointer the number of columns&lt;BR /&gt;that is given by the value of numeric-variable.&lt;BR /&gt;&lt;BR /&gt;+(expression)&lt;BR /&gt;moves the pointer the number of columns given&lt;BR /&gt;by expression&lt;BR /&gt;&lt;BR /&gt;Line Pointer Controls:&lt;BR /&gt;&lt;BR /&gt;#n:&lt;BR /&gt;moves the pointer to record n&lt;BR /&gt;&lt;BR /&gt;data at_the_rate6;&lt;BR /&gt;input #1 a b c #2 d e f;&lt;BR /&gt;datalines;&lt;BR /&gt;1 2 3&lt;BR /&gt;4 5 6&lt;BR /&gt;7 8 9&lt;BR /&gt;10 11 12&lt;BR /&gt;;&lt;BR /&gt;run;&lt;BR /&gt;data at_the_rate5;&lt;BR /&gt;input a b c;&lt;BR /&gt;input d e f;&lt;BR /&gt;datalines;&lt;BR /&gt;1 2 3&lt;BR /&gt;4 5 6&lt;BR /&gt;7 8 9&lt;BR /&gt;10 11 12&lt;BR /&gt;;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;/*One input statement, one semicolon, and*/&lt;BR /&gt;/*END; forward slash pointers:*/&lt;BR /&gt;&lt;BR /&gt;data at_the_rate5;&lt;BR /&gt;input a b c/d e f;&lt;BR /&gt;datalines;&lt;BR /&gt;1 2 3&lt;BR /&gt;4 5 6&lt;BR /&gt;7 8 9&lt;BR /&gt;10 11 12&lt;BR /&gt;;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;#numeric-variable :&lt;BR /&gt;moves the pointer to the record that is&lt;BR /&gt;given by the value of numeric-variable.&lt;BR /&gt;&lt;BR /&gt;#(expression):&lt;BR /&gt;moves the pointer to the record&lt;BR /&gt;that is given by the value of expression.&lt;BR /&gt;&lt;BR /&gt;modifers : &amp;amp; and colon :&lt;BR /&gt;Ampersand (&amp;amp;) Modifier : It controls the SAS system,&lt;BR /&gt;values are separated by more than one space. When we use the ampersand format modifier,&lt;BR /&gt;two blanks are required to signal the end of a data value. It can effectively deal with embedded&lt;BR /&gt;spaces/blanks.We can also control length of the variable.&lt;BR /&gt;&lt;BR /&gt;It recognizes&lt;BR /&gt;One single blank --&amp;gt; Embedded blank&lt;BR /&gt;More than one blank --&amp;gt; Delimiter blank&lt;BR /&gt;&lt;BR /&gt;Colon(:) Modifier : It controls the length of the variable and call the informat techniques.&lt;BR /&gt;&lt;BR /&gt;data modifiers ;&lt;BR /&gt;infile cards;&lt;BR /&gt;input eid name&amp;nbsp; &amp;amp;&amp;nbsp; $ 19. Des &amp;amp; $ 18. ;&lt;BR /&gt;cards;&lt;BR /&gt;101 Kiran Kumar varma&amp;nbsp; Tester&lt;BR /&gt;102 Swati Vohra&amp;nbsp; Finance Analyst&lt;BR /&gt;103 Kranthi Bommasani&amp;nbsp; Programmer&lt;BR /&gt;&lt;BR /&gt;;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;"&amp;nbsp;&amp;nbsp; &amp;nbsp;The ~ (tilde) format modifier ; enables you to read and retain&lt;BR /&gt;single quotation marks, double quotation marks, and delimiters within&lt;BR /&gt;character values.";&lt;BR /&gt;"&amp;nbsp;&amp;nbsp; &amp;nbsp;The : (colon) format modifier enables you to use list input but also&lt;BR /&gt;to specify an informat after a variable name, whether character or numeric.&lt;BR /&gt;SAS reads until it encounters a blank column, the defined length of the variable&lt;BR /&gt;(character only), or the end of the data line, whichever comes first.";&lt;BR /&gt;&lt;BR /&gt;data scores;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; infile datalines dlm="," dsd;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; input Name : $9. Score1-Score3 Team ~ $25. Div $;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; datalines;&lt;BR /&gt;Smith,12,22,46,"Green Hornets, Atlanta",AAA&lt;BR /&gt;Mitchel,23,19,25,"High Volts, Portland",AAA&lt;BR /&gt;Jones,09,17,54,"Vulcans, Las Vegas",AA&lt;BR /&gt;;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;input styles;depending on the arragement of data values;&lt;BR /&gt;&lt;BR /&gt;1. column 2. list(simple and modified)&lt;BR /&gt;3.formatted 4.named(can not used another input style here)&lt;BR /&gt;&lt;BR /&gt;1.column input:column numbers follow the variale name&lt;BR /&gt;&amp;nbsp;&amp;nbsp; input name $ 1-8 age 11-12;&lt;BR /&gt;&amp;nbsp;data clm_ip;&lt;BR /&gt;&amp;nbsp;input name $ 1-8 age 11-12;&lt;BR /&gt;&amp;nbsp;datalines;&lt;BR /&gt;raviraje&amp;nbsp; 27&lt;BR /&gt;kingmake&amp;nbsp; 18&lt;BR /&gt;&amp;nbsp;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; run;&lt;BR /&gt;&lt;BR /&gt;2.list input;variable names are simple listed&lt;BR /&gt;"data values are separated by balnk at least one"&lt;BR /&gt;ex; input name $ age;&lt;BR /&gt;data lst_ip;&lt;BR /&gt;input name $ age;&lt;BR /&gt;datalines;&lt;BR /&gt;raviraje 27&lt;BR /&gt;kingmake 18&lt;BR /&gt;;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;3.formatted input;apply both format and informat&lt;BR /&gt;format=sas data to human understand data display =read standard data&lt;BR /&gt;infomrat=read non standard data&lt;BR /&gt;ex; input name $char8. +2 income comma6.;&lt;BR /&gt;data form_ip;&lt;BR /&gt;input name $char8. +2 income comma6.;&lt;BR /&gt;/*format income comma6.;*/&lt;BR /&gt;datalines;&lt;BR /&gt;raju&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 12,000&lt;BR /&gt;sati&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 15,000&lt;BR /&gt;;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;4.named input;specify the name of the variable followed by an equal sign&lt;BR /&gt;ex;input name=$ age=;&lt;BR /&gt;data nm_ip;&lt;BR /&gt;input name=$ age=;&lt;BR /&gt;datalines;&lt;BR /&gt;name=rajesh age=25&lt;BR /&gt;name=shalini age=5&lt;BR /&gt;;&lt;BR /&gt;run;&lt;BR /&gt;5.multiple stysle in single input statement;expect named input&lt;BR /&gt;all of the different input styles&lt;BR /&gt;ex; input id name $18. team 25-30 startwght endwght;&lt;BR /&gt;data mul_ip;&lt;BR /&gt;input id&amp;nbsp; name $5-12 gender $1.;&lt;BR /&gt;datalines;&lt;BR /&gt;123&amp;nbsp; ravi&amp;nbsp;&amp;nbsp; M&lt;BR /&gt;124&amp;nbsp; raju&amp;nbsp;&amp;nbsp; M&lt;BR /&gt;125&amp;nbsp; shaliniF&lt;BR /&gt;;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;pointer controls;&lt;BR /&gt;column pointer controls; +n&amp;nbsp; @n&lt;BR /&gt;line pointer controls ; #n&amp;nbsp; /&lt;BR /&gt;line-hold specifiers;&amp;nbsp; @&amp;nbsp; @@&lt;BR /&gt;&lt;BR /&gt;¢&amp;nbsp;&amp;nbsp; &amp;nbsp;column pointers;&lt;BR /&gt;&amp;nbsp;data noraml98;&lt;BR /&gt;input @1 a @3 b$ @5 c;&lt;BR /&gt;datalines;&lt;BR /&gt;1 M 3&lt;BR /&gt;2&amp;nbsp;&amp;nbsp; 4&lt;BR /&gt;&amp;nbsp; F 3&lt;BR /&gt;;&lt;BR /&gt;run;&lt;BR /&gt;¢&amp;nbsp;&amp;nbsp; &amp;nbsp;column skip pointer +n;&lt;BR /&gt;&amp;nbsp; data noraml36;&lt;BR /&gt;input&amp;nbsp; a +2&amp;nbsp; b$ +3 c;&lt;BR /&gt;datalines;&lt;BR /&gt;1&amp;nbsp;&amp;nbsp; M&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&lt;BR /&gt;2&amp;nbsp;&amp;nbsp; F&amp;nbsp;&amp;nbsp;&amp;nbsp; 6&lt;BR /&gt;run;&lt;BR /&gt;data method4;&lt;BR /&gt;input empid 4. +4&amp;nbsp; name $ 18. +3 Des $ 10. ;&lt;BR /&gt;cards;&lt;BR /&gt;1001&amp;nbsp;&amp;nbsp;&amp;nbsp; Kiran kumar&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Tester&lt;BR /&gt;1002&amp;nbsp;&amp;nbsp;&amp;nbsp; Kranti kumar panda&amp;nbsp;&amp;nbsp; Analyst&lt;BR /&gt;1003&amp;nbsp;&amp;nbsp;&amp;nbsp; pawan kumar saha&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Programmer&lt;BR /&gt;1004&amp;nbsp;&amp;nbsp;&amp;nbsp; Laxmikant Parida&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Manager&lt;BR /&gt;;&lt;BR /&gt;run;&lt;BR /&gt;¢&amp;nbsp;&amp;nbsp; &amp;nbsp;column hold pointer @n&lt;BR /&gt;¢&amp;nbsp;&amp;nbsp; &amp;nbsp;column range pointer .n;&lt;BR /&gt;&amp;nbsp; data noraml;&lt;BR /&gt;input&amp;nbsp; a 1-3&amp;nbsp; b $5-10&amp;nbsp; c 11-16;&lt;BR /&gt;datalines;&lt;BR /&gt;123 raviol 34566&lt;BR /&gt;263 rajesh 36985&lt;BR /&gt;;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;5) absolute input method:&lt;BR /&gt;&lt;BR /&gt;column hold pointer @n @4;&lt;BR /&gt;&lt;BR /&gt;data method4;&lt;BR /&gt;input @1 empid 4. @9&amp;nbsp; name $ 18. &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/75109"&gt;@30&lt;/a&gt; Des $ 10. ;&lt;BR /&gt;cards;&lt;BR /&gt;1001&amp;nbsp;&amp;nbsp;&amp;nbsp; Kiran kumar&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Tester&lt;BR /&gt;1002&amp;nbsp;&amp;nbsp;&amp;nbsp; Kranti kumar panda&amp;nbsp;&amp;nbsp; Analyst&lt;BR /&gt;1003&amp;nbsp;&amp;nbsp;&amp;nbsp; pawan kumar saha&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Programmer&lt;BR /&gt;1004&amp;nbsp;&amp;nbsp;&amp;nbsp; Laxmikant Parida&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Manager&lt;BR /&gt;;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Format Modifiers for Error Reporting:&lt;BR /&gt;&lt;BR /&gt;? :&lt;BR /&gt;suppresses printing the invalid data note&lt;BR /&gt;when SAS encounters invalid data values&lt;BR /&gt;&lt;BR /&gt;?? :&lt;BR /&gt;suppresses printing the messages and the input lines&lt;BR /&gt;when SAS encounters invalid data values.&lt;BR /&gt;The automatic variable _ERROR_&lt;BR /&gt;is not set to 1 for the invalid observation.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2018 15:39:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/use-full-info-about-input-statement/m-p/426497#M105080</guid>
      <dc:creator>rvsidhu035</dc:creator>
      <dc:date>2018-01-10T15:39:38Z</dc:date>
    </item>
    <item>
      <title>Re: use full info about input statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/use-full-info-about-input-statement/m-p/426512#M105087</link>
      <description>&lt;P&gt;What is the actual question here.&amp;nbsp; You have posted a full wall of text, a load of code, attached files, and yet I cannot find a single question anywhere?&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2018 16:00:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/use-full-info-about-input-statement/m-p/426512#M105087</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2018-01-10T16:00:06Z</dc:date>
    </item>
    <item>
      <title>Re: use full info about input statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/use-full-info-about-input-statement/m-p/426513#M105088</link>
      <description>Just info not a question&lt;BR /&gt;</description>
      <pubDate>Wed, 10 Jan 2018 16:01:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/use-full-info-about-input-statement/m-p/426513#M105088</guid>
      <dc:creator>rvsidhu035</dc:creator>
      <dc:date>2018-01-10T16:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: use full info about input statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/use-full-info-about-input-statement/m-p/426538#M105099</link>
      <description>&lt;P&gt;If your goal is to make a "cheat sheet" or tip sheet reference for the INPUT statement, I suggest:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://communities.sas.com/t5/Community-Memo/3-reasons-why-you-should-write-an-article-for-the-SAS/ba-p/309034" target="_self"&gt;Creating an article&lt;/A&gt;, not just a discussion post&lt;/LI&gt;
&lt;LI&gt;Use &lt;A href="https://communities.sas.com/t5/Community-Memo/Getting-the-Most-from-Your-Post-SAS-Syntax-Highlighter/ba-p/230172" target="_self"&gt;the SAS code format&lt;/A&gt; for any code examples&lt;/LI&gt;
&lt;LI&gt;Include links to INPUT statement documentation that can be used for further reference&lt;/LI&gt;
&lt;LI&gt;Review &lt;A href="http://go.documentation.sas.com/?docsetId=lestmtsref&amp;amp;docsetTarget=n0oaql83drile0n141pdacojq97s.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#p06wa3ugw3n1nnn1tvxowh3xfc3a" target="_self"&gt;the SAS-provided doc and examples&lt;/A&gt; to see how your information can be distinct from what's already provided.&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Wed, 10 Jan 2018 16:42:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/use-full-info-about-input-statement/m-p/426538#M105099</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2018-01-10T16:42:49Z</dc:date>
    </item>
    <item>
      <title>Re: use full info about input statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/use-full-info-about-input-statement/m-p/426561#M105110</link>
      <description>Sorry, I am not make cheatsheet , my intention is to explore knowledge what you know or what I know . If I am not compete to Oskar , may this way of posting is wrong but some kids they learn base SAS face more difficult may usefully for this posting and also unclear matter in SAS document , take much more time to understand rules and conditions in SAS .so it's some how usefully if your ienstein in SAS just skip this post and I apologise to you regards your concern what you think."we are learner " we are learners ".thank your complement we recreate my mistake not to repate further.</description>
      <pubDate>Wed, 10 Jan 2018 17:39:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/use-full-info-about-input-statement/m-p/426561#M105110</guid>
      <dc:creator>rvsidhu035</dc:creator>
      <dc:date>2018-01-10T17:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: use full info about input statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/use-full-info-about-input-statement/m-p/426562#M105111</link>
      <description>Regrate= recreate dictionary fault</description>
      <pubDate>Wed, 10 Jan 2018 17:41:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/use-full-info-about-input-statement/m-p/426562#M105111</guid>
      <dc:creator>rvsidhu035</dc:creator>
      <dc:date>2018-01-10T17:41:01Z</dc:date>
    </item>
  </channel>
</rss>

