<?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: How to define OUTLIB in z/OS system re: PROC FCMP (build user defined function) in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-define-OUTLIB-in-z-OS-system-re-PROC-FCMP-build-user/m-p/780679#M248762</link>
    <description>&lt;P&gt;Unlike most procedues, we specify a three level name in the Outlib Option to FCMP.&amp;nbsp;&lt;SPAN&gt;The three levels consist of a libname, a data set name and a&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;package&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;name. A package is the structure that the function is saved and retrieved to/from. A data set can contain multiple packages and a package can contain multiple functions.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Hope this makes sense &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 17 Nov 2021 06:32:10 GMT</pubDate>
    <dc:creator>PeterClemmensen</dc:creator>
    <dc:date>2021-11-17T06:32:10Z</dc:date>
    <item>
      <title>How to define OUTLIB in z/OS system re: PROC FCMP (build user defined function)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-define-OUTLIB-in-z-OS-system-re-PROC-FCMP-build-user/m-p/780629#M248751</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to build user defined function in z/OS system. I gave a PDS name in the jcl but I am getting message&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;ERROR: OUTLIB= requires a three level name: IFILE1.         
WARNING: The following functions will NOT be saved:         
   maxx                                                     &lt;/PRE&gt;
&lt;P&gt;Can someone help me with an example in z/OS system.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Nov 2021 00:07:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-define-OUTLIB-in-z-OS-system-re-PROC-FCMP-build-user/m-p/780629#M248751</guid>
      <dc:creator>gskn4u</dc:creator>
      <dc:date>2021-11-17T00:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to define OUTLIB in z/OS system re: PROC FCMP (build user defined function)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-define-OUTLIB-in-z-OS-system-re-PROC-FCMP-build-user/m-p/780651#M248754</link>
      <description>&lt;P&gt;I was able to execute below code. But I am not sure where WORK.ABC.XYZ resides nor where the function is saved.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;OPTIONS CMPLIB=WORK.ABC   ;                  
                                             
PROC FCMP  OUTLIB = WORK.ABC.XYZ       ;     
    FUNCTION MAXX(X,Y);                      
    IF X&amp;gt;=Y THEN RETURN(X);                  
    ELSE RETURN(Y);                          
    ENDSUB;                                  
RUN;                                         
                                             
DATA _NULL_;                                 
    A = MAXX(4,122343457);                   
    PUT A ;                                  
RUN;                                         &lt;/PRE&gt;
&lt;PRE&gt;NOTE: Function MAXX saved to WORK.ABC.XYZ.                     
NOTE: The PROCEDURE FCMP used 0.06 CPU seconds and 31119K.     &lt;/PRE&gt;</description>
      <pubDate>Wed, 17 Nov 2021 01:22:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-define-OUTLIB-in-z-OS-system-re-PROC-FCMP-build-user/m-p/780651#M248754</guid>
      <dc:creator>gskn4u</dc:creator>
      <dc:date>2021-11-17T01:22:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to define OUTLIB in z/OS system re: PROC FCMP (build user defined function)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-define-OUTLIB-in-z-OS-system-re-PROC-FCMP-build-user/m-p/780679#M248762</link>
      <description>&lt;P&gt;Unlike most procedues, we specify a three level name in the Outlib Option to FCMP.&amp;nbsp;&lt;SPAN&gt;The three levels consist of a libname, a data set name and a&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;package&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;name. A package is the structure that the function is saved and retrieved to/from. A data set can contain multiple packages and a package can contain multiple functions.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Hope this makes sense &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Nov 2021 06:32:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-define-OUTLIB-in-z-OS-system-re-PROC-FCMP-build-user/m-p/780679#M248762</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2021-11-17T06:32:10Z</dc:date>
    </item>
  </channel>
</rss>

