<?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: Problem with SAS work library after SAS9.2 installation in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Problem-with-SAS-work-library-after-SAS9-2-installation/m-p/43751#M8979</link>
    <description>Since you are passing the SAS "WORK" allocated library, I expect your SAS CONFIG option WORKINIT is specified, rather than a previous default-behavior of NOWORKINIT.&lt;BR /&gt;
&lt;BR /&gt;
If this is the case, your next option might be to discuss the default-assignment change with your SAS System Administrator.  Then you can decide if your situation requires you to code NOWORKINIT or you may need to change from using WORK to some other LIBNAME &lt;LIBREF&gt; that is not so dependent on the SAS system.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.&lt;BR /&gt;
&lt;BR /&gt;
//S1       EXEC SAS913                       &lt;BR /&gt;
//WORK     DD   DSN=&amp;amp;&amp;amp;WORK,DISP=(NEW,PASS)   &lt;BR /&gt;
//SYSIN    DD   DATA,DLM=ZZ                  &lt;BR /&gt;
%PUT %SYSFUNC(GETOPTION(WORKINIT));          &lt;BR /&gt;
DATA WORK.DUMMY;                             &lt;BR /&gt;
  DUMMY=1;                                   &lt;BR /&gt;
RUN;                                         &lt;BR /&gt;
ZZ                                           &lt;BR /&gt;
//S2       EXEC SAS,OPTIONS=WORKINIT         &lt;BR /&gt;
//WORK     DD   DSN=&amp;amp;&amp;amp;WORK,DISP=OLD&lt;BR /&gt;
//SYSIN    DD   DATA,DLM=ZZ                  &lt;BR /&gt;
DATA ;                                       &lt;BR /&gt;
SET WORK.DUMMY;                              &lt;BR /&gt;
RUN;                                         &lt;BR /&gt;
%PUT %SYSFUNC(GETOPTION(WORKINIT));          &lt;BR /&gt;
ZZ&lt;/LIBREF&gt;</description>
    <pubDate>Fri, 03 Dec 2010 09:25:22 GMT</pubDate>
    <dc:creator>sbb</dc:creator>
    <dc:date>2010-12-03T09:25:22Z</dc:date>
    <item>
      <title>Problem with SAS work library after SAS9.2 installation</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Problem-with-SAS-work-library-after-SAS9-2-installation/m-p/43750#M8978</link>
      <description>Hi all,&lt;BR /&gt;
&lt;BR /&gt;
Recently we migrated our SAS software from SAS8.2 to SAS9.2. We use SAS under Z/OS. Below is the problem description,&lt;BR /&gt;
&lt;BR /&gt;
I have a JCL with two steps,&lt;BR /&gt;
&lt;BR /&gt;
Step1: Execute a sas program (say SASPGM1). I have specified a work library for this step. SASPGM1 creates an intermittent SAS dataset (e.g. DATASET1);&lt;BR /&gt;
Step2: Execute another SAS program (say SASPGM2). Here I use the same work library as used in step1. But when I try to access the intermittent sas dataset (dataset1) created in step1, the program fails stating that WORK.DATASET1.DATA does not exist.&lt;BR /&gt;
&lt;BR /&gt;
The same JCL works fine with SAS8 but not with SAS9.2. Below is the sample JCL:&lt;BR /&gt;
&lt;BR /&gt;
//STEPA EXEC SAS&lt;BR /&gt;
//WORK DD DSN=&amp;amp;&amp;amp;WORKLIB,DISP=(,PASS),UNIT=DISK&lt;BR /&gt;
//SYSIN DD DSN=HLQ1.HLQ2.SAS(SASPGM1),DISP=SHR&lt;BR /&gt;
//*&lt;BR /&gt;
//STEPB EXEC SAS&lt;BR /&gt;
//WORK DD DSN=&amp;amp;&amp;amp;WORKLIB,DISP=(OLD,KEEP)&lt;BR /&gt;
//SYSIN DD DSN=HLQ1.HLQ2.SAS(SASPGM2),DISP=SHR&lt;BR /&gt;
&lt;BR /&gt;
I have workarounds, but I want to know why is this not working.</description>
      <pubDate>Fri, 03 Dec 2010 04:59:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Problem-with-SAS-work-library-after-SAS9-2-installation/m-p/43750#M8978</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-12-03T04:59:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with SAS work library after SAS9.2 installation</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Problem-with-SAS-work-library-after-SAS9-2-installation/m-p/43751#M8979</link>
      <description>Since you are passing the SAS "WORK" allocated library, I expect your SAS CONFIG option WORKINIT is specified, rather than a previous default-behavior of NOWORKINIT.&lt;BR /&gt;
&lt;BR /&gt;
If this is the case, your next option might be to discuss the default-assignment change with your SAS System Administrator.  Then you can decide if your situation requires you to code NOWORKINIT or you may need to change from using WORK to some other LIBNAME &lt;LIBREF&gt; that is not so dependent on the SAS system.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.&lt;BR /&gt;
&lt;BR /&gt;
//S1       EXEC SAS913                       &lt;BR /&gt;
//WORK     DD   DSN=&amp;amp;&amp;amp;WORK,DISP=(NEW,PASS)   &lt;BR /&gt;
//SYSIN    DD   DATA,DLM=ZZ                  &lt;BR /&gt;
%PUT %SYSFUNC(GETOPTION(WORKINIT));          &lt;BR /&gt;
DATA WORK.DUMMY;                             &lt;BR /&gt;
  DUMMY=1;                                   &lt;BR /&gt;
RUN;                                         &lt;BR /&gt;
ZZ                                           &lt;BR /&gt;
//S2       EXEC SAS,OPTIONS=WORKINIT         &lt;BR /&gt;
//WORK     DD   DSN=&amp;amp;&amp;amp;WORK,DISP=OLD&lt;BR /&gt;
//SYSIN    DD   DATA,DLM=ZZ                  &lt;BR /&gt;
DATA ;                                       &lt;BR /&gt;
SET WORK.DUMMY;                              &lt;BR /&gt;
RUN;                                         &lt;BR /&gt;
%PUT %SYSFUNC(GETOPTION(WORKINIT));          &lt;BR /&gt;
ZZ&lt;/LIBREF&gt;</description>
      <pubDate>Fri, 03 Dec 2010 09:25:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Problem-with-SAS-work-library-after-SAS9-2-installation/m-p/43751#M8979</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2010-12-03T09:25:22Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with SAS work library after SAS9.2 installation</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Problem-with-SAS-work-library-after-SAS9-2-installation/m-p/43752#M8980</link>
      <description>Thanks a lot. This was very helpful.</description>
      <pubDate>Fri, 03 Dec 2010 09:40:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Problem-with-SAS-work-library-after-SAS9-2-installation/m-p/43752#M8980</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-12-03T09:40:34Z</dc:date>
    </item>
  </channel>
</rss>

