<HTML>
<HEAD>
<META name=vsisbn content="1583040374">
<META name=vstitle content="DDS Programming for Display and Printer Files, 2E">
<META name=vsauthor content="James Coolbaugh">
<META name=vspublisher content="29th Street Press">
<META name=vspubdate content="03/01/99">
<META name=vscategory content="Hardware and Operating Systems: Operating Systems: AS/400">
<TITLE>DDS Programming for Display and Printer Files, 2E:Appendix C CRTDSPF and CRTPRTF Command Summary</TITLE>
<!-- HEADER -->
<STYLE type="text/css">
<!--
A:hover {
color : Red;
}
-->
</STYLE>
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
<!--ISBN=1583040374//-->
<!--TITLE=DDS Programming for Display and Printer Files, 2E//-->
<!--AUTHOR=James Coolbaugh//-->
<!--PUBLISHER=29th Street Press//-->
<!--APPENDIX=C//-->
<!--PAGES=375-402//-->
<!--UNASSIGNED1//-->
<!--UNASSIGNED2//-->
<CENTER>
<TABLE BORDER>
<TR>
<TD><A HREF="ewtoc.html">Table of Contents</A></TD>
</TR>
</TABLE>
</CENTER>
<P><BR></P>
<H2><A NAME="Heading1"></A><FONT COLOR="#000077">Appendix C<BR>CRTDSPF and CRTPRTF Command Summary
</FONT></H2>
<P>The CRTDSPF (Create Display File) and CRTPRTF (Create Printer File) commands have a number of parameters that you may find confusing. Although an accurate description of these parameters is provided in the <I>CL Reference</I> (SC41-3722) manual and in the Help text (obtained by pressing the Help key from the command prompter), the interpretation we provide will clarify the meaning of the parameters.</P>
<P>We break the parameters into three sections. The first section contains the parameters common to CRTDSPF and CRTPRTF in parameter name (e.g., FILE and AUT), meaning, function, and valid values. The second and third sections list those parameters that are particular to one or the other command, or that — although they have the same name — have different meaning, function, or valid values. The parameters are listed in alphabetical order within each section.</P>
<P><FONT SIZE="+1"><B>COMMON PARAMETERS</B></FONT></P>
<P><FONT SIZE="+1"><B><I>AUT (Authority)</I></B></FONT></P>
<P>Determines the default authority for the public to the display or printer file. Valid values are *LIBCRTAUT, *CHANGE, *ALL, *USE, *EXCLUDE, or an authorization list name. The default value is *LIBCRTAUT.
</P>
<P><FONT SIZE="+1"><B><I>DECFMT (Decimal Format)</I></B></FONT></P>
<P>Specifies which decimal format is to be used when numeric data is edited via the EDTCDE keyword within the DDS source member. This determines the use of commas and periods. The valid values are *JOB and *FILE. *JOB indicates that the file will use the value found on the job attributes at the time the file is opened. *FILE indicates that the file is to use the decimal format defined at the time the file was created.
</P>
<P><FONT SIZE="+1"><B><I>FILE (File Name)</I></B></FONT></P>
<P>Receives the qualified name of the display or printer file being created. Only the file name portion is required, because the library portion defaults to *CURLIB (current library). The library portion can also be any specific library in existence. If you use *CURLIB but your job has no current library, the display or printer file is placed in QGPL.
</P>
<P><FONT SIZE="+1"><B><I>FLAG (Flagging Severity Level)</I></B></FONT></P>
<P>Indicates which compile error messages are to be listed in the compiler listing. For instance, FLAG(10) tells the compiler to list all messages that have a severity level of 10 or greater. The default value is 0; valid values are from 0-30 or the level indicated by the GENLVL parameter, whichever is less.
</P>
<P><FONT SIZE="+1"><B><I>GENLVL (Generation Severity Level)</I></B></FONT></P>
<P>During compilation, the compiler generates error messages of various severity levels. The GENLVL parameter tells the compiler the maximum acceptable severity level before compilation aborts. For example, GENLVL(25) would indicate that the compiler is to stop if an error message with a severity level of 26 or greater is issued. The default value is 20.
</P>
<P><FONT SIZE="+1"><B><I>IGCDTA (User-Specified DBCS Data)</I></B></FONT></P>
<P>For program-described files: indicates whether or not the file can process double-byte character set (DBCS) data. It can have the values *YES or *NO, with *NO being the default value.
</P>
<P>For externally described files: indicates whether or not to include additional DBCS attributes and identifies DBCS attributes of fields, values, and messages. Valid values are *YES and *NO (the default).</P>
<P><FONT SIZE="+1"><B><I>IGCEXNCHR (DBCS Extension Characters)</I></B></FONT></P>
<P>Tells the system whether to process DBCS extension characters, which are those characters not part of the printer’s internal character set. Valid values are *YES (the default) and *NO.
</P>
<P><FONT SIZE="+1"><B><I>LVLCHK (Record Format Level Check)</I></B></FONT></P>
<P>Each record format (in any type of file) has a level identifier, which is a system-assigned code. If the record format changes (e.g., by adding, changing, or removing fields), the level identifier changes.
</P>
<P>LVLCHK(*YES) tells the system to check the level identifier expected by the program that uses the display or printer file against the level identifier recorded in the *FILE object itself; if there is a mismatch, the system issues an *ESCAPE message and will not open the file. LVLCHK(*NO), on the other hand, disregards mismatches in level identifiers. The default value is *YES, and you should never use the value *NO because unpredictable results may occur.</P>
<P>The following events change the level identifier of a record format:</P>
<DL>
<DD><B>•</B> adding a new field
<DD><B>•</B> changing an existing field’s length or data type
<DD><B>•</B> removing a field
<DD><B>•</B> adding an indicator
<DD><B>•</B> removing an indicator
<DD><B>•</B> changing the order of the fields within the input or output buffer
</DL>
<P>The following events do not change the level identifier:
</P>
<DL>
<DD><B>•</B> adding a new constant
<DD><B>•</B> changing a constant
<DD><B>•</B> changing an existing field’s column heading or text (COLHDG or TEXT)
<DD><B>•</B> changing a field’s “cosmetic” attributes (such as COLOR or DSPATR)
<DD><B>•</B> removing a constant
</DL>
<P>Every time you compile the DDS for a display or printer file, the compiler produces a listing that may or may not include the DDS source code. The OPTION parameter determines whether the DDS is included. The parameter accepts a maximum of three options.
</P>
<P>The first option determines whether to print the DDS source code. The default is to print the code, as indicated by the values *SRC or *SOURCE. If you’d rather not print the DDS source code, specify *NOSRC or *NOSOURCE.</P>
<P>The second option determines whether to produce an expanded source listing, which includes references to other file descriptions. The default is to print the expanded listing, as indicated by *LIST. *NOLIST omits the expanded listing.</P>
<P>The third option tells the compiler whether to include or omit second-level text for the compiler messages. The default is to omit second-level text, as indicated by *NOSECLVL. If you choose to print second-level text (additional information may clarify why the compile failed), specify *SECLVL.</P>
<P><FONT SIZE="+1"><B><I>REPLACE (Replace File)</I></B></FONT></P>
<P>When you successfully compile the DDS source, the system needs to create the display or printer file you want. If the file already exists (from a prior compile), REPLACE(*YES) tells the system to replace the existing file with the new one. The old file is placed in library QRPLOBJ, while the new file is placed in the library you spe
没有合适的资源?快使用搜索试试~ 我知道了~
dds-programming-for-display-and-printer-files
2星 需积分: 9 19 下载量 200 浏览量
2008-06-19
16:16:39
上传
评论
收藏 1.39MB TGZ 举报
温馨提示
共219个文件
html:137个
jpg:82个
dds-programming-for-display-and-printer-files.tgz
资源推荐
资源详情
资源评论
收起资源包目录
dds-programming-for-display-and-printer-files (219个子文件)
appendix-c.html 66KB
book-index.html 51KB
appendix-a.html 45KB
ewtoc.html 32KB
068-078.html 32KB
appendix-d.html 29KB
303-314.html 27KB
256-264.html 21KB
index.html 17KB
251-256.html 16KB
appendix-b.html 15KB
287-292.html 15KB
123-127.html 13KB
128-131.html 13KB
299-303.html 12KB
084-087.html 11KB
078-081.html 11KB
096-098.html 10KB
005-008.html 9KB
224-226.html 9KB
047-050.html 9KB
101-104.html 9KB
276-279.html 9KB
041-043.html 9KB
061-064.html 9KB
216-218.html 9KB
045-047.html 9KB
340-342.html 9KB
279-283.html 9KB
140-142.html 9KB
008-011.html 9KB
192-196.html 9KB
241-243.html 9KB
283-286.html 9KB
163-166.html 9KB
202-205.html 9KB
229-232.html 9KB
132-135.html 9KB
182-184.html 9KB
353-355.html 9KB
011-014.html 9KB
091-093.html 9KB
145-148.html 9KB
327-330.html 9KB
333-335.html 9KB
345-348.html 9KB
016-018.html 9KB
014-016.html 9KB
325-327.html 9KB
150-153.html 9KB
021-023.html 9KB
335-337.html 9KB
142-145.html 9KB
197-199.html 9KB
108-110.html 9KB
050-052.html 9KB
234-236.html 8KB
153-155.html 8KB
137-140.html 8KB
116-118.html 8KB
214-216.html 8KB
176-179.html 8KB
148-150.html 8KB
330-332.html 8KB
093-096.html 8KB
337-339.html 8KB
271-273.html 8KB
169-172.html 8KB
273-276.html 8KB
118-121.html 8KB
350-353.html 8KB
207-210.html 8KB
232-234.html 8KB
269-271.html 8KB
059-061.html 8KB
052-055.html 8KB
027-029.html 8KB
099-101.html 8KB
321-323.html 8KB
245-251.html 8KB
199-202.html 8KB
104-106.html 8KB
179-182.html 8KB
057-059.html 8KB
081-084.html 8KB
189-191.html 8KB
342-344.html 8KB
227-229.html 8KB
205-207.html 8KB
110-113.html 8KB
221-224.html 8KB
264-267.html 8KB
031-034.html 8KB
066-068.html 8KB
001-003.html 8KB
034-036.html 8KB
315-317.html 8KB
348-350.html 8KB
317-320.html 8KB
003-005.html 8KB
共 219 条
- 1
- 2
- 3
资源评论
- choraless2014-01-17这个是html资源,对我没有用
giliwala
- 粉丝: 5
- 资源: 74
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- HCIP-security中高级认证课程 腾科华为全技术力作 打造全方位安全专业培训班
- 基于matlab实现读取由数字图像相关(DIC)软件MatchId生成的 csv矩阵输出.rar
- 基于matlab实现二维数字图像相关算法,可实现亚像素精度的匹配和应变测量.rar
- H11-332RGB/5M LED灯珠发光二极管
- 基于STM32F103C8T6、ESP8266WiFI、Onenet云端、安卓APP的智能灯光控制系统
- 基于matlab实现两幅图像中有重叠部分,通过数字图像相关算法可以找到两幅图像相同的点.rar
- DS.SolidWorks.2024.SP2.0.Premium-SSQ
- c# winform快速建websocket服务器源码 wpf快速搭建websocket服务
- VoNR应答掉话率分析处理案例.docx
- 基于matlab实现数字图像相关,该程序试图通过比较变形前和变形后的两张图像来计算应力和应变GUI.rar
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功