<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html lang="en-us" xml:lang="en-us"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="security" content="public" /> <meta name="Robots" content="index,follow" /> <meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' /> <meta name="DC.Type" content="reference" /> <meta name="DC.Title" content="Query/38 output considerations for DDM" /> <meta name="abstract" content="Query/38 output to an existing non-iSeries or a non-System/38 target file is possible, but only under specific circumstances." /> <meta name="description" content="Query/38 output to an existing non-iSeries or a non-System/38 target file is possible, but only under specific circumstances." /> <meta name="DC.subject" content=", System/38, Query Utility considerations" /> <meta name="keywords" content=", System/38, Query Utility considerations" /> <meta name="DC.Relation" scheme="URI" content="rbae5sys38tools.htm" /> <meta name="copyright" content="(C) Copyright IBM Corporation 1999, 2006" /> <meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 1999, 2006" /> <meta name="DC.Format" content="XHTML" /> <meta name="DC.Identifier" content="rbae5q38out" /> <meta name="DC.Language" content="en-us" /> <!-- All rights reserved. Licensed Materials Property of IBM --> <!-- US Government Users Restricted Rights --> <!-- Use, duplication or disclosure restricted by --> <!-- GSA ADP Schedule Contract with IBM Corp. --> <link rel="stylesheet" type="text/css" href="./ibmdita.css" /> <link rel="stylesheet" type="text/css" href="./ic.css" /> <title>Query/38 output considerations for DDM</title> </head> <body id="rbae5q38out"><a name="rbae5q38out"><!-- --></a> <!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script> <h1 class="topictitle1">Query/38 output considerations for DDM</h1> <div><p>Query/38 output to an existing non-<span class="keyword">iSeries™</span> or a non-<span class="keyword">System/38™</span> target file is possible, but only under specific circumstances.</p> <div class="section"><p>Query/38 allows output to any local or remote file only if the file is sequential and if its field attributes match those attributes required by the Query/38 application. If both conditions are not met, Query/38 rejects the specified output file before the Query/38 application runs.</p> </div> <div class="section"><p>Because the source server description of a non-<span class="keyword">iSeries</span> or a non-<span class="keyword">System/38</span> target file is very general, its field attributes probably do not match the attributes required by the Query/38 application. Therefore, in most cases, Query/38 rejects that file if it is specified for output. It works, however, if the Query/38 output consists of one alphanumeric field only, and if the record length of the target file is large enough to hold this field.</p> </div> </div> <div> <div class="familylinks"> <div class="parentlink"><strong>Parent topic:</strong> <a href="rbae5sys38tools.htm" title="The topic collection describes the System/38-compatible data file utility (DFU/38) and the System/38-compatible query utility (Query/38).">System/38-compatible database tools</a></div> </div> </div> </body> </html>