<?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: SAS MAINFRAME in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SAS-MAINFRAME/m-p/532946#M146078</link>
    <description>Thanks for replay&lt;BR /&gt;i am getting output but the thing is i am getting all records its not i am expeeting bez i am sorting the file so after sorting i getting unique records in saslog only not in outputfile&lt;BR /&gt;plz kindly give me the sum suggestions&lt;BR /&gt;Thanks &amp;amp; Regards&lt;BR /&gt;N muralikrishna&lt;BR /&gt;</description>
    <pubDate>Tue, 05 Feb 2019 15:05:44 GMT</pubDate>
    <dc:creator>rohitkrishna</dc:creator>
    <dc:date>2019-02-05T15:05:44Z</dc:date>
    <item>
      <title>SAS MAINFRAME</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-MAINFRAME/m-p/532574#M145944</link>
      <description>&lt;P&gt;Hi ,&amp;nbsp; I new to the mainframe environment i basically sas programmer i currently working on both environment so i have few dought&amp;nbsp; on compilation of the sas jcl program&amp;nbsp; &amp;nbsp; below the prg&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;//rohit2a job (998924) 'krishna',&lt;/P&gt;&lt;P&gt;// &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; class=0,msgclass=x,notify=&amp;amp;sysuid&lt;/P&gt;&lt;P&gt;//saspgm&amp;nbsp; exec sssas,&lt;/P&gt;&lt;P&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; work='150,100', region=8m,sort='100,100'&lt;/P&gt;&lt;P&gt;//saslist dd sysout=*&lt;/P&gt;&lt;P&gt;//work dd space=(23476,(5,1)),avgrec=k&lt;/P&gt;&lt;P&gt;//dsinput1 dd dsn=in.test.half,disp=shr&lt;/P&gt;&lt;P&gt;//dsoutput dd dsn=in.test.file2.&amp;nbsp; disp=new,&lt;/P&gt;&lt;P&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; unit=sysda,space=(cyl,(10,10),rlse),&lt;/P&gt;&lt;P&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dcb=(recfm=fb,lrecl=128,blksize=12800)&lt;/P&gt;&lt;P&gt;//sysin dd *&lt;/P&gt;&lt;P&gt;------------sas prg begins here-----------------------&lt;/P&gt;&lt;P&gt;data freq;&lt;/P&gt;&lt;P&gt;infile dsinput1 dsd;&lt;/P&gt;&lt;P&gt;input @3 id $char4.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; name $char4.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; surname $char8.;&lt;/P&gt;&lt;P&gt;proc sort data=freq out=dsoutput nodupkey;&lt;/P&gt;&lt;P&gt;by id;&lt;/P&gt;&lt;P&gt;proc print data=dsoutput;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so here the my dought mainly i getting the maxxcc=0000 and my output will display on spoll but not went to outputfile so what is issue and give the sum coding part and some expls&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;N rohitkrishna&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Feb 2019 14:46:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-MAINFRAME/m-p/532574#M145944</guid>
      <dc:creator>rohitkrishna</dc:creator>
      <dc:date>2019-02-04T14:46:49Z</dc:date>
    </item>
    <item>
      <title>Re: SAS MAINFRAME</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-MAINFRAME/m-p/532702#M145980</link>
      <description>&lt;P&gt;This job should fail with a JCL error.&amp;nbsp; Try placing a comma (,) after in.test.file2 and not a period (.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;//dsoutput dd dsn=in.test.file2,&amp;nbsp; disp=new,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Good Luck,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Randy&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Feb 2019 20:01:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-MAINFRAME/m-p/532702#M145980</guid>
      <dc:creator>rbetancourt</dc:creator>
      <dc:date>2019-02-04T20:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: SAS MAINFRAME</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-MAINFRAME/m-p/532732#M145994</link>
      <description>It is unusual to specify dcb information for SAS data.  Just omit that and let sas use default values.&lt;BR /&gt;&lt;BR /&gt;Your program does not write anything to in.test.file2 ... it only writes a temporary sas data set named dsoutput.  If you want a permanent sas data set named mydata, you would need to specify out=dsoutput.mydata.  Permanent sas data sets use two part names where the first part of the name is the name of the DD statement and the second part of the name is the name you assign to the sas data set.</description>
      <pubDate>Mon, 04 Feb 2019 20:36:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-MAINFRAME/m-p/532732#M145994</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2019-02-04T20:36:00Z</dc:date>
    </item>
    <item>
      <title>Re: SAS MAINFRAME</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-MAINFRAME/m-p/532857#M146053</link>
      <description>HI Astounding&lt;BR /&gt;thanks for you reply, and i used your syntax&lt;BR /&gt;out=DSOUTPUT.FREQ one is dd name other one is sas data set name but it shows maxcc=0008&lt;BR /&gt;and in spool it says "Libraray DSOUTPUT is not in a valid format for access method sase7"&lt;BR /&gt;that is error i am getting kindly give solution for that&lt;BR /&gt;Thanks &amp;amp; Regards&lt;BR /&gt;N rohitkrishna&lt;BR /&gt;</description>
      <pubDate>Tue, 05 Feb 2019 07:19:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-MAINFRAME/m-p/532857#M146053</guid>
      <dc:creator>rohitkrishna</dc:creator>
      <dc:date>2019-02-05T07:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: SAS MAINFRAME</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-MAINFRAME/m-p/532907#M146069</link>
      <description />
      <pubDate>Tue, 05 Feb 2019 12:24:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-MAINFRAME/m-p/532907#M146069</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2019-02-05T12:24:39Z</dc:date>
    </item>
    <item>
      <title>Re: SAS MAINFRAME</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-MAINFRAME/m-p/532910#M146070</link>
      <description>When you ran the job the first time, the program created in.test.file2 with incorrect DCB information.  A later program cannot change the structure of the existing data set.  You need to remove the DCB parameter from the DD statement then manually delete in.test.file2 then re-run the job.</description>
      <pubDate>Tue, 05 Feb 2019 12:31:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-MAINFRAME/m-p/532910#M146070</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2019-02-05T12:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: SAS MAINFRAME</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-MAINFRAME/m-p/532946#M146078</link>
      <description>Thanks for replay&lt;BR /&gt;i am getting output but the thing is i am getting all records its not i am expeeting bez i am sorting the file so after sorting i getting unique records in saslog only not in outputfile&lt;BR /&gt;plz kindly give me the sum suggestions&lt;BR /&gt;Thanks &amp;amp; Regards&lt;BR /&gt;N muralikrishna&lt;BR /&gt;</description>
      <pubDate>Tue, 05 Feb 2019 15:05:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-MAINFRAME/m-p/532946#M146078</guid>
      <dc:creator>rohitkrishna</dc:creator>
      <dc:date>2019-02-05T15:05:44Z</dc:date>
    </item>
    <item>
      <title>Re: SAS MAINFRAME</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-MAINFRAME/m-p/532982#M146090</link>
      <description>You will have to show your latest program.&lt;BR /&gt;&lt;BR /&gt;In general you should expect that PROC SORT will not change your original data set.  When using the out= option, the original data set remains unchanged, while the out= data set contains the sorted, unique results.</description>
      <pubDate>Tue, 05 Feb 2019 16:05:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-MAINFRAME/m-p/532982#M146090</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2019-02-05T16:05:17Z</dc:date>
    </item>
    <item>
      <title>Re: SAS MAINFRAME</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-MAINFRAME/m-p/533150#M146139</link>
      <description>HI, Astounding&lt;BR /&gt;I shown above prg in that i mention two differnt data sets one is for input data in that data will there and the other one is output put data so i mention out=output dataset name itself but still i am not getting the sorted data&lt;BR /&gt;Thanks &amp;amp; Regards&lt;BR /&gt;N muralikrishna&lt;BR /&gt;</description>
      <pubDate>Wed, 06 Feb 2019 06:56:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-MAINFRAME/m-p/533150#M146139</guid>
      <dc:creator>rohitkrishna</dc:creator>
      <dc:date>2019-02-06T06:56:08Z</dc:date>
    </item>
    <item>
      <title>Re: SAS MAINFRAME</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-MAINFRAME/m-p/533162#M146145</link>
      <description>For anyone to be able to help, you will have to post the log from your latest program.</description>
      <pubDate>Wed, 06 Feb 2019 07:58:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-MAINFRAME/m-p/533162#M146145</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2019-02-06T07:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: SAS MAINFRAME</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-MAINFRAME/m-p/620426#M182307</link>
      <description>&lt;P&gt;Hey, You should give SASLIST a data set name instead of giving * ( * means, it will write in spool).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please refer the link below,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;A href="https://documentation.sas.com/?docsetId=hosto390&amp;amp;docsetTarget=n0av74evu58bjnn1hhfdazc88lcd.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en"&gt;https://documentation.sas.com/?docsetId=hosto390&amp;amp;docsetTarget=n0av74evu58bjnn1hhfdazc88lcd.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry for the late reply..................... Cheers !!!!!!!!!!!!!&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2020 04:18:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-MAINFRAME/m-p/620426#M182307</guid>
      <dc:creator>Jebastin</dc:creator>
      <dc:date>2020-01-28T04:18:59Z</dc:date>
    </item>
  </channel>
</rss>

