<!DOCTYPE html
  PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<!--
Copyright (c) 2006 UGS Corp.

All Rights Reserved.

This software and related documentation are proprietary to UGS Corp.
-->
<html>
   <head>
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <title>LINK</title>
      <script language="javaScript">
        abridged="false";
        displayConditions=new Array();
      </script>
      <link type="text/css" href="../css/main_styles.css" rel="stylesheet">
   </head>
   <body class="bodydocs" onload="top.pageLoader()" bgcolor="#FFFFFF">
      <hr noshade="true">
      <div class="title_refTopic" id="xps10_pagetitle">LINK </div>
      <hr noshade="true">
      <h4 class="refClassification">Link a Main SubDMAP </h4>
      <p class="para_refTopic">Links a main subDMAP to form a solution sequence. </p>
      <div class="title_refCategory">Format: </div>
      <div class="refCategoryContent">
         <p align="center"><img align="bottom" src="graphics/executive-ufig08.gif"></p>
         <p align="center"><img align="bottom" src="graphics/executive-ufig09.gif"></p>
      </div>
      <div class="title_refCategory">Describers:</div>
      <div class="refCategoryContent">
         <table cellpadding="10" width="100%" align="center">
            <colgroup span="1">
               <col span="1" width="25*">
               <col span="1" width="75*">
            </colgroup>
            <thead>
               <tr>
                  <th align="left" colspan="1" rowspan="1">
                     <p class="para_th"><b class="uiTerm">Describer </b></p>
                  </th>
                  <th align="left" colspan="1" rowspan="1">
                     <p class="para_th"><b class="uiTerm">Meaning </b></p>
                  </th>
               </tr>
            </thead>
            <tbody>
               <tr>
                  <td align="left" colspan="1" rowspan="1" valign="top">
                     <p class="para_td">n </p>
                  </td>
                  <td align="left" colspan="1" rowspan="1" valign="top">
                     <p class="para_td">The solution number of the main subDMAP.  See <a class="links" href="javascript:void(0)" onclick="top.openFile('QRG/04ref64485_21.html');return(false);">&ldquo;SOL&rdquo; </a> for the list of valid numbers.  (Integer&gt;0) 
                     </p>
                  </td>
               </tr>
               <tr>
                  <td align="left" colspan="1" rowspan="1" valign="top">
                     <p class="para_td">subDMAP-name </p>
                  </td>
                  <td align="left" colspan="1" rowspan="1" valign="top">
                     <p class="para_td">The name of a main subDMAP.  See the <a class="links" href="javascript:void(0)" onclick="top.popUpPage('QRG/linkInter_target_not_resolved.html#dmap:ref86112:-aux,-home','linkInter','menubar=yes,status=yes,resizable=yes,toolbar=yes,scrollbars=yes,location=no,directories=no');return(false);"><em>NX Nastran DMAP Programmer&rsquo;s Guide</em></a>.  (Character; 1 to 8 alphanumeric characters in length and the first character must be alphabetic.) 
                     </p>
                  </td>
               </tr>
               <tr>
                  <td align="left" colspan="1" rowspan="1" valign="top">
                     <p class="para_td">solout-DBset </p>
                  </td>
                  <td align="left" colspan="1" rowspan="1" valign="top">
                     <p class="para_td">The name of a DBset where the solution sequence executable and the link table of the solution sequence may be stored.  See Remark <a class="links" href="javascript:void(0)" onclick="top.openFile('QRG/04ref64485_19.html#ref23335');return(false);">22-6. </a> (Character; 1 to 8 alphanumeric characters in length and the first character must be alphabetic.) 
                     </p>
                  </td>
               </tr>
               <tr>
                  <td align="left" colspan="1" rowspan="1" valign="top">
                     <p class="para_td">exeout-DBset </p>
                  </td>
                  <td align="left" colspan="1" rowspan="1" valign="top">
                     <p class="para_td">The name of an alternate DBset different than solout-DBset where only the solution sequence executable may be stored.  See Remark <a class="links" href="javascript:void(0)" onclick="top.openFile('QRG/04ref64485_19.html#ref23335');return(false);">22-6. </a> (Character; 1 to 8 alphanumeric characters in length and the first character must be alphabetic.) 
                     </p>
                  </td>
               </tr>
               <tr>
                  <td align="left" colspan="1" rowspan="1" valign="top">
                     <p class="para_td">incl-DBset </p>
                  </td>
                  <td align="left" colspan="1" rowspan="1" valign="top">
                     <p class="para_td">The name of a DBset where other subDMAP objects are obtained.  See Remark <a class="links" href="javascript:void(0)" onclick="top.openFile('QRG/04ref64485_19.html#ref91799');return(false);">22-2. </a> (Character; 1 to 8 alphanumeric characters in length and the first character must be alphabetic.) 
                     </p>
                  </td>
               </tr>
               <tr>
                  <td align="left" colspan="1" rowspan="1" valign="top">
                     <p class="para_td">newname </p>
                  </td>
                  <td align="left" colspan="1" rowspan="1" valign="top">
                     <p class="para_td">A new name which is referenced by the SOL statement.  (Character; 1 to 8 alphanumeric characters in length and the first character must be alphabetic; default is subDMAP-name.) </p>
                  </td>
               </tr>
               <tr>
                  <td align="left" colspan="1" rowspan="1" valign="top">
                     <p class="para_td">MAP </p>
                  </td>
                  <td align="left" colspan="1" rowspan="1" valign="top">
                     <p class="para_td">Prints the link map.  A link map will give the name of all the subDMAPs that make up the solution sequence. </p>
                  </td>
               </tr>
               <tr>
                  <td align="left" colspan="1" rowspan="1" valign="top">
                     <p class="para_td">NOMAP </p>
                  </td>
                  <td align="left" colspan="1" rowspan="1" valign="top">
                     <p class="para_td">Suppresses printing of the link map. </p>
                  </td>
               </tr>
            </tbody>
         </table><br></div>
      <div class="title_refCategory">Remarks: </div>
      <div class="refCategoryContent">
         <ol type="1" start="1">
            <li>
               <p class="para_item">All DBsets specified on this statement must have the same BUFFSIZE.  See <a class="links" href="javascript:void(0)" onclick="top.openFile('QRG/03ref33329_24.html');return(false);">&ldquo;INIT&rdquo; </a>. 
               </p>
            </li>
            <li><a name="ref91799"></a><p class="para_item">SubDMAP objects are created with the COMPILE statement either in the current run or obtained from previous runs.  The LINK statement collects objects in the following order: </p>
               <ul>
                  <li>
                     <p class="para_item">Objects created with the COMPILE statement in the current run. </p>
                  </li>
                  <li>
                     <p class="para_item">Objects residing on the DBset-name specified by the INCLUDE keyword.  The default is MSCOBJ. </p>
                  </li>
               </ul>
            </li>
            <li>
               <p class="para_item">Upon successful linking of a subDMAP, the subDMAP may be executed with the SOL statement. </p>
            </li>
            <li>
               <p class="para_item">The LINK statement must appear after all the COMPILE packages, if any.  A compile package begins with the COMPILE statement and is delimited by the ENDALTER, CEND, LINK, or another COMPILE statement. </p>
            </li>
            <li>
               <p class="para_item">The link table is necessary for COMPILER (or DIAG 4, 14, 17) Executive statement requests and the automatic link process. </p>
            </li>
            <li><a name="ref23335"></a><p class="para_item">EXEOUT is useful in building delivery databases where executables are not to be saved.  EXEOUT defaults to the same DBset as specified by SOLOUT. </p>
            </li>
         </ol>
      </div>
      <div class="title_refCategory">Examples: </div>
      <div class="refCategoryContent">
         <ol type="1" start="1">
            <li><pre class="indent">LINK STATICS</pre><p class="para_item">Links the STATICS main subDMAP.  The program links any subDMAPs compiled in this run, with any other subDMAP objects called in STATICS and stored on the MSCOBJ DBset. </p>
            </li>
            <li><pre class="indent">LINK MYDMAP,SOLNAM=STATICS,SOLOUT=USROBJ,
     NOMAP,INCLUDE=USROBJ</pre><p class="para_item">Links MYDMAP and renames the solution sequence executable to STATICS.  The executable will be saved on the USROBJ DBset.  The order of search for subDMAP objects is: </p>
               <ul>
                  <li>
                     <p class="para_item">Compiled subDMAP in this run. </p>
                  </li>
                  <li>
                     <p class="para_item">USROBJ DBset. </p>
                  </li>
               </ul>
            </li>
         </ol>
      </div>
   </body>
</html>