11.01.2013 Views

NX Nastran DMAP Programmer's Guide - Kxcad.net

NX Nastran DMAP Programmer's Guide - Kxcad.net

NX Nastran DMAP Programmer's Guide - Kxcad.net

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

FILE Data block declaration<br />

Declares special characteristics of a data block(s).<br />

Format:<br />

FILE DB1=[SAVE,APPEND,OVRWRT]/DB2=[SAVE,APPEND,<br />

OVRWRT]/... $<br />

Data Blocks:<br />

DBi Names of the data blocks possessing special characteristics.<br />

Parameters:<br />

FILE<br />

Data block declaration<br />

SAVE Indicates data block is to be saved for possible looping in <strong>DMAP</strong><br />

program.<br />

APPEND Same as SAVE and also allows a module to append other data blocks to<br />

DBi on successive passes through a <strong>DMAP</strong> loop.<br />

OVRWRT Allows a data block to be overwritten.<br />

Remarks:<br />

1. FILE is a nonexecutable <strong>DMAP</strong> instruction that is used only by the <strong>DMAP</strong><br />

compiler for information purposes. It may appear anywhere in sub<strong>DMAP</strong>. It is<br />

also a local declaration; i.e., it must be declared in all sub<strong>DMAP</strong>s where the SAVE,<br />

APPEND, or OVRWRT is needed.<br />

2. A data block name may appear only once in all FILE statements within a<br />

sub<strong>DMAP</strong>; otherwise, the first appearance will determine all special<br />

characteristics applied to the data block.<br />

3. The APPEND keyword should only be applied to local scratch data blocks. In<br />

other words, the data block should not be referenced on a TYPE DB statement. It<br />

is also recommended that the APPEND keyword not be applied to data blocks<br />

that appear as output on the EQUIVX module. See the “EQUIVX” on page 1022<br />

module description for further details.<br />

Example:<br />

1. Data block C is created only in the first pass through the loop and must be "saved"<br />

for subsequent passes:<br />

FILE C=SAVE $<br />

TYPE PARM,,CS,N,R=(1.,0.) $<br />

TYPE PARM,,I,N,COUNT=1 $<br />

.<br />

.<br />

.<br />

103

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!