<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>还是那只鱼-newcoin&#039;s blog &#187; 大机</title>
	<atom:link href="http://www.newcoin.info/tag/%e5%a4%a7%e6%9c%ba/feed" rel="self" type="application/rss+xml" />
	<link>http://www.newcoin.info</link>
	<description>人生没有彩排，每天都是现场直播...</description>
	<lastBuildDate>Tue, 20 Jul 2010 16:34:19 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>大型机ISPF必备操作指令</title>
		<link>http://www.newcoin.info/%e5%a4%a7%e5%9e%8b%e6%9c%baispf%e5%bf%85%e5%a4%87%e6%93%8d%e4%bd%9c%e6%8c%87%e4%bb%a4.html</link>
		<comments>http://www.newcoin.info/%e5%a4%a7%e5%9e%8b%e6%9c%baispf%e5%bf%85%e5%a4%87%e6%93%8d%e4%bd%9c%e6%8c%87%e4%bb%a4.html#comments</comments>
		<pubDate>Tue, 14 Apr 2009 01:33:04 +0000</pubDate>
		<dc:creator>newcoin</dc:creator>
				<category><![CDATA[大型机｜Mainframe]]></category>
		<category><![CDATA[ISPF]]></category>
		<category><![CDATA[JCL]]></category>
		<category><![CDATA[QSAM]]></category>
		<category><![CDATA[TSO命令]]></category>
		<category><![CDATA[Z/OS]]></category>
		<category><![CDATA[大型机资料]]></category>
		<category><![CDATA[大机]]></category>

		<guid isPermaLink="false">http://www.newcoin.info/?p=27531</guid>
		<description><![CDATA[
1).TSO是什么？
2.Command Processor
2).ISPF是什么？
3.会话式系统
3）.在AMS HOST上，USER PASSWORD错误输入限制次数是多少？
2.3次
4）.对于JAPAN AMS的USER PASSWORD的使用期限是多少？
1.6个月
 


5）.如何分配一个新的顺序数据或者分区数据集？
1.TSO ALLOCATE命令
2.ISPF UTILITY 3.2.A
6）.如何向其它的用户发送数据集或者数据文件？
（文章来源：http://www.newcoin.info）
3.XMIT命令
4.TRANSMIT命令
7）.如何从其它的用户接受数据集或者数据文件？
1.RECEIVE命令
8）.如何让其它USER存取自己的数据资源？
3.PERMIT命令
9）.如何查看对数据集GROUP拥有存取权限？
4.LISTUSER
10）.如何COPY/MOVE数据集或者MEMBER文件？
1.ISPF UTILITY 3.3 2 ISPF UTILITY 3.1
4.ISPF UTILITY 3.4
11）.如何删除数据集？
1.DELETE命令2.ISPF UTILITY 3.4
（文章来源：http://www.newcoin.info）
12）.如何删除MEMBER文件？
1.DELETE命令2.ISPF UTILITY 3.4
3.ISPF UTILITY 3.1
13）.如何压缩数据集？
2.ISPF UTILITY 3.4
3.ISPF UTILITY 3.1
14）.如何查看数据集的属性信息？
1.LISTDS命令2.ISPF UTILITY 3.4
3.ISPF UTILITY 3.1 4.ISPF UTILITY 3.2
15）.如何确定分区数据集中的MEMBER编目数？
2.ISPF UTILITY 3.4
3.ISPF UTILITY 3.1 4.ISPF UTILITY 3.2
16）.在JOB LOG UTILITY操作中，一般都使用哪些基本命令?
H,I,O,DA,ST,OWNER *
17).在JOB LOG UTILITY操作中，一般都使用哪些行命令?
（文章来源：http://www.newcoin.info）
//…//C,C,P,S,?
18).如何把JOB LOG信息存到数据集中?
1.XDC行命令2.ISPF UTILITY 3.8
19).数据文件编辑用的行命令或者基本命令问题：
1.line插入命令是什么？à I,In
2.line拷贝命令是什么？à C,CC…CC,Cn
3.line删除命令是什么？à D,DD…DD,Dn
4.line移动命令是什么？à M,MM…MM,Mn
5.line覆盖命令是什么？ à OO…OO,O,On
6.line复制命令是什么？ à RR…RR,R,Rn
7.列标识表示line命令是什么？ à COLS
8.查看文件profile的基本命令是什么？ à PROFILE
9.从其它文件拷贝/移动数据的基本命令是什么？ à COPY
10.改变字符串的命令是什么？ à CHANGE
11.查找字符串的命令是什么？ à CHANGE
12.排序命令是什么？ à SORT
13.根据当前文件数据建立一个新的文件的命令是什么？àCREATE
14.查看十六进制数据的命令是什么？ à HEX ON/HEX OFF
20）.如何在指定的数据集中搜索数据？
3.ISPF UTILITY 3.14 4.ISPF UTILITY 3.15
21）.如何比较两个数据？
2.ISPF UTILITY 3.13
4.ISPF UTILITY 3.12
23）.在编辑MEMBER文件时，如果SAVE命令失败的话，该如何查找原因？
1.使用START命令打开另一个SESSION,在3.4下压缩MEMBER所在的分区数据集
2.1.不能解决的话，请查看MEMBER所在的分区数据集的MEMBER编目数是否不够？，
如果不够的话，请重新分配一个编目数足够大的分区数据集，并把旧的数据集下
的MEMBER移到新建的DATASET上，然后删除旧的数据集。
3.查看数据集有效空间是否已经没有了.
（文章来源：http://www.newcoin.info）
24）.***友情提示：
顺序文件(QSAM)
MEMBER文件
VSAM文件
文件
顺序数据集
分区数据集
扩展分区数据集
VSAM数据集(标识,INDEX,DATA)

]]></description>
			<content:encoded><![CDATA[<div class="Section0">
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">1).TSO</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,BoldItalic';">是什么？</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">2.Command </span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Arial';">Processor</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">2).ISPF</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,BoldItalic';">是什么？</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">3.</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,Bold';">会话式系统</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">3</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,BoldItalic';">）</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">.</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,BoldItalic';">在</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">AMS HOST</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,BoldItalic';">上，</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">USER PASSWORD</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,BoldItalic';">错误输入限制次数是多少？</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">2.3</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,Bold';">次</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">4</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,BoldItalic';">）</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">.</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,BoldItalic';">对于</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">JAPAN AMS</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,BoldItalic';">的</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">USER PASSWORD</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,BoldItalic';">的使用期限是多少？</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">1.6</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,Bold';">个月</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,Bold';"> <span id="more-27531"></span><br />
</span></span>
</p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">5</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,BoldItalic';">）</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">.</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,BoldItalic';">如何分配一个新的顺序数据或者分区数据集？</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">1.TSO ALLOCATE</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,Bold';">命令</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">2.ISPF UTILITY 3.2.A</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">6</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,BoldItalic';">）</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">.</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,BoldItalic';">如何向其它的用户发送数据集或者数据文件？</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="font-size: 10.5pt; font-family: 'Times New Roman';"><span style="font-family: 宋体;">（文章来源：<a href="http://www.newcoin.info">http://www.newcoin.info</a>）</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">3.XMIT</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,Bold';">命令</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">4.TRANSMIT</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,Bold';">命令</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">7</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,BoldItalic';">）</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">.</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: '俵俽柧挬,BoldItalic';">如何从其它的用</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,BoldItalic';">户</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: '俵俽柧挬,BoldItalic';">接受数据集或者数据文件？</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">1.RECEIVE</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: '俵俽柧挬,Bold';">命令</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">8</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,BoldItalic';">）</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">.</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,BoldItalic';">如何让其它</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">USER</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,BoldItalic';">存取自己的数据资源？</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">3.PERMIT</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,Bold';">命令</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">9</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,BoldItalic';">）</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">.</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,BoldItalic';">如何查看对数据集</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">GROUP</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,BoldItalic';">拥有存取权限？</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">4.LISTUSER</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">10</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,BoldItalic';">）</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">.</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,BoldItalic';">如何</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">COPY/MOVE</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,BoldItalic';">数据集或者</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">MEMBER</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,BoldItalic';">文件？</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">1.ISPF UTILITY 3.3 2 ISPF UTILITY 3.1</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">4.ISPF UTILITY 3.4</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">11</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,BoldItalic';">）</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">.</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,BoldItalic';">如何删除数据集？</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">1.DELETE</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,Bold';">命令</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">2.ISPF UTILITY 3.4</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="font-size: 10.5pt; font-family: 'Times New Roman';"><span style="font-family: 宋体;">（文章来源：<a href="http://www.newcoin.info">http://www.newcoin.info</a>）</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">12</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,BoldItalic';">）</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">.</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: '俵俽柧挬,BoldItalic';">如何</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,BoldItalic';">删</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: '俵俽柧挬,BoldItalic';">除</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">MEMBER</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: '俵俽柧挬,BoldItalic';">文件？</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">1.DELETE</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: '俵俽柧挬,Bold';">命令</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">2.ISPF UTILITY 3.4</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">3.ISPF UTILITY 3.1</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">13</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,BoldItalic';">）</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">.</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,BoldItalic';">如何压缩数据集？</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">2.ISPF UTILITY 3.4</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">3.ISPF UTILITY 3.1</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">14</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,BoldItalic';">）</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">.</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,BoldItalic';">如何查看数据集的属性信息？</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">1.LISTDS</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: '俵俽柧挬,Bold';">命令</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">2.ISPF UTILITY 3.4</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">3.ISPF UTILITY 3.1 4.ISPF UTILITY 3.2</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">15</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,BoldItalic';">）</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">.</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,BoldItalic';">如何确定分区数据集中的</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">MEMBER</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,BoldItalic';">编目数？</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">2.ISPF UTILITY 3.4</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">3.ISPF UTILITY 3.1 4.ISPF UTILITY 3.2</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">16</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,BoldItalic';">）</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">.</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,BoldItalic';">在</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">JOB LOG UTILITY</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,BoldItalic';">操作中，一般都使用哪些基本命令</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">?</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">H,I,O,DA,ST,OWNER *</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">17).</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: '俵俽柧挬,BoldItalic';">在</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">JOB LOG UTILITY</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: '俵俽柧挬,BoldItalic';">操作中，一般都使用哪些</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,BoldItalic';">行</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: '俵俽柧挬,BoldItalic';">命令</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">?</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="font-size: 10.5pt; font-family: 'Times New Roman';"><span style="font-family: 宋体;">（文章来源：<a href="http://www.newcoin.info">http://www.newcoin.info</a>）</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">//</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: '俵俽柧挬,BoldItalic';">…</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">//C,C,P,S,?</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">18).</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,BoldItalic';">如何把</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">JOB LOG</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,BoldItalic';">信息存到数据集中</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">?</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">1.XDC</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,Bold';">行命令</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">2.ISPF UTILITY 3.8</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">19).</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,BoldItalic';">数据文件编辑用的行命令或者基本命令问题：</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">1.line</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,Bold';">插入命令是什么？</span><span style="font-style: normal; font-size: 10.5pt; font-family: 'Wingdings';">à </span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">I,In</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">2.line</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,Bold';">拷贝命令是什么？</span><span style="font-style: normal; font-size: 10.5pt; font-family: 'Wingdings';">à </span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">C,CC</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: '俵俽柧挬,Bold';">…</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">CC,Cn</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">3.line</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,Bold';">删除命令是什么？</span><span style="font-style: normal; font-size: 10.5pt; font-family: 'Wingdings';">à </span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">D,DD</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: '俵俽柧挬,Bold';">…</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">DD,Dn</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">4.line</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,Bold';">移动命令是什么？</span><span style="font-style: normal; font-size: 10.5pt; font-family: 'Wingdings';">à </span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">M,MM</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: '俵俽柧挬,Bold';">…</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">MM,Mn</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">5.line</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,Bold';">覆盖命令是什么？ </span><span style="font-style: normal; font-size: 10.5pt; font-family: 'Wingdings';">à </span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">OO</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: '俵俽柧挬,Bold';">…</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">OO,O,On</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">6.line</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,Bold';">复制命令是什么？ </span><span style="font-style: normal; font-size: 10.5pt; font-family: 'Wingdings';">à </span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">RR</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: '俵俽柧挬,Bold';">…</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">RR,R,Rn</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">7.</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,Bold';">列标识表示</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">line</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,Bold';">命令是什么？ </span><span style="font-style: normal; font-size: 10.5pt; font-family: 'Wingdings';">à </span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">COLS</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">8.</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,Bold';">查看文件</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">profile</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,Bold';">的基本命令是什么？ </span><span style="font-style: normal; font-size: 10.5pt; font-family: 'Wingdings';">à </span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">PROFILE</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">9.</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,Bold';">从其它文件拷贝</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">/</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,Bold';">移动数据的基本命令是什么？ </span><span style="font-style: normal; font-size: 10.5pt; font-family: 'Wingdings';">à </span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">COPY</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">10.</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,Bold';">改变字符串的命令是什么？ </span><span style="font-style: normal; font-size: 10.5pt; font-family: 'Wingdings';">à </span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">CHANGE</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">11.</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,Bold';">查找字符串的命令是什么？ </span><span style="font-style: normal; font-size: 10.5pt; font-family: 'Wingdings';">à </span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">CHANGE</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">12.</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,Bold';">排序命令是什么？ </span><span style="font-style: normal; font-size: 10.5pt; font-family: 'Wingdings';">à </span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">SORT</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">13.</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,Bold';">根据当前文件数据建立一个新的文件的命令是什么？</span><span style="font-style: normal; font-size: 10.5pt; font-family: 'Wingdings';">à</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">CREATE</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">14.</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,Bold';">查看十六进制数据的命令是什么？ </span><span style="font-style: normal; font-size: 10.5pt; font-family: 'Wingdings';">à </span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">HEX ON/HEX OFF</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">20</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,BoldItalic';">）</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">.</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,BoldItalic';">如何在指定的数据集中搜索数据？</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">3.ISPF UTILITY 3.14 4.ISPF UTILITY 3.15</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">21</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,BoldItalic';">）</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">.</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,BoldItalic';">如何比较两个数据？</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">2.ISPF UTILITY 3.13</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">4.ISPF UTILITY 3.12</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">23</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: '俵俽柧挬,BoldItalic';">）</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">.</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: '俵俽柧挬,BoldItalic';">在</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,BoldItalic';">编辑</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">MEMBER</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: '俵俽柧挬,BoldItalic';">文件</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,BoldItalic';">时</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: '俵俽柧挬,BoldItalic';">，如果</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">SAVE</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: '俵俽柧挬,BoldItalic';">命令失</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,BoldItalic';">败</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: '俵俽柧挬,BoldItalic';">的</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,BoldItalic';">话</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: '俵俽柧挬,BoldItalic';">，</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,BoldItalic';">该</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: '俵俽柧挬,BoldItalic';">如何</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,BoldItalic';">查找原因</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: '俵俽柧挬,BoldItalic';">？</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">1.</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: '俵俽柧挬,Bold';">使用</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">START</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: '俵俽柧挬,Bold';">命令打</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,Bold';">开</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: '俵俽柧挬,Bold';">另一个</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">SESSION,</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: '俵俽柧挬,Bold';">在</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">3.4</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: '俵俽柧挬,Bold';">下</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,Bold';">压缩</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">MEMBER</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: '俵俽柧挬,Bold';">所在的分区数据集</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">2.1.</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: '俵俽柧挬,Bold';">不能解决的</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,Bold';">话</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: '俵俽柧挬,Bold';">，</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,Bold';">请查</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: '俵俽柧挬,Bold';">看</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">MEMBER</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: '俵俽柧挬,Bold';">所在的分区数据集的</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">MEMBER</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,Bold';">编</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: '俵俽柧挬,Bold';">目数是否不</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,Bold';">够</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: '俵俽柧挬,Bold';">？，</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: '俵俽柧挬,Bold';">如果不</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,Bold';">够</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: '俵俽柧挬,Bold';">的</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,Bold';">话</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: '俵俽柧挬,Bold';">，</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,Bold';">请</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: '俵俽柧挬,Bold';">重新分配一个</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,Bold';">编</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: '俵俽柧挬,Bold';">目数足</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,Bold';">够</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: '俵俽柧挬,Bold';">大的分区数据集，并把旧的数据集下</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: '俵俽柧挬,Bold';">的</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">MEMBER</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: '俵俽柧挬,Bold';">移到新建的</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">DATASET</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: '俵俽柧挬,Bold';">上，然后</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,Bold';">删</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: '俵俽柧挬,Bold';">除旧的数据集。</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">3.</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,Bold';">查</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: '俵俽柧挬,Bold';">看数据集有效空</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,Bold';">间</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: '俵俽柧挬,Bold';">是否已</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,Bold';">经</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: '俵俽柧挬,Bold';">没有了</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">.</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="font-size: 10.5pt; font-family: 'Times New Roman';"><span style="font-family: 宋体;">（文章来源：<a href="http://www.newcoin.info">http://www.newcoin.info</a>）</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">24</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,BoldItalic';">）</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'Times New Roman';">.***</span><span style="font-weight: bold; font-style: normal; font-size: 10.5pt; font-family: 'SimSun,BoldItalic';">友情提示：</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-style: normal; font-size: 10.5pt; font-family: '宋体';">顺序文件</span><span style="font-style: normal; font-size: 10.5pt; font-family: 'Arial';">(QSAM)</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-style: normal; font-size: 10.5pt; font-family: 'Arial';">MEMBER</span><span style="font-style: normal; font-size: 10.5pt; font-family: '宋体';">文件</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-style: normal; font-size: 10.5pt; font-family: 'Arial';">VSAM</span><span style="font-style: normal; font-size: 10.5pt; font-family: '宋体';">文件</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-style: normal; font-size: 10.5pt; font-family: '宋体';">文件</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-style: normal; font-size: 10.5pt; font-family: '宋体';">顺序数据集</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-style: normal; font-size: 10.5pt; font-family: '宋体';">分区数据集</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-style: normal; font-size: 10.5pt; font-family: '宋体';">扩展分区数据集</span></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="color: #888888;"><span style="font-style: normal; font-size: 10.5pt; font-family: 'Arial';">VSAM</span><span style="font-style: normal; font-size: 10.5pt; font-family: '宋体';">数据集</span><span style="font-style: normal; font-size: 10.5pt; font-family: 'Arial';">(</span><span style="font-style: normal; font-size: 10.5pt; font-family: '宋体';">标识</span><span style="font-style: normal; font-size: 10.5pt; font-family: 'Arial';">,INDEX,DATA)</span></span></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.newcoin.info/%e5%a4%a7%e5%9e%8b%e6%9c%baispf%e5%bf%85%e5%a4%87%e6%93%8d%e4%bd%9c%e6%8c%87%e4%bb%a4.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>cobol考试自测题库</title>
		<link>http://www.newcoin.info/cobol%e8%80%83%e8%af%95%e8%87%aa%e6%b5%8b%e9%a2%98%e5%ba%93.html</link>
		<comments>http://www.newcoin.info/cobol%e8%80%83%e8%af%95%e8%87%aa%e6%b5%8b%e9%a2%98%e5%ba%93.html#comments</comments>
		<pubDate>Tue, 17 Mar 2009 09:22:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[大型机｜Mainframe]]></category>
		<category><![CDATA[cobol]]></category>
		<category><![CDATA[selftest]]></category>
		<category><![CDATA[大机]]></category>
		<category><![CDATA[文档资料]]></category>
		<category><![CDATA[考试]]></category>
		<category><![CDATA[自测]]></category>
		<category><![CDATA[题库]]></category>

		<guid isPermaLink="false">http://newcoin.info/?p=27301</guid>
		<description><![CDATA[QUESTIONS.
1. Which of the foolowing words is NOT e COBOL reserved word.
O (a) RECORD
O (b) INDEX
O (c) DATA
O (d) FILE
2. Which of the following words can NOT be used to perform calculations in a COBOL program.
O (a) ASSIGN
O (b) DIVIDE
O (c) MULTIPLY
O (d) ADD

3. A COBOL programmer wants to repeat an instruction 5 times. How [...]]]></description>
			<content:encoded><![CDATA[<p>QUESTIONS.<br />
1. Which of the foolowing words is NOT e COBOL reserved word.<br />
O (a) RECORD<br />
O (b) INDEX<br />
O (c) DATA<br />
O (d) FILE<br />
2. Which of the following words can NOT be used to perform calculations in a COBOL program.<br />
O (a) ASSIGN<br />
O (b) DIVIDE<br />
O (c) MULTIPLY<br />
O (d) ADD</p>
<p><span id="more-27301"></span><br />
3. A COBOL programmer wants to repeat an instruction 5 times. How can he/she code this?<br />
O (a)<br />
REPEAT 5 TIMES<br />
instructie<br />
END-REPEAT<br />
O (b)<br />
PERFORM 5 TIMES<br />
instructie<br />
END-PERFORM<br />
O (c)<br />
MOVE 1 TO COUNTER<br />
PERFORM UNTIL COUNTER = 5<br />
COMPUTE COUNTER = COUNTER + 1<br />
instructie<br />
END-PERFORM<br />
O (d)<br />
REPEAT VARYING COUNTER FROM 1 BY 1 UNTIL COUNTER = 5<br />
instructie<br />
END-PERFORM<br />
10/02/2006 Selftest : COBOL programming &#8211; part 1 4<br />
4. Which of the following answers gives the divisions of a COBOL program in the right order.<br />
O (a) Environment &#8211; Identification &#8211; Data &#8211; Procedure<br />
O (b) Identification &#8211; Environment &#8211; Data &#8211; Procedure<br />
O (c) Identification &#8211; Environment &#8211; Procedure &#8211; Data<br />
O (d) Environment &#8211; Identification &#8211; Procedure &#8211; Data<br />
5. Which of the following variable names for data items are syntactically correct ? (2 answers)<br />
[_] [a] CITY-CODE<br />
[_] [b] -NR-OF-ITEMS<br />
[_] [c] TOTAL-NUMBER-OF-LINES-PER-TEST<br />
[_] [d] PRODUCT NUMBER<br />
[_] [e] INDEX<br />
6. When is the coding of a period obligatory ? (3 answers)<br />
[_] [a] after each 01 level of a variable declaration<br />
[_] [b] at the end of each instruction<br />
[_] [c] at the end of each paragraph<br />
[_] [d] at the end of the program<br />
[_] [e] to end an IF instruction<br />
7. Which of the following symbols can NOT be coded on position 7 of a COBOL program.<br />
O (a) -<br />
O (b) *<br />
O (c) /<br />
O (d) #<br />
10/02/2006 Selftest : COBOL programming &#8211; part 1 5<br />
8. Take a look at the following COBOL program. Assuming A, B, C, &#8230; are COBOL instructions,<br />
in which order will they be executed?<br />
MAIN-PAR.<br />
PERFORM INIT-PAR<br />
Z<br />
PERFORM TERM-PAR<br />
Z<br />
STOP RUN<br />
.<br />
INIT-PAR.<br />
A<br />
B<br />
PERFORM READ-X<br />
.<br />
LOOP-PAR.<br />
E<br />
F<br />
.<br />
TERM-PAR.<br />
G<br />
H<br />
.<br />
READ-X.<br />
X.<br />
O (a) A B Z E F Z X<br />
O (b) A B X Z E F G H Z X<br />
O (c) A B X Z E F Z G H Z<br />
O (d) A B X Z G H Z<br />
9. Take a look at the following calculation. If you take the normal priority rules in account, how will<br />
this calculation be executed ?<br />
A ** 2 * B / 2 + c &#8211; 5<br />
O (a) (((A ** 2) * B) / 2) + c &#8211; 5<br />
O (b) ((A ** 2) * (B / 2)) + c &#8211; 5<br />
O (c) (A ** 2) * (B / (2 + c)) &#8211; 5<br />
O (d) ((A ** (2 * B)) / 2) + c &#8211; 5<br />
10/02/2006 Selftest : COBOL programming &#8211; part 1 6<br />
10. A COBOL programmer wants to print out a number in his.her program. Which of the following<br />
variables is best suited for this purpose?<br />
+123.45<br />
we assume that ‘.’ is the decimal point<br />
O (a) PIC 9(5)<br />
O (b) PIC +9(3).99<br />
O (c) PIC +9(3)V9(2)<br />
O (d) PIC 9(3).V9(2)<br />
11. Take a look at the following variable declarations. What will be the content of RESULT at the<br />
end of the series of MOVE instructions?<br />
01 VAR-1 PIC X(5) VALUE (PL/I).<br />
01 VAR-2 PIC X(10).<br />
01 VAR-3 PIC X(2).<br />
01 RESULT PIC X(5).<br />
MOVE ‘COBOL’ TO RESULT<br />
MOVE VAR-1 TO VAR-2<br />
MOVE VAR-2 TO VAR-3<br />
MOVE VAR-3 TO RESULT<br />
O (a) PLbbb (bbb = 3 blancs)<br />
O (b) COBOL<br />
O (c) COBPL<br />
O (d) PLBOL<br />
12. Which of the following variable declarations are syntactically correct?<br />
(1) 01 VAR-1 PIC SX(4).<br />
(2) 01 VAR-2 PIC S9(4).<br />
(3) 01 VAR-1 PIC V99.<br />
(4) 01 VAR-1 PIC P99.<br />
(5) 01 VAR-1 PIC 9(4)S.<br />
(6) 01 VAR 1 PIC X(4).<br />
O (a) 2, 3, and 6<br />
O (b) 3, 4 and 6<br />
O (c) 1, 2 and 3<br />
O (d) 2, 3 and 4<br />
10/02/2006 Selftest : COBOL programming &#8211; part 1 7<br />
13. Which of the follwing PIC definitions can be used in the declaration of a record of a sequential<br />
file that will be used as INPUT (2 answers)<br />
[_] [a] PIC X(9)<br />
[_] [b] PIC S9(4) COMP<br />
[_] [c] PIC Z(4)<br />
[_] [d] PIC 9(4)V99<br />
[_] [e] PIC 9(4).99<br />
14. Which tests are allowed with the following variable? (2 answers)<br />
01 END-OF-FILE PIC X.<br />
88 EOF VALUE ‘N’.<br />
[_] [a] IF EOF THEN &#8230;<br />
[_] [b] IF EOF IS TRUE THEN &#8230;<br />
[_] [c] IF END-OF-FILE = ‘Y’ THEN &#8230;<br />
[_] [d] IF END-OF-FILE THEN &#8230;<br />
15. Assume one wants to print out the follwing number. How must the display variable be declared<br />
in the COBOL program.<br />
content 00232^45 negative (^ is the presumed decimal sign)<br />
display $bbb232.45- ( bbb = 3 blancs)<br />
O (a) PIC $Z(6).99-<br />
O (b) PIC $(7).99-<br />
O (c) PIC $Z(6)V99-<br />
O (d) PIC -$Z(6).99<br />
10/02/2006 Selftest : COBOL programming &#8211; part 1 8<br />
16. Which of the following COBOL EVALUATE statements in syntactically NOT correct?<br />
O (a)<br />
EVALUATE A<br />
WHEN 0 DISPLAY ‘A = 0‘<br />
WHEN 5 DISPLAY ‘A = 5‘<br />
WHEN OTHER DISPLAY ‘A IS NOT 0 NOR 5’<br />
END-EVALUATE<br />
O (b)<br />
EVALUATE TRUE<br />
WHEN A=0 DISPLAY ‘A = 0‘<br />
WHEN A=5 DISPLAY ‘A = 5‘<br />
WHEN OTHER DISPLAY ‘A IS NOT 0 OR 5’<br />
END-EVALUATE<br />
O (c)<br />
EVALUATE A<br />
WHEN A=0 DISPLAY ‘A = 0‘<br />
WHEN A=5 DISPLAY ‘A = 5‘<br />
WHEN OTHER DISPLAY ‘A IS NOT 0 NOR 5’<br />
END-EVALUATE<br />
17. Take a look at the following COBOL instruction. When will PAR-3 be executed?<br />
IF A=B THEN<br />
PAR-1<br />
ELSE<br />
PAR-2.<br />
PAR-3<br />
O (a) never<br />
O (b) if A is equal to B<br />
O (c) if A is different from B<br />
O (d) always<br />
18. For each file you want to read in in a COBOL program you have to provide a set of declarations<br />
and instructions. In which order must they be executed?<br />
(1) SELECT infile ASSIGN TO xx<br />
(2) READ infile<br />
(3) OPEN INPUT infile<br />
(4) CLOSE infile<br />
O (a) 3, 1, 2, 4<br />
O (b) 1, 3, 2, 4<br />
O (c) 1, 2, 3, 4<br />
O (d) 3, 2, 1, 4<br />
10/02/2006 Selftest : COBOL programming &#8211; part 1 9<br />
19. Which of the following statements concerning files are true ? (2 answers)<br />
[_] [a] the FD entry in the DATA DIVISION gives a description of the structure of a file.<br />
[_] [b] the first record is automatically read on opening a file.<br />
[_] [c] if a file is opened in I-O mode you can use this file for reading as well as for writing.<br />
[_] [d] you can not read indexed files from a COBOL program.<br />
[_] [e] in the SELECT clause you have to give a complete description of the exact location of<br />
the file.<br />
20. What is the content of RESULT after execution of the following COBOL instruction. The start<br />
value of RESULT is 0.<br />
PERFORM VARYING C FROM 1 BY 1 UNTIL C = 6<br />
COMPUTE RESULT = RESULT + 1<br />
END-PERFORM<br />
O (a) 4<br />
O (b) 5<br />
O (c) 6<br />
O (d) 7<br />
10/02/2006 Selftest : COBOL programming &#8211; part 1 10<br />
EVALUATION.<br />
Here are the correct answers to all questions:<br />
1. c<br />
2. a<br />
3. b<br />
4. b<br />
5. a c<br />
6. a c d<br />
7. d<br />
8. d<br />
9. a<br />
10. b<br />
11. a<br />
12. d<br />
13. a d<br />
14. a c<br />
15. a<br />
16. c<br />
17. d<br />
18. b<br />
19. a c<br />
20. b</p>
]]></content:encoded>
			<wfw:commentRss>http://www.newcoin.info/cobol%e8%80%83%e8%af%95%e8%87%aa%e6%b5%8b%e9%a2%98%e5%ba%93.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VSAM文件结构及管理</title>
		<link>http://www.newcoin.info/vsam%e6%96%87%e4%bb%b6%e7%bb%93%e6%9e%84%e5%8f%8a%e7%ae%a1%e7%90%86.html</link>
		<comments>http://www.newcoin.info/vsam%e6%96%87%e4%bb%b6%e7%bb%93%e6%9e%84%e5%8f%8a%e7%ae%a1%e7%90%86.html#comments</comments>
		<pubDate>Mon, 16 Mar 2009 09:21:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[大型机｜Mainframe]]></category>
		<category><![CDATA[VASM]]></category>
		<category><![CDATA[大机]]></category>
		<category><![CDATA[文档资料]]></category>
		<category><![CDATA[资料]]></category>

		<guid isPermaLink="false">http://newcoin.info/?p=27284</guid>
		<description><![CDATA[VSAM文件结构及管理
   VSAM(Virtual Storage Access Method)文件是IBM 公司在虚拟存储器和树型数据结
构的基础上，为了满足数据量大，存取速度快和维护方便的要求而发展起来的一种文件组织
形式。VSAM文件可分为以下几种组织形式：
  1) 键顺序文件KSDS：这种文件与索引文件相似，由索引部分和数据部分组成。索引部
     分包含树型结构的多级索引。数据部分内的记录按键值顺序排列。因此，这种文件
     及可以按键值进行顺序存取，也可利用索引，根据键值进行直接存取。

   2) 输入顺序文件ESDS：文件内的记录按输入顺序排列。因此，可以按照排列顺序进行
      存取，也可以指定记录的相对字节地址，对特定记录进行存取。
   3) 相对记录文件RRDS：文件空间被划分为等长的SLOT，每个SLOT 只存放一个记录，
      从第一个SLOT 开始分别赋予连续的顺序号，这样的号码叫相对记录号。只要给出
      相对记录号，就可实现对特定记录的直接存取。
   4) 线性文件LDS：只有数据组件，由应用去成组/分解逻辑记录。
1． VSAM 文件结构
 [...]]]></description>
			<content:encoded><![CDATA[<p>VSAM文件结构及管理<br />
   VSAM(Virtual Storage Access Method)文件是IBM 公司在虚拟存储器和树型数据结<br />
构的基础上，为了满足数据量大，存取速度快和维护方便的要求而发展起来的一种文件组织<br />
形式。VSAM文件可分为以下几种组织形式：<br />
  1) 键顺序文件KSDS：这种文件与索引文件相似，由索引部分和数据部分组成。索引部<br />
     分包含树型结构的多级索引。数据部分内的记录按键值顺序排列。因此，这种文件<br />
     及可以按键值进行顺序存取，也可利用索引，根据键值进行直接存取。<br />
<span id="more-27284"></span><br />
   2) 输入顺序文件ESDS：文件内的记录按输入顺序排列。因此，可以按照排列顺序进行<br />
      存取，也可以指定记录的相对字节地址，对特定记录进行存取。<br />
   3) 相对记录文件RRDS：文件空间被划分为等长的SLOT，每个SLOT 只存放一个记录，<br />
      从第一个SLOT 开始分别赋予连续的顺序号，这样的号码叫相对记录号。只要给出<br />
      相对记录号，就可实现对特定记录的直接存取。<br />
   4) 线性文件LDS：只有数据组件，由应用去成组/分解逻辑记录。</p>
<p>1． VSAM 文件结构<br />
    VSAM 数据集中的数据除线性数据集外，都被组成记录(逻辑记录)。逻辑记录是用户访问<br />
  数据集的单位。VSAM 的逻辑记录与非VSAM 数据集的存储方式不同。VSAM 将记录存于CI<br />
 （Control Interval）。一个CI 是直接访问存储设备的一片连续区域，用于存储数据记录及<br />
  其控制信息。当从直接存储设备上读取一个记录时，包含要读的记录的整个CI 都被读到虚存<br />
  的VSAM I/O 缓冲中，然后用户要读的记录才从VSAM 缓冲传输到用户定义的工作区。<br />
  一个VSAM 数据集在一个卷上可以占用最多119 到123 个Extent，或者占用4，294，967，<br />
  296 个字节。<br />
	CI 的大小在不同的VSAM 数据集中可以不同，但在一个数据集中必须相同。在创建数据集时，<br />
  你可以用访问方法服务的DEFINE 命令指定CI 的大小，也可以让系统自动选择CI<br />
  的大小。<br />
    每一个CI 含有如下信息：<br />
        逻辑记录：每一个CI 中可能包含多个逻辑记录。<br />
        自由空间：每一个CI 中可能含有一定的自由空间，用于插入新的记录。<br />
        控制信息：主要为RDF 和CIDF，RDF 描述每一个记录的信息，而CIDF 则描述整个CI<br />
                   的信息。<br />
        注意：在线性数据集中，CI 全部是数据，无控制信息。<br />
	VSAM数据集中的多个CI成组为直接访问存储设备中的一片连续区域称之为CA(Control<br />
  Area)，一个VSAM 数据集由一个以上的CA 组成。CA 最大为一个柱面，最小必须是一个磁道。<br />
  有时一个记录的大小会大于一个CI 的大小，在VSAM 中，你不必把这个记录劈开，也不<br />
  必重新格式化这样的记录，因为在定义数据集时可以用SPANNED 参数指定记录可以跨多个CI。<br />
  VSAM 数据集有4 种类型：ESDS(Entry sequenced data set)、KSDS(Key Sequenced Data<br />
  Set)、LDS(Linear Data Set)、RRDS(Relative Record Data Set)。<br />
  ESDS：类似顺序文件。其记录长度可固定也可不固定，新记录只能加在数据集的末尾，<br />
  已存在的记录不可被删除，如果你一定要删除一个记录，你只能把这个记录标记为不活跃，<br />
  实际上并未被删除。记录的内容可以被修改但不能改变其长度。访问这样的数据通过其<br />
  RBA(Relative Byte Address)来进行，RBA 一般为双字整数，它表示逻辑记录从数据集起始<br />
  位置的位移量。尽管ESDS 没有索引，但你可以建立一个次键索引，用以记录记录的RBA。<br />
     ESDS 通过地址进行访问，因此可顺序访问也可随机访问。<br />
     KSDS：在KSDS 中，每一个逻辑记录含有一个称之为KEY 的字段，它唯一地标识一个记<br />
           录，逻辑记录以KEY 升序的顺序存放。KSDS 的记录大小可以固定也可以不固定。KEY<br />
           必须唯<br />
	 一，必须在每个记录的同样位置，如果是跨CI 的记录必须在记录的第一个CI 中。记录可以被删除，新增加的记录按其KEY 值的大小插入在合适的位置。定义KSDS 后，未用的空间可以散布在整个数据集，以允许插入新的记录。当新的记录插入到一个CI 中时，或已存在的记录大小改变时，其后的记录移动到后面的自由空间，以便于新的记录的插入。同样，当一个记录被删除或变小时，释放的空间可以回收，以便于 以后使用。创建使你可以指定一个参数FREESPACE 指定每一个CI 自由空间的比例。也可指定每个CA 中自由空间的比例。<br />
	在KSDS 中，KEY 可用于定位要插入的记录的位置，及读取已存在的记录。最有效地访问KSDS 的方法是使用KEY。有以下几种方法：<br />
	用顺序的KEY 访问可用于读、修改、增加、删除记录。当你指定了顺序的访问方法时,VSAM 使用索引以升序或降序的顺序访问数据集。顺序处理可以从数据集的任何位置开始。<br />
	直接访问：同样也可用于读、修改、增加、删除记录。你可以指定一个KEY，以此KEY来访问数据集。这个KEY 可以是完整的KEY，也可以不完整。比如：你可以指定一个不完整的KEY AB，后面是任何字符。<br />
	跳跃的顺序访问： 同样也可用于读、修改、增加、删除记录。在这种方式下，VSAM 只读选中的记录，并以升序或降序的顺序。<br />
	地址访问：以记录的RBA 作为查找参数来访问。一般不建议这样访问。<br />
	LDS：LDS的CI大小总是4096字节，无控制信息。应用去成组/分解逻辑记录。用DIV MACRO访问。<br />
	固定长度的RRDS：有多个固定长度的SLOT 组成。每一个SLOT 有一个相对记录号，SLOT以相对记录号排列。每一记录占用一个SLOT。因此记录的位置是固定的，相对记录号也不能改变。无主索引和次索引。由于SLOT 可以为空，因此可以插入新记录，或删除已存在的旧记录，而不影响其它记录的位置。记录的RDF 指示出SLOT 是否为空。在RRDS 中，每一个CI含有同样多的SLOT。SLOT 的数目由CI 的大小和记录的长度决定。<br />
	可变长度的RRDS： 可变长度的RRDS 与固定长度的RRDS 类似，每一个记录也有一个惟一的相对记录号，并且也以相对记录号的顺序存放。但没有SLOT。你可以为一个KSDS 或ESDS 定义一个或多个次键索引。用它可以以与主键相同的方式访问数据集，次键可以不惟一，也就是说它可以指向多个数据记录。但是最多只能指向32767个记录。次键本身是一个KSDS，它包含索引组建和数据组件。数据组件中的记录含有次键，以及指向数据的指针。对ESDS 来说，指针是RBA；对KSDS 来说，指针是主键。在通过次键访问数据集之前，必须定义一个路径。可用DEFINE PATH 命令来定义路径。</p>
<p>2． VSAM 数据集的定义、复制及删除<br />
VSAM 数据集的定义<br />
定义一个VSAM 数据集之前，应注意：<br />
	1) VSAM 数据集必须是编目的。<br />
	2) 可用TSO ALLOCATE 命令、访问方法服务的ALLOCATE 或DEFINE CLUSTER 命令、动态分配或JCL。要用JCL 定义一个VSAM 数据集，SMS 必须活跃。<br />
	3) 如有必要可定义次键。<br />
	对一个KSDS 来说，数据部件和索引部件合称为CLUSTER。 CLUSTER 提供了把索引和数<br />
据部件统一处理的一种方式。数据部件用于存放数据。<br />
	索引部件由顺序集和索引集组成。<br />
数据部件中的每一个CA 在顺序集中都有一个对应的CI，它含有其对应的数据部件中的<br />
CA 中的每一个CI 的最大键值及其指针。所有顺序集中的CI 又顺序地连接在一起。索引部件<br />
的其它部分构成了索引集。如图2.11 所示，所有索引集和顺序集构成了一棵查询树。其中顺<br />
序集可用于顺序访问，而索引集和顺序集合起来可用于随机访问。</p>
<p>1）用访问方法服务命令定义VSAM 数据集<br />
	VSAM 数据集可以通过DEFINE CLUSTER 或ALLOCATE 命令来定义。当定义了CLUSTER<br />
后，VSAM 使用三个编目项描述一个CLUSTER：<br />
	-一个CLUSTER 项把CLUSTER 描述为一个部件。<br />
	-一个数据项描述CLUSTER 的数据部件。<br />
	-对KSDS 来说，一个索引项描述CLUSTER 的索引部件。<br />
（1)关于VSAM 文件的属性<br />
	如果使用DEFINE CLUSTER 命令，数据和索引部件的属性可以与CLUSTER 的属性分别指定。<br />
	-如果你为CLUSTER 指定了属性，则CLUSTER 的属性同样适用于部件。<br />
	-如果你为CLUSTER 和部件都指定了属性，则部件的属性覆盖CLUSTER 的属性。<br />
	-如用ALLOCATE，则只能在CLUSTER 一级指定属性。定义VSAM 数据集时，要指定数据集的属性。如果SMS 活跃，你定义的数据集又是系统管理的数据集，你可以指定DATA CLASS，MANAGEMENT CLASS 和STORAGE CLASS。你也可以用系统默认的这些CONSTRUCT。CONSTRUCT 只能在CLUSTER 一级上指定。<br />
	以下是定义VSAM 数据集是有关的描述性信息：<br />
INDEXED|NONINDEXED|NUMBERED|LINEAR：指定数据集的结构形式信息(KSDS、ESDS、RRDS、<br />
LDS)。RECORDSIZE：指定记录的平均和最大长度。不适用于LDS。<br />
注意： 1)可变长度的RRDS 用NUMBERED 和RECORDSIZE 定义，而平均记录长度和最大记<br />
录长度必须不同。2)如果对于ESDS，KSDS 或可变长度的RRDS 数据集，记录长度小于最大记<br />
录长度，VSAM 把实际记录的长度记录在RDF 中。<br />
KEYS：指示KSDS 中键的长度和位置。<br />
CATALOG：指示CLUSTER 所在的编目的名字和口令。<br />
VOLUMES：指示CLUSTER 所在的卷。<br />
RECORDS|KILOBYTES|MEGABYTES|TRACKS|CYLINDERS：指示分配该数据集的空间的单位及大小。<br />
BUFFERSPACE：指示在处理该数据集时，应分配的最小的缓冲.<br />
	以下是定义VSAM 数据集是有关的性能信息：<br />
CONTROLINTERVALSIZE：指定CI 的大小。此参数必须大于记录的最大大小。对LDS 无效。<br />
SPANNED：指示记录是否可以跨CI。不适用于RRDS 和LDS。<br />
	IMBED：指示是否将索引的顺序集放在相应的CA 中。如果是，则会提高数据集的性能,但会增加空间.对索引组件的VOLUMES：指示是否把索引组件放在另一个卷上。<br />
FREESPACE：指示预留自由空间的大小。<br />
	以下是定义VSAM 数据集时有关的安全信息：<br />
AUTHORIZATION：指定你自己的一个授权子程序，验证对此数据集的访问是否合法。<br />
WRITECHECK：指示对此数据集写后是否要检查，以保证以后能读出。<br />
ERASE：指示数据集被删除后，是否要彻底删除。<br />
（2)VSAM 数据集的命名<br />
定义CLUSTER 时，要指定CLUSTER 名。通常，CLUSTER 名就是JCL 中给出的DSNAME。也可以各自独立命名索引和数据部件。如果只指定了CLUSTER 名而未指定索引和数据部件的名字，VSAM 会自动产生索引和数据部件名字。VSAM 以下列方式产生索引和数据部件名字：<br />
如果CLUSTER 的最后一个QUALIFIER 是CLUSTER，则数据部件和索引部件名字的最后一个QUALIFIER 分别替换为DATA 和INDEX。<br />
	例如：<br />
	Cluster 名： SALES.REGION2.CLUSTER<br />
	产生的数据部件名 = SALES.REGION2.DATA<br />
	产生的索引部件名 = SALES.REGION2.INDEX<br />
如果CLUSTER 名的长度小于等于38 个字符，则分别在CLUSTER 名后加.DATA和.INDEX。<br />
	 例如：<br />
	Cluster 名： DEPT64.ASSET.INFO<br />
	产生的数据部件名 = DEPT64.ASSET.INFO.DATA<br />
	产生的索引部件名 = DEPT64.ASSET.INFO.INDEX<br />
如果CLUSTER 名长度在39 到42 之间，则在数据部件和索引部件名后分别加.D和.I。<br />
	例如：<br />
	Cluster 名： DEPTABCD.RESOURCE.REGION66.DATA1234.STUFF<br />
	产生的数据部件名 = DEPTABCD.RESOURCE.REGION66.DATA1234.STUFF.D<br />
	产生的索引部件名 = DEPTABCD.RESOURCE.REGION66.DATA1234.STUFF.I<br />
产生索引和数据部件的名字后，VSAM 会查找编目，以保证产生的部件名字是唯一的。如国不<br />
一，则重新产生。<br />
可以用访问方法服务ALLOCATE 或TSO ALLOCATE 命令定义一个暂时的VSAM 数据集。也用JCL 直接定义。系统管理的暂时的VSAM 数据集不需要指定数据集名，而由系统自动产生唯一<br />
	的名字。如果一定要指定则必须以&#038;或&#038;&#038;打头。<br />
	（3)为VSAM 数据集分配空间<br />
	定义数据集时，你或者SMS(通过指定DATA CLASS)必须指定数据集的空间分配。如果你自己指定则可以以记录数、千字节、兆字节、磁道数、柱面数为单位。为了保持设备的无关性，最好以记录数、千字节、兆字节为单位。你可以在CLUSTER 级，数据组件级或索引组件级指定空间大小，但最好在CLUSTER 或数据组件级指定。VSAM 分配空间的原则如下：<br />
	-如果指定了CLUSTER 和索引组件的大小，则数据组件的大小是CLUSTER 的大小减去索引组件的大小。<br />
	-如果只指定了数据组件的大小，则指定的大小全部分配给数据组件，索引组件再另外追加一部分空间。<br />
	-如果同时指定了数据组件和索引组件的大小，则按指定的大小建立数据集。如果你定义一个小于一个柱面的数据集，VSAM 以磁道为单位分配空间。此时，最好为数据组件指定首次分配的最大磁道数，并且不要指定数据或索引的第二次分配。分配时，VSAM检查指定的设备的柱面大小，如果要分配的数量大于等于设备的柱面大小，则CA 等于柱面大小，如果小于则CA 大小等于实际分配量。CA 最小为一个磁道。</p>
<p>	用JCL 定义VSAM 数据集<br />
除可变长度的RRDS 外，任何类型的VSAM 数据集都可以通过JCL 来定义。<br />
例1.3：定义一个KSDS<br />
	//DDNAME DD DSNAME=KSDATA，DISP=(NEW，KEEP)，<br />
	// SPACE=(80，(20，2))，AVGREC=U，RECORG=KS，<br />
	// KEYLEN=15，KEYOFF=0，LRECL=250<br />
其中：<br />
	DSNAME：数据集的名字。<br />
	DISP：创建新的数据集，并保留。<br />
	SPACE：记录长80，首次分配20，追加分配5。<br />
	AVGREC：指示SPACE 中指定的分配量的比例因子是1。<br />
	RECORG：创建KSDS 。<br />
	KEYLEN：键长15。<br />
	KEYOFF：键在记录中的位置。<br />
	LRECL：逻辑记录长250 字节。<br />
例1.4：创建一个系统管理的KSDS：<br />
	//DDNAME DD DSNAME=KSDATA，DISP=(NEW，KEEP)，<br />
	// DATACLAS=STANDARD，STORCLAS=FAST，<br />
	// MGMTCLAS=STANDARD<br />
例1.5：按照默认值创建一个VSAM 数据集。<br />
	//DDNAME DD DSNAME=DSVSAM，DISP=(NEW，CATLG)<br />
	装入数据到VSAM 数据集,数据集定义后，你可以装入数据到VSAM 数据集。<br />
-装入ESDS 的记录可以是任何顺序。<br />
-固定长度的RRDS 把记录装入到SLOT 中，其相对记录号不是逻辑记录的一部分。<br />
-装入KSDS 的记录必须按键的升序排列，并且不得有重复键。<br />
-装入可变长度的RRDS 的记录必须按键的升序排列，并且不得有重复键。<br />
REPRO 命令可用于从顺序，索引顺序或VSAM 数据集装入数据。也可用于从一个LDS 装<br />
入数据到另一个LDS。<br />
装入数据到VSAM 数据集的示例可见例1.1。<br />
复制数据集<br />
	你可用REPRO 作如下事情：<br />
	-复制或合并VSAM 数据集到另一个VSAM 数据集。<br />
	-复制或合并顺序数据集到另一个顺序数据集。<br />
	-把顺序或索引顺序的数据集转换为VSAM 数据集。<br />
	-把VSAM 数据集复制为顺序数据集。<br />
	-复制PDS 或PDSE 数据集的成员。PDS 或PDSE 数据集不能复制，但单个的成员可以复制。<br />
	例1.6：复制整个数据集：<br />
	//STEP1 EXEC PGM=IDCAMS<br />
	//SYSPRINT DD SYSOUT=A<br />
	//MASTER DD DSN=EXAMPLE.KSDS.MASTER，DISP=OLD<br />
	//BKUP DD DSN=EXAMPLE.SAM.BACKUP，UNIT=SYSDA，<br />
	// SPACE=(TRK，(2，1)，RLSE)，DISP=(NEW，CATLG)<br />
	// VOL=SER=PUB101，<br />
	// DCB=(RECFM=FB，LRECL=80，BLKSIZE=6120)<br />
	//SYSIN DD *<br />
	REPRO INDATASET(MASTER) –<br />
	OUTDATASET(BKUP)<br />
	/*<br />
	你也可以只复制一部分记录。用FROMKEY 指定从哪一个关键字开始，用FROMADDRESS 指<br />
定从哪一个记录开始； 用TOKEY 指定到哪一个关键字结束， 用TOADDRESS 指定到哪一个记<br />
录结束。例1.7：<br />
	//STEP1 EXEC PGM=IDCAMS<br />
	//SYSPRINT DD SYSOUT=A<br />
	//SYSIN DD *<br />
	REPRO IDS(EXAMPLE.LASTNAME.INDEX) –<br />
	ODS(EXAMPLE.EXTRACT.ESDS) –<br />
	FROMKEY(DEAN) –<br />
	TOKEY (LLOYD)<br />
	/*<br />
也可以归并两个数据集。例1.8：<br />
	REPRO IDS(INPUT) ODS(OUTPUT) REPLACE<br />
	定义次键<br />
次键本身也是一个KSDS。它提供了另一种方法访问VSAM KSDS 和ESDS 数据集。<br />
定义次键的步骤如下：<br />
1) 定义CLUSTER。<br />
2) 装入数据。<br />
3) 用DEFINE ALTERNATEINDEX 命令定义次键。<br />
4) 用DEFINE PATH 命令将次键与CLUSTER 相关联。<br />
5) 用BLDINDEX 命令建立次键。也就是在索引中装入数据。<br />
	VSAM 用3 个编目项描述一个次键：<br />
	-一个次键项描述次键是一个KSDS。<br />
	-一个数据项描述次键的数据部件。<br />
	-一个索引项描述次键的索引部件。<br />
	定义次键需要指定的信息与定义一个KSDS 类似。如果次键允许许多不唯一的键，则<br />
RECORDSIZE 必须足够大。在定义次键时，如指定了UPGRADE 属性，则VSAM 数据集改变时，<br />
次键自动改变。<br />
例1.9，假定你有一个数据集叫PAYROLL.MASTER，其主键是雇员名字，你想建立一个次键。则：<br />
1) 定义次键：<br />
	DEFINE ALTERNATEINDEX (NAME(PAYROLL.DEPT.AIX) –<br />
	RELATE(PAYROLL.MASTER) –<br />
	VOLUMES(AIX001) –<br />
	UPGRADE) –<br />
	DATA (NAME(PAYROLL.DEPT.AIX.DATA) –<br />
	TRACK (5 5) –<br />
	RECORDSIZE(200 2096) –<br />
	KEY (7 65) –<br />
	NONUNIQUEKEY) –<br />
	INDEX (NAME(PAYROLL.DEPT.AIX.INDEX) –<br />
	IMBED)<br />
2) 定义路径：<br />
	DEFINE PATH(NAME(RAYROLL.DEPT.PATH) –<br />
	PATHENTRY(PAYROLL.DEPT.AIX) –<br />
	UPDATE)<br />
3) 在索引中装入数据：<br />
	BLDINDEX INDATASET(RAYROLL.MASTER) –<br />
	OUTDATASET(PAYROLL.DEPT.AIX)<br />
	以后你在使用这个数据集时，如果你在JCL 中的DD 语句如下：<br />
	//DD1 DD DSN=PAYROLL.MASTER，DISP=SHR<br />
	则表示你使用主键访问该数据集。如果你在JCL 中的DD 语句如下：<br />
	//DD1 DD DSN=PAYROLL.DEPT.AIX，DISP=SHR 则表示你使用次键访问该数据集。</p>
<p>删除数据集<br />
	使用访问控制服务的DELETE 命令可以删除数据集，你可以删除整个CLUSTER，也可以只删除次键或路径。在此我们不再详细给出命令的语法及实例，感兴趣的读者可参见有关参考资料。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.newcoin.info/vsam%e6%96%87%e4%bb%b6%e7%bb%93%e6%9e%84%e5%8f%8a%e7%ae%a1%e7%90%86.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JCL经典面试题库</title>
		<link>http://www.newcoin.info/jcl%e7%bb%8f%e5%85%b8%e9%9d%a2%e8%af%95%e9%a2%98%e5%ba%93.html</link>
		<comments>http://www.newcoin.info/jcl%e7%bb%8f%e5%85%b8%e9%9d%a2%e8%af%95%e9%a2%98%e5%ba%93.html#comments</comments>
		<pubDate>Mon, 16 Mar 2009 09:14:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[大型机｜Mainframe]]></category>
		<category><![CDATA[JCL]]></category>
		<category><![CDATA[大机]]></category>
		<category><![CDATA[文档资料]]></category>
		<category><![CDATA[笔试]]></category>
		<category><![CDATA[面试]]></category>
		<category><![CDATA[题库]]></category>

		<guid isPermaLink="false">http://newcoin.info/?p=27280</guid>
		<description><![CDATA[JOB CONTROL LANGUAGE(JCL)
The following are the most Frequently Asked Questions  (FAQS) :
Q1)	What is a Generation Data Group (GDG)?
A1)	Generation Data Group is a group of chronologically or functionally related datasets. GDGs are processed periodically, often by adding a new generation, retaining previous generations, and sometimes discarding the oldest generation.
什么是GDG？
GDG是一组按世代或功能划分的数据集。GDG按世代处理，加一个新的一代数据要受上一代的限制，有时会丢换最老的一代。
Q2)	How is a GDG base created?

A2)	A GDG [...]]]></description>
			<content:encoded><![CDATA[<p>JOB CONTROL LANGUAGE(JCL)</p>
<p>The following are the most Frequently Asked Questions  (FAQS) :</p>
<p>Q1)	What is a Generation Data Group (GDG)?<br />
A1)	Generation Data Group is a group of chronologically or functionally related datasets. GDGs are processed periodically, often by adding a new generation, retaining previous generations, and sometimes discarding the oldest generation.<br />
什么是GDG？<br />
GDG是一组按世代或功能划分的数据集。GDG按世代处理，加一个新的一代数据要受上一代的限制，有时会丢换最老的一代。</p>
<p>Q2)	How is a GDG base created?<br />
<span id="more-27280"></span><br />
A2)	A GDG base is created in the system catalog and keeps track of the generation numbers used for datasets in the group. IDCAMS utility is used to define the GDG base.<br />
GDG BASE 怎么样创建？GDG BASE在系统编目时被创建并且在GDG中保留用于DATASET中的世代个数的空间。使用IDCAMS定义GDG BASE。<br />
（来源：<a href="http://www.newcoin.info">http://www.newcoin.info</a>）<br />
Q3)	What is model dataset label(Model DSCB)?<br />
A3)	A model dataset label is a pattern for the dataset label created for any dataset named as a part of the GDG group. The system needs an existing dataset to serve as a model to supply the DCB parameters for the generation data group one wishes to create. The model dataset label must be cataloged. The model DSCB name is placed on the DCB parameter on the DD statement that creates the generation data group.<br />
什么是MODEL DSCB？ MODEL DSCB是为GDG里的部分DATASET名创定标签。系统需要一个存在的DATASET做为一个模型向你想创建的GDG提供DCB参数。该模型DATASET标签必须被编目，MODEL DSCB名放在创建GDG的DD语句中的DCB参数中。</p>
<p>Q4)	How are GDGs concatenated?<br />
A4)	Generation Data  Groups are concatenated by specifying each dataset name and the generation number for all generations of the generation data group.  Otherwise to have all generations of a generation data group, omit the generation number. The DD statement will refer to all generations. The result is the same as if all individual datasets were concatenated. If generations are not on the same volume, this will not work.<br />
GDG怎么样级联？GDG级联既可以指定每一个DATASET名，也可以指定GDG里的世代个数。另外，级联GDG里的所有世代可以省略世代个数。DD语句将涉及到所有的世代。结果和一个一个的级联一样。如果世代不在同一个卷上该命令将不起作用。</p>
<p>Q5)	How is a new GDG coded?<br />
A5)	A new GDG is coded as (+1) after the dataset name as follows: DSN=JAN.DATA(+1). This will cause all generations to be pushed down one level at the end of the job.<br />
怎么编写GDG？一个新的子代GDG在DATASET名后加个（+1），例如：DSN=JAN.DATA(+1)将使所有的世代数据都向上升一代（个人理解）。并将该代数据放在最后一代。</p>
<p>Q6)	When should DISP=MOD is used?<br />
A6)	DISP=MOD is used to either extend an existing sequential dataset or to create a dataset if it does not exist. If the dataset exists, then records are appended to the dataset at the end of the existing dataset. If the dataset does not exist, the system treats MOD as if it were NEW, provided that the volume parameter has not been used. If the volume parameter is used, the system terminates the job and does not create the new dataset. MOD can be used to add to a dataset that extends onto several volumes. Always specify a disposition of CATLG with MOD for cataloged datasets, even if they are already cataloged, so that any additional volume serial numbers will be recorded in the catalog.<br />
、什么时候使用DISP=MOD？DISP=MOD既可以扩展一个顺序DATASET，也可以创建一个没有存在的DATASET，对于一个存在的DATASET，记录被追加到末尾。如果没存在系统将把MOD当成NEW看，提供一个没有使用的空间参数。如果空间参数使用过了，系统则终止JOB并且不创建DATASET，MOD可以被用来扩展一个DATASET的空间。经常用MOD为一个编目的DATASET指定CATLG的属性，既使它已经编目了，因此在编目中可以增加任何连续的空间来写记录。</p>
<p>Q7)	How is a dataset passed from  one step to another?<br />
A7)	A dataset is passed from one step to another based on what is coded on the DISP parameter. The dataset can only be passed to subsequent steps if PASS was used on the disposition parameter.<br />
DATASET怎么从一个STEP传递到另一个STEP？传递由DISP参数决定，使用DATASET只能被传递到下一个STEP</p>
<p>Q8)	How are datasets concatenated?<br />
A8)	Datasets are concatenated by writing a normal DD statement for the first dataset and then adding a DD statement without a DDNAME for each dataset to be concatenated in the order they are to be read. The following is an example of three datasets concatenated:<br />
//YEARDAT	DD	DSN=JAN.DATA,DISP=SHR<br />
//		DD	DSN=FEB.DATA,DISP=SHR<br />
//		DD	DSN=MAR.DATA,DISP=SHR<br />
DATASET怎么级联的？<br />
DATASET级联是通过先写一个一般的DD语句，然后加上一个没有DDNAME的DD语句，看读取顺序被级联。如上例所示。<br />
Q9)	What is the difference between the JOBLIB and the STEPLIB statements?<br />
A9)	The JOBLIB statement is placed after the JOB statement and is effective for all job steps. It cannot be placed in a<br />
cataloged procedure. The STEPLIB statement is placed after the EXEC statement and is effective for that job step<br />
only. Unlike the JOBLIB statement, the STEPLIB can be placed in a cataloged procedure.<br />
JOBLIB语句 和 STEPLIB语句有什么区别<br />
JOBLIB语句是在JOB语句之后，对于所有的steps都有效，并且不能放在编目过程中，JOBLIB语句是在EXEC语句之后，只对当前的step有效，不同于JOBLIB，它可以放在编目过程中。</p>
<p>Q10)	Name some of  the JCL statements that are not allowed in procs.?<br />
A10)	Some of the JCL statements which are not allowed in procedures are:<br />
1.	JOB, Delimiter(/*), or Null statements<br />
2. JOBLIB or JOBCAT DD  statements<br />
3. DD * or DATA statements<br />
4. Any JES2 or JES3 control statements<br />
在procs那些JCL语句不能命名<br />
在过程中不允许的JCL语句：<br />
1.	JOB, 分隔符(/*), 或空语句<br />
2. JOBLIB 或JOBCAT DD语句<br />
3. DD * 或DATA语句<br />
4. 任何 JES2 或 JES3 控制语句</p>
<p>Q11)	What is primary allocation for a dataset?<br />
A11)	The space allocated when the dataset is first created.<br />
一个数据集的初次分配是什么<br />
数据集建立时的空间</p>
<p>（来源：<a href="http://www.newcoin.info">http://www.newcoin.info</a>）</p>
<p>Q12)	What is the difference between primary and secondary allocations for a dataset?<br />
A12)	Secondary allocation is done when more space is required than what has already been allocated.<br />
一个数据集的主分配和从分配有什么区别<br />
从分配是当要求更多空间时所分配的</p>
<p>Q13)	How many extents are possible for a sequential file ? For a VSAM file ?<br />
A13)	16 extents on a volume for a sequential file and 123 for a VSAM file.<br />
一个顺序文件有多少extents，VSAM？<br />
顺序文件为在一个卷上为16 extents，VSAM文件为123</p>
<p>Q14)	What does a disposition of (NEW,CATLG,DELETE) mean? &#8211; GS<br />
A14)	That this is a new dataset and needs to be allocated,  to CATLG the dataset if the step is successful and to delete the dataset if the step abends.<br />
(NEW,CATLG,DELETE)的意思是什么<br />
创建一个新的数据集，在作业步正常结束时编目，异常终止时删除</p>
<p>Q15)	What does a disposition of (NEW,CATLG,KEEP) mean? &#8211; GS<br />
A15)	That this is  a new dataset and needs to be allocated, to CATLG the dataset if the step is successful and to KEEP but not CATLG the dataset if the step abends. Thus if the step abends, the dataset would not be catalogued and we would need to supply the vol. ser the next time we refer to it.<br />
(NEW,CATLG,KEEP) 的意思是什么<br />
创建一个新的数据集，在作业步正常结束时编目然后保留在相应的卷上，异常终止时不编目。所以当作业步异常终止时，数据集不编目，并需要为下次提供相应的卷序列号</p>
<p>Q16)	How do you access a file that had a disposition of KEEP? &#8211; GS<br />
A16)	Need to supply Volume Serial  Number<br />
怎样才能访问一个KEEP的文件<br />
需要提供卷序列号VOL=SER=xxxx.</p>
<p>Q17)	MOD, DELETE;  What does a disposition of (,DELETE) mean ?<br />
A17)	The MOD will cause the dataset to be created (if it does not exist),  and then the two DELETEs will cause the dataset to be deleted whether the step abends or not. This disposition is used to clear out a dataset at the beginning of a job.<br />
解释一下MOD, DELETE，(,DELETE)<br />
MOD一个新的数据集的创建（如果这个数据集不存在），2个DELETEs是无论数据集是否异常终止，都删除<br />
Disposition用于开始一个作业时删除数据集</p>
<p>Q18)	What is the DD statement for a output file?<br />
A18)	Unless allocated earlier, will have the following parameters:  DISP=(NEW,CATLG,DELETE), UNIT , SPACE &amp; DCB<br />
一个输出文件的DD语句是什么<br />
如果不存在的话，则必须要有<br />
DISP=(NEW,CATLG,DELETE), UNIT , SPACE &amp; DCB</p>
<p>Q19)	What do you do if you do not want to keep all the space allocated to a dataset? &#8211; GS<br />
A19)	Specify the parameter  RLSE ( release ) in the SPACE e.g. SPACE=(CYL,(50,50),RLSE)<br />
如何保持所有的分配给一数据集的空间<br />
指定参数，释放空间，如SPACE=(CYL,(50,50),RLSE)</p>
<p>Q20)	What is DISP= (NEW,PASS,DELETE)?<br />
A20)	This is a new file and create it, if the step terminates normally, pass it to the subsequent steps and if step abends, delete it.  This dataset will not exist beyond the JCL.<br />
解释一下DISP = (NEW,PASS,DELETE)<br />
创建一个新的数据集，如果作业步正常终止，那么保留传递到同一祖业的后续作业步中使用，如果异常终止，则删除。数据集将不再存在</p>
<p>Q21)	How do you create a temporary dataset?  Where will you use them?<br />
A21)	Temporary datasets can be created either by not specifying any DSNAME or by specifying the temporary file indicator as in DSN=&amp;&amp;TEMP. We use them to carry the output of one step to another step in the same job. The dataset will not be retained once the job completes.<br />
如何建立一个临时数据集，在那里会用到他们<br />
创建了临时数据集时不需要指定的DSNAME，或用指定的临时文件DSN=&amp;&amp;TEMP，在同一个JOB中，我们用它来？？？？、？、<br />
在作业完成后该数据集删除</p>
<p>Q22)	How do you restart a PROC from a particular step? &#8211; GS<br />
A22)	In job card, specify RESTART=PROCSTEP.STEPNAME where PROCSTEP = name of the JCL step that invoked the PROC and STEPNAME = name of the PROC step where you want execution to start<br />
在一个特殊作业步中如何restart 一个 PROC<br />
在JOB中，指定RESTART=PROCSTEP.STEPNAME ，ROCSTEP为JCL作业部的名字，执行作业步时可以调用PROC 和 STEPNAME</p>
<p>Q23)	How do you skip a particular step in a proc/JOB? &#8211; GS<br />
A23)	Can use either condition codes or use the jcl control statement IF (only in ESA JCL)\<br />
如何skip 一个特殊作业步skip<br />
使用任何一个条件代码或JCL控制语句IF</p>
<p>Q24)	A PROC has five steps.  Step 3 has a condition code.  How can you override/nullify this condition code? &#8211; GS<br />
A24)	Provide the override on the EXEC stmt in the JCL as follows:<br />
//STEP001 EXEC procname, COND.stepname=value<br />
All parameters on an EXEC stmt in the proc such as COND, PARM have to be overridden like this.<br />
一个PROC有5个作业步，Step 3有一个条件代码，如何erride/nullify这个条件代码<br />
在EXEC语句中用override如下：<br />
//STEP001 EXEC procname, COND.stepname=value<br />
象COND, PARM这样的EXEC语句必须这样覆盖</p>
<p>Q25)	How do you override a specific DDNAME/SYSIN in PROC from a JCL?<br />
A25)	//    DSN=&#8230;<br />
如何覆盖一个在PROC中的特殊的DDNAME/SYSIN<br />
//    DSN=&#8230;</p>
<p>Q26)	What is NOTCAT 2 &#8211; GS<br />
A26)	This is an MVS message indicating that a duplicate catalog entry exists. E.g., if you already have a dataset with dsn = &#8216;xxxx.yyyy&#8217; and u try to create one with disp new, catlg, you would get this error. the program open and write would go through and at the end of the step the system would try to put it in the system catalog. at this point since an entry already exists the catlg would fail and give this message. you can fix the problem by deleting/uncataloging the first data set and going to the volume where the new dataset exists(this info is in the msglog of the job) and cataloging it.<br />
什么时是NOTCAT 2<br />
这是一个MVS的消息标志，它复制一个catalog entry exists，如果已经有了一个数据集dsn = &#8216;xxxx.yyyy&#8217;，那么当再创建一个新的时就会显示错误，程序的打开和写would go through，以及在系统的作业步的最后会试着吧它放进系统编目中，一个an entry already exists the catlg会报错，并且给出信息。用deleting/uncataloging 第一个数据集去fix 程序，然后去有新的数据集的卷，创建它。</p>
<p>Q27)	What is &#8216;S0C7&#8242; abend? &#8211; GS<br />
A27)	Caused by invalid data in a numeric field.<br />
甚么是&#8217;S0C7&#8242;异常终止<br />
引起一个数字域里的无效数字</p>
<p>Q28)	What is a S0C4 error ? &#8211; GS<br />
A28)	Storage violation error &#8211; can be due to various reasons. e.g.: READING a file that is not open, invalid address referenced due to subscript error.<br />
甚么是S0C4错误<br />
存储违反错误由多种原因决定，例，READING是一个美有打开的文件，？？？？？？</p>
<p>Q29)	What are SD37, SB37, SE37 abends?<br />
A29)	All indicate dataset out of space. SD37 &#8211; no secondary allocation was specified. SB37 &#8211; end of vol. and no further volumes specified.  SE37 &#8211; Max. of 16 extents already allocated.<br />
SD37, SB37, SE37 abends是甚么<br />
表示磁盘空间不足<br />
SD37没有指定的从分配<br />
SB37终止卷，并且没有根多的卷被指定<br />
SE37已经分配到最大16 extents</p>
<p>（来源：<a href="http://www.newcoin.info">http://www.newcoin.info</a>）</p>
<p>Q30)	What is S322 abend ?<br />
A30)	Indicates a time out abend. Your program has taken more CPU time than the default limit for the job class. Could indicate an infinite loop.<br />
甚么是S322 abend<br />
需要更多的CPU时间<br />
程序已经超过了默认的为该作业分配的CPU时间，陷入一个无限循环..???????</p>
<p>Q31)	Why do you want to specify the REGION parameter in a JCL step? &#8211; GS<br />
A31)	To override the REGION defined at the JOB card level.  REGION specifies the max region size. REGION=0K or 0M or omitting REGION means no limit will be applied.<br />
说明在JCL作业步中的REGION（见书86页）</p>
<p>Q32)	What does the TIME parameter signify ? What does TIME=1440 mean ?<br />
A32)	TIME parameter can be used to overcome S322 abends for programs that genuinely need more CPU time. TIME=1440 means no CPU time limit is to be applied to this step.<br />
TIME参数的意思是甚么？TIME=1440 表示甚么<br />
TIME当程序需要更多的CPU时间时用于克服S322 abends<br />
TIME=1440表示作业的运行没有时间限制，即24小时。</p>
<p>Q33)	What is COND=EVEN ?<br />
A33)	Means execute this step even if any of the previous steps, terminated abnormally.<br />
COND=EVEN<br />
即使先前作业步异常终止，本作业步都要执行</p>
<p>Q34)	What is COND=ONLY ?<br />
A34)	Means execute this step only if any of the previous steps, terminated abnormally.<br />
COND=ONLY<br />
只有先前作业步异常终止，本作业步才执行</p>
<p>Q35)	How do you check the syntax of a JCL without running it?<br />
A35)	TYPERUN=SCAN on the JOB card or use JSCAN.<br />
如何在一个JCL中检查是否有语法错误<br />
在JOB过程中，TYPERUN=SCAN或JSCAN.</p>
<p>Q36)	What does IEBGENER do?<br />
A36)	Used to copy one QSAM file to another. Source dataset should be described using SYSUT1 ddname. Destination dataset should be described using SYSUT2. IEBGENR can also do some reformatting of data by supplying control cards via SYSIN.<br />
IEBGENER的作用<br />
用于copy  QSAM文件<br />
资源数据集用SYSUT1 ddname.描述，目标数据集SYSUT2描述？？？？？？？<br />
IEBGENR也能用控制语句SYSIN来做一些数据的重定格式</p>
<p>Q37)	How do you send the output of a COBOL program to a member of  a PDS?<br />
A37)	Code the DSN as PDS (member) with a DISP = SHR. The DISP applies to the PDS and not to a specific member.<br />
如何给一个PDS的成员输出一个COBOL程序</p>
<p>Q38)	I have multiple jobs ( JCLs with several JOB cards ) in a member.  What happens if I submit it?<br />
A38)	Multiple jobs are submitted (as many jobs as the number of JOB cards).<br />
在一个成员中有几个JOB，如果提交了将会发生甚么<br />
？？？？？？？？？？？？？？？？？？</p>
<p>Q39)	I have a COBOL program that Accepts some input data.  How do you code the JCL statement for this?<br />
( How do you code instream data in a JCL? )<br />
A39)	//SYSIN DD*<br />
input data<br />
input data<br />
/*<br />
有一个接受一些输入数据的COBOL程序，如何为它编一个JCL程序（如何在JCL中编一个流数据）<br />
//SYSIN DD*<br />
input data<br />
input data<br />
/*</p>
<p>Q40)	Can you code instream data in a PROC ?<br />
A40)	No.<br />
在PROC中的流数据可以编码吗<br />
No.<br />
Q41)	How do you overcome this limitation ?<br />
A41)	One way is to code SYSIN DD DUMMY in the PROC, and then override this from the JCL with instream data.<br />
如何解决这个限制呢<br />
在PROC内编写SYSIN DD DUMMY，然后从JCL用流数据覆盖它</p>
<p>Q42)	How do you run a COBOL batch program from a JCL?  How do you run a COBOL/DB2 program?<br />
A42)	To run a non DB2 program,<br />
//STEP001 EXEC PGM=MYPROG</p>
<p>To run a DB2 program,<br />
//STEP001 EXEC PGM=IKJEFT01<br />
//SYSTSIN DD *<br />
DSN SYSTEM(&#8230;.)<br />
RUN PROGRAM(MYPROG)<br />
PLAN(&#8230;..)  LIB(&#8230;.)  PARMS(&#8230;)<br />
/*<br />
如何从JCL运行一个COBOL批处理程序，如何运行一个COBOL/DB2<br />
非DB2<br />
//STEP001 EXEC PGM=MYPROG<br />
DB2<br />
//STEP001 EXEC PGM=IKJEFT01<br />
//SYSTSIN DD *<br />
DSN SYSTEM(&#8230;.)<br />
RUN PROGRAM(MYPROG)<br />
PLAN(&#8230;..)  LIB(&#8230;.)  PARMS(&#8230;)<br />
/*</p>
<p>Q43)	What is STEPLIB, JOBLIB?  What is it used for? &#8211; GS<br />
A43)	Specifies that the private library (or libraries) specified should be searched before the default system libraries in order to locate a program to be executed. STEPLIB applies only to the particular step, JOBLIB to all steps in the job.<br />
甚么是STEPLIB, JOBLIB?如何用他们<br />
为作业作业步指定一个私有库（或库），查找时只有在私有库没有的情况下再去搜索系统默认库。<br />
STEPLIB的应用仅限于该作业步，而JOBLIB则对于整个作业都有效</p>
<p>Q44)	What is order of searching of the libraries in a JCL? &#8211; GS<br />
A44)	First any private libraries as specified in the STEPLIB or JOBLIB, then the system libraries such as SYS1.LINKLIB. The system libraries are specified in the link list.<br />
在JCL中查找库的顺序是怎样的<br />
首先查找私有库，当私有库没有的情况下再去查找系统库。例如SYS1.LINKLIB。系统库在连接表中是指定的</p>
<p>Q45)	What happens if both JOBLIB and STEPLIB is specified ?<br />
A45)	JOBLIB is ignored.<br />
当一个JCL中既定义了JOBLIB，又定义了STEPLIB，则会怎样<br />
JOBLIB被忽略</p>
<p>Q46)	When you specify mutiple datasets in a JOBLIB or STEPLIB, what factor determines the order? &#8211; GS<br />
A46)	The library with the largest block size should be the first one.<br />
当在JOBLIB 或 STEPLIB指定多个数据集时，顺序由甚么因素决定<br />
有最大块的LIB为第一个specify</p>
<p>Q47)	How to change default PROCLIB?<br />
A47)	//ABCD  JCLLIB ORDER=(ME.MYPROCLIB,SYS1.PROCLIB)<br />
如何改变默认的PROCLIB<br />
//ABCD  JCLLIB ORDER=(ME.MYPROCLIB,SYS1.PROCLIB)</p>
<p>Q48)	The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The DISP in the JCL is SHR and the program opens the file in EXTEND mode. What happens ?<br />
A48)	Records will be written to end of file (append) when a WRITE is done in both cases.<br />
数据集的状态是MOD，在OUTPUT状态下打开文件，将会发生甚么。当为SHR时，在EXTEND状态下打开文件，将会发生甚么。<br />
记录将会写在数据集的结尾？？？？？？</p>
<p>Q49)	What are the valid DSORG values ?<br />
A49)	PS &#8211; QSAM, PO &#8211; Partitioned, IS &#8211; ISAM</p>
<p>Q50)	What are the differences between JES2 &amp; JES3 ?<br />
A50)	JES3 allocates datasets for all the steps before the job is scheduled. In JES2, allocation of datasets required by a step are done only just before the step executes.<br />
JES2 &amp; JES3有甚么区别<br />
Scheduled作业时JES3为所有的作也步分配数据集<br />
JES2则在作业步执行前为需要的作业步分配数据集<br />
Q41)	How do you overcome this limitation ?<br />
A41)	One way is to code SYSIN DD DUMMY in the PROC, and then override this from the JCL with instream data.<br />
怎么样克服这个局限？<br />
一种方法是在过程中使用SYSIN DD DUMMY语句，然后在JCL中的流内语句中调用他。</p>
<p>（来源：<a href="http://www.newcoin.info">http://www.newcoin.info</a>）</p>
<p>Q42)	How do you run a COBOL batch program from a JCL?  How do you run a COBOL/DB2 program?<br />
A42)	To run a non DB2 program,<br />
//STEP001 EXEC PGM=MYPROG</p>
<p>To run a DB2 program,<br />
//STEP001 EXEC PGM=IKJEFT01<br />
//SYSTSIN DD *<br />
DSN SYSTEM(&#8230;.)<br />
RUN PROGRAM(MYPROG)<br />
PLAN(&#8230;..)  LIB(&#8230;.)  PARMS(&#8230;)<br />
/*</p>
<p>Q43)	What is STEPLIB, JOBLIB?  What is it used for? &#8211; GS<br />
A43)	Specifies that the private library (or libraries) specified should be searched before the default system libraries in order to locate a program to be executed. STEPLIB applies only to the particular step, JOBLIB to all steps in the job.<br />
指定一个（或多个）私有的库，为了找到被执行的程序，指定应该在系统默认库之前。STEPLIB只应用于特定的STEP，JOBLIB则应用于JOB里的所有STEP。</p>
<p>Q44)	What is order of searching of the libraries in a JCL? &#8211; GS<br />
A44)	First any private libraries as specified in the STEPLIB or JOBLIB, then the system libraries such as SYS1.LINKLIB. The system libraries are specified in the link list.<br />
在JCL里寻找库的顺序是什么？<br />
首先在STEPLIB或JOBLIB指定的库中找，然后再系统库中找，例如SYS1。LINKLIB。系统库在连接表中指定。</p>
<p>Q45)	What happens if both JOBLIB and STEPLIB is specified ?<br />
A45)	JOBLIB is ignored.<br />
如果在JOBLIB和STEPLIB中都指定了库会怎么处理？<br />
JOBLIB语句无效。<br />
Q46)	When you specify mutiple datasets in a JOBLIB or STEPLIB, what factor determines the order? &#8211; GS<br />
A46)	The library with the largest block size should be the first one.<br />
当在JOBLIB或STEPLIB中指定了多个DATASET库，什么因素决定（访问）顺序<br />
block size值最大的库应该最先访问。<br />
Q47)	How to change default PROCLIB?<br />
A47)	//ABCD  JCLLIB ORDER=(ME.MYPROCLIB,SYS1.PROCLIB)<br />
怎么改变默认的PROCLIB<br />
//ABCD  JCLLIB ORDER=(ME.MYPROCLIB,SYS1.PROCLIB)</p>
<p>Q48)	The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The DISP in the JCL is SHR and the program opens the file in EXTEND mode. What happens ?<br />
A48)	Records will be written to end of file (append) when a WRITE is done in both cases.<br />
JCL中DISP为MOD并且程序以OUTPUT模式打开文件，将会怎么样？如果DISP为SHR，打开模式为EXTEND呢？<br />
WRITE模式在这两种情况下记录都将会追加到文件末尾。<br />
Q49)	What are the valid DSORG values ?<br />
A49)	PS &#8211; QSAM, PO &#8211; Partitioned, IS – ISAM</p>
<p>Q50)	What are the differences between JES2 &amp; JES3 ?<br />
A50)	JES3 allocates datasets for all the steps before the job is scheduled. In JES2, allocation of datasets required by a step are done only just before the step executes.</p>
<p>Q51)	What are the causes for S0C1, S0C4, S0C5, S0C7, S0CB abends ?<br />
A51)	S0C1-May be due to 1.Missing or misspelled DD name 2.Read/Write to unopened dataset 3.Read to dataset opened<br />
output 4.Write to dataset opened input 5.Called subprogram not found<br />
S0C4-may be due to 1.Missing Select statement(during compile) 2.Bad Subscript/index 3.Protection Exception<br />
4.Missing parameters on called subprogram 5.Read/Write to unopened file 6.Move data from/to unopened file<br />
S0C5-May be due to 1.Bad Subscript/index 2.Closing an unopened dataset 3.Bad exit from a perform 4.Access to I/O<br />
area(FD) before read<br />
S0C7-may be due to 1.Numeric operation on non-numeric data 2.Un-initialize working-storage 3.Coding past the<br />
maximum allowed sub script<br />
S0CB-may be due to 1.Division by Zero<br />
引起SOC1，SOC4，SOC5，SOC7，SOCB异常终止的原因有哪些？<br />
SOC1：可能有几点。1，没写DD名或DD名拼写错误。2，读/写一个未打开的DATASET，3将开着的DATASET数据输出，4，往打开的DATASET写入数据。5，调用的子程序没找到<br />
SOC4：可能有几点：1，没有选择语句。2，关闭一个未打开的DATASET。3，错误的下标/目录。<br />
4，调用子程序没有参数。5，向没有打开的文件里写数据。6，向未打开的文件里移动DATASET。<br />
SOC5：可能有几点：1,错误的下标/目录.2关闭一个未打开的DATASET。3，PERFORM语句出口不对。4，访问IO。<br />
SOC7：可能有几点：1，对非数字型数据进行数字运算2，没有初始化WORK-STORAGE。3，下标越界。<br />
SOCB： 用0分隔。</p>
<p>Q52)	What are the kinds of job control statements?<br />
A52)	The JOB, EXEC and DD statement.</p>
<p>Q53)	What is the meaning of keyword in JCL?  What is its opposite?<br />
A53)	A keyword in a JCL statement may appear in different places and is recognized by its name, eg. MSGCLASS in the JOB statement.  The opposite is positional words, where their meaning is based on their position in the statement, eg. in the DISP keyword the =(NEW,CATLG,DELETE) meanings are based on first, second and third position.<br />
JCL里的关键字是什么？写其相对应的是什么？<br />
JCL里的关键字出现在不同的位置都可以被识别。例如：MSGCLASS。写其他对应的是位置参数。在不同的位置意思不同。例如：在DISP里的三个位置的意思都不一样<br />
。<br />
Q54)	Describe the JOB statement, its meaning, syntax and significant keywords?<br />
A54)	The JOB statement is the first in a JCL stream.  Its format is // jobname, keyword JOB, accounting information in brackets and keywords, MSGCLASS, MSGLEVEL, NOTIFIY, CLASS, etc.</p>
<p>Q55)	Describe the EXEC statement, its meaning, syntax and keywords?<br />
A55)	The EXEC statement identifies the program to be executed via a PGM= program name keyword.  Its format is //jobname EXEC PGM= program name.  The PARM= keyword can be used to pass external values to the executing program.<br />
描述EXEC语句，它的意义，语法和关键字？<br />
EXEC语句使用“PGM=程序名”指出了要执行的程序名。格式是//STEP名 EXEC PGM=程序名。<br />
PARM参数用来传递要执行的程序的外部（实参）值。</p>
<p>Q56)	Describe the DD statement, its meaning, syntax and keywords?<br />
A56)	The DD statement links the external dataset name (DSN) to the DDNAME coded within the executing program.  It links the file names within the program code to the file names know to the MVS operating system. The syntax is // ddname DD DSN=dataset name.  Other keywords after DSN are DISP, DCB, SPACE, etc.<br />
描述DD语句，它的意义，语法和关键字？<br />
DD语句用来将外部DATASET名传递到执行的程序当中。他将存放程序代码的文件和MVS操作系统的文件联接起来。跟在DSN后面的参数有DISP，DCB等。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.newcoin.info/jcl%e7%bb%8f%e5%85%b8%e9%9d%a2%e8%af%95%e9%a2%98%e5%ba%93.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>COBOL经典面试题库（中英文版）</title>
		<link>http://www.newcoin.info/cobol%e7%bb%8f%e5%85%b8%e9%9d%a2%e8%af%95%e9%a2%98%e5%ba%93%ef%bc%88%e4%b8%ad%e8%8b%b1%e6%96%87%e7%89%88%ef%bc%89.html</link>
		<comments>http://www.newcoin.info/cobol%e7%bb%8f%e5%85%b8%e9%9d%a2%e8%af%95%e9%a2%98%e5%ba%93%ef%bc%88%e4%b8%ad%e8%8b%b1%e6%96%87%e7%89%88%ef%bc%89.html#comments</comments>
		<pubDate>Mon, 16 Mar 2009 09:07:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[大型机｜Mainframe]]></category>
		<category><![CDATA[CICS]]></category>
		<category><![CDATA[cobol]]></category>
		<category><![CDATA[DB2]]></category>
		<category><![CDATA[JCL]]></category>
		<category><![CDATA[大机]]></category>
		<category><![CDATA[文档资料]]></category>
		<category><![CDATA[面试]]></category>
		<category><![CDATA[题库]]></category>

		<guid isPermaLink="false">http://newcoin.info/?p=27278</guid>
		<description><![CDATA[我们经常用来复习用的，大多数版本只有英文，这个好像还是基地的同事们一起翻译出来的
Q1)	Name the divisions in a COBOL program ?.
A1)	IDENTIFICATION DIVISION, ENVIRONMENT DIVISION, DATA DIVISION, PROCEDURE DIVISION.
Q：列举COBOL的DEVISION
A：标识部，环境部，数据部，过程部
Q2)	What are the different data types available in COBOL?
A2)	Alpha-numeric (X), alphabetic (A) and numeric (9).
Q：COBOL有哪些可用的数据类型
A：字符型（这里指的是包含字母和数字），字母型，数字型

Q3)	What does the INITIALIZE verb do?  &#8211; GS
A3)	Alphabetic, Alphanumeric fields &#38; alphanumeric edited items are set to SPACES. Numeric, Numeric edited items set to ZERO. FILLER [...]]]></description>
			<content:encoded><![CDATA[<p>我们经常用来复习用的，大多数版本只有英文，这个好像还是基地的同事们一起翻译出来的</p>
<p>Q1)	Name the divisions in a COBOL program ?.<br />
A1)	IDENTIFICATION DIVISION, ENVIRONMENT DIVISION, DATA DIVISION, PROCEDURE DIVISION.<br />
Q：列举COBOL的DEVISION<br />
A：标识部，环境部，数据部，过程部</p>
<p>Q2)	What are the different data types available in COBOL?<br />
A2)	Alpha-numeric (X), alphabetic (A) and numeric (9).<br />
Q：COBOL有哪些可用的数据类型<br />
A：字符型（这里指的是包含字母和数字），字母型，数字型<br />
<span id="more-27278"></span><br />
Q3)	What does the INITIALIZE verb do?  &#8211; GS<br />
A3)	Alphabetic, Alphanumeric fields &amp; alphanumeric edited items are set to SPACES. Numeric, Numeric edited items set to ZERO. FILLER , OCCURS DEPENDING ON items left untouched.<br />
Q：INITIALIZE这个词做了些什么<br />
A：将字母，字符，数字区域都置成空格（置空），将数字区置0， FILLER和OCCURS DEPENDING ON项不处理</p>
<p>Q4)	What is 77 level used for ?<br />
A4)	Elementary level item. Cannot be subdivisions of other items (cannot be qualified), nor can they be subdivided themselves.<br />
Q：77层有什么作用<br />
A：基本层数据项，不能用做细分别的层，也不能被细分<br />
（来源：http://www.newcoin.info）</p>
<p>Q5)	What is 88 level used for ?<br />
A5)	For condition names.<br />
Q：88层有什么作用<br />
A：条件逻辑层</p>
<p>Q6)	What is level 66 used for ?<br />
A6)	For RENAMES clause.<br />
Q：66层有什么作用<br />
A：重命名层</p>
<p>Q7)	What does the IS NUMERIC clause establish ?<br />
A7)	IS NUMERIC can be used on alphanumeric items, signed numeric &amp; packed decimal items and unsigned numeric &amp; packed decimal  items. IS NUMERIC returns TRUE if the item only consists of 0-9. However, if the item being tested is a signed  item, then it may contain 0-9,  + and &#8211; .<br />
Q：IS NUMERIC这个子句怎么确定（也就是说确定句子的真值）<br />
A：IS NUMERIC用在字符项，带符号数字，浮点数，不带符号数。如果目标项只含0~9则返回TRUE。但是，如果待测项目是个带符号数，那么他就含有0-9还有+和-</p>
<p>Q8)	How do you define a table/array in COBOL?<br />
A8)	ARRAYS.<br />
05	ARRAY1	PIC X(9) OCCURS 10 TIMES.<br />
05	ARRAY2	PIC X(6) OCCURS 20 TIMES INDEXED BY WS-INDEX<br />
Q：COBOL中怎么建表/数组<br />
A：如上.</p>
<p>Q9)	Can the OCCURS clause be at the 01 level?<br />
A9)	No.<br />
Q：OCCURS 子句能用在第一层吗<br />
A：不能</p>
<p>（来源：<a href="http://www.newcoin.info">http://www.newcoin.info</a>）</p>
<p>Q10)	What is the difference between index and subscript? &#8211; GS<br />
A10)	Subscript refers to the array occurrence while index is the displacement (in no of bytes) from the beginning of the<br />
array. An index can only be modified using PERFORM, SEARCH &amp; SET. Need to have index for a table in order to<br />
use SEARCH, SEARCH ALL.<br />
Q：索引和下标有什么区别<br />
A：下标可以指定数组中任意中位置的元素（只要知道其下标），下标只能是数字型常量或者数字型变量（但是不能在指定的时候修改，如：A（K+1）这样是不行的，要修改的话要在指定的外部改，如：ADD 1 TO K，而索引的话是从表头/数组头开始检索（以BY N的指定检索规律往后滚）<br />
再者，索引只能通过PERFORM, SEARCH 和SET来修改，如果要在一个表中使用SEARCH, SEARCH ALL，那这个表就要有索引（因为SEARCH, SEARCH ALL的参数中指定索引，所以即使其有很多限制还是得用它）</p>
<p>Q11)	What is the difference between SEARCH and SEARCH ALL? &#8211; GS<br />
A11)	SEARCH &#8211; is a serial search.<br />
SEARCH ALL &#8211; is a binary search &amp; the table must be sorted ( ASCENDING/DESCENDING KEY clause to be used &amp; data loaded in this order) before using SEARCH ALL.<br />
Q：SERACH和SERACH ALL有什么区别<br />
A：SEARCH是顺序查找<br />
SERACH ALL 是2叉查找（相信数据结构学过2叉树的都不会陌生），在使用SEARCH ALL前表必须有一个递增/递减的KEY，并且表已经按照其KEY值排序了，这样才能使用SEARCH ALL</p>
<p>Q12)	What should be the sorting order for SEARCH ALL? &#8211; GS<br />
A12)	It can be either ASCENDING or DESCENDING.  ASCENDING is default.  If you want the search to be done on an<br />
array sorted in descending order, then while defining the array, you should give DESCENDING KEY clause. (You<br />
must load the table in the specified order).<br />
Q：为了使用SEARCH ALL，存贮顺序是怎么样的<br />
A：他必须是递增或者是递减的，默认地政。如果你想在一个递减顺序存贮的表/数组使用搜索的话，那么当定义表/数组的时候你应该加一个DESCENDING KEY子句（这之前表要已经按指定的顺序排序了）</p>
<p>Q13)	What is binary search?<br />
A13)	Search on a sorted array.  Compare the item to be searched with the item at the center.  If it matches, fine else repeat the process with the left half or the right half depending on where the item lies.<br />
Q：什么是2叉查找<br />
A：将你要找的目标项与数组的正中项比较，找到就结束搜索，没找到则继续如此循环（比较下一个中值），取哪一半取决于目标值大于中值还是小于中值<br />
PS：联想2叉树的查找规律就很好理解，因为所谓的“表“本身也就是数组</p>
<p>Q14)	My program has an array defined to have 10 items.  Due to a bug, I find that even if the program access the<br />
11th item in this array, the program does not abend.  What is wrong with it?<br />
A14)	Must use compiler option SSRANGE if you want array bounds checking. Default is NOSSRANGE.<br />
Q：我的程序有个数组定义了10项。因为有个BUG，我发现即使访问第11项，程序也不异常终止。那是出了什么问题<br />
A：必须使用编译器的一个选项SSRANGE，如果你想检查数组的超界问题。默认是NOSSRANGE</p>
<p>Q15)	How do you sort in a COBOL program?  Give sort file definition, sort statement syntax and meaning. &#8211; GS<br />
A15)	 Syntax: SORT file-1 ON ASCENDING/DESCENDING KEY key&#8230;. USING file-2 GIVING file-3.</p>
<p>USING can be substituted by INPUT PROCEDURE IS para-1 THRU para-2<br />
GIVING can be substituted by OUTPUT PROCEDURE IS para-1 THRU para-2.</p>
<p>file-1 is the sort (work) file and must be described using SD entry in FILE SECTION.<br />
file-2 is the input file for the SORT and must be described using an FD entry in FILE SECTION and SELECT<br />
clause in FILE CONTROL.<br />
file-3 is the out file from the SORT and must be described using an FD entry in FILE SECTION and SELECT<br />
clause in FILE CONTROL.<br />
file-1, file-2 &amp; file-3 should not be opened explicitly.</p>
<p>INPUT PROCEDURE is executed before the sort and records must be RELEASEd to  the sort work file from the input procedure.<br />
OUTPUT PROCEDURE is executed after all records have been sorted. Records from the sort work file must be RETURNed one at a time to the output procedure.<br />
Q：怎么在一个COBOL程序中排序？给出排序文件的定义，排序语法和意思<br />
A：语法就是SORT file-1 ON ASCENDING/DESCENDING KEY key&#8230;. USING file-2 GIVING file-3.<br />
USING后程序的输入接口，这个地方可以替换成一个输出过程，也就是说写一个过程往USING这个接口中导数据（要在这个过程中READ，AT END，……），这个过程在将数据释放到执行排序的文件中之前执行，GIVING后是输出借口，用法类似。<br />
此例中输入文件是file-2输出文件是file3(这样个文件必须在文件区中用FD和在文件控制中用到SELECT)真正执行排序的file-1，这里需要注意的是file-1中的文件区不能用FD，应该用SD，file-2和3还是一样（用FD），具体可以看一下书上的例子</p>
<p>Q16)	How do you define a sort file in JCL that runs the COBOL program?<br />
A16)	Use the SORTWK01, SORTWK02,&#8230;.. dd names in the step. Number of sort datasets depends on the volume of data<br />
being sorted, but a minimum of 3 is required.<br />
Q：怎么在JCL中定义一个排序文件来跑这个COBOL程序<br />
A：用SORTWK01, SORTWK02,&#8230;..作为DATA SET NAME。用多少取决于你要排序的数量，但是至少3个。</p>
<p>Q17)	What is the difference between performing a SECTION and a PARAGRAPH? &#8211; GS<br />
A17)	Performing a SECTION will cause all the paragraphs that are part of the section, to be performed.<br />
Performing a PARAGRAPH will cause only that paragraph to be performed.<br />
Q：执行一个区和一个段有什么区别<br />
A：简单来说的话就是区的概念比段大，执行一个区就要执行其内部所有段，执行段的话只执行该段。</p>
<p>（来源：<a href="http://www.newcoin.info">http://www.newcoin.info</a>）</p>
<p>Q18)	What is the use of EVALUATE statement? &#8211; GS<br />
A18)	Evaluate is like a case statement and can be used to replace nested Ifs. The difference between EVALUATE and<br />
case is that no &#8216;break&#8217; is required for EVALUATE i.e. control comes out of the EVALUATE as soon as one match is<br />
made.<br />
Q：EVALUATE语句有什么作用<br />
A：EVALUATE就象个CASE语句（多重开关语句，学过C的总知道吧），不同点在于EVALUATE不需要BREAK，一旦匹配就跳出EVALUATE语句了</p>
<p>Q19)	What are the different forms of EVALUATE statement?<br />
A19)<br />
EVALUATE                                          	EVALUATE SQLCODE ALSO FILE-STATUS<br />
WHEN A=B AND C=D                      		WHEN 100 ALSO &#8216;00&#8242;<br />
imperative stmt                                        		imperative stmt<br />
WHEN (D+X)/Y = 4                            		WHEN -305 ALSO &#8216;32&#8242;<br />
imperative stmt                                        		imperative stmt<br />
WHEN OTHER                                    		WHEN OTHER<br />
imperative stmt                                        		imperative stmt<br />
END-EVALUATE                              	END-EVALUATE</p>
<p>EVALUATE SQLCODE ALSO A=B    	EVALUATE SQLCODE ALSO TRUE<br />
WHEN 100 ALSO TRUE                       		WHEN 100 ALSO A=B<br />
imperative stmt                                 		imperative stmt<br />
WHEN -305 ALSO FALSE             		WHEN -305 ALSO (A/C=4)<br />
imperative stmt                                    	imperative stmt<br />
END-EVALUATE                                    	END-EVALUATE</p>
<p>Q20)	How do you come out of an EVALUATE statement? &#8211; GS<br />
A20)	After the execution of one of the when clauses, the control is automatically passed on to the next sentence after the<br />
EVALUATE statement.  There is no need of any extra code.<br />
Q：怎么跳出一条EVALUATE语句<br />
A：象18题目说的那样，一旦匹配了某一个“WHEN“语句就自动跳出了，不需要什么额外的代码来跳出</p>
<p>Q21)	In an EVALUATE statement, can I give a complex condition on a when clause?<br />
A21)	Yes.<br />
Q：在一个EVALUATE语句的某个WHEN分支中能否再插入复杂的情况（也就是嵌套）<br />
A：当然可以，当多个参数作为控制变量的时候1个WHEN内部可以嵌套更多的情况</p>
<p>Q22)	What is a scope terminator?  Give examples.<br />
A22)	Scope terminator is used to mark the end of a verb e.g. EVALUATE, END-EVALUATE; IF, END-IF.<br />
Q：什么是结束终止符<br />
A：结束终止符是搭配一些范围指令的，也就是标识一些范围指令的结束。如：EVALUATE, END-EVALUATE; IF, END-IF  如果没有该结束符，该条语句将终止不了</p>
<p>Q23)	How do you do in-line PERFORM? &#8211; GS<br />
A23)	PERFORM &#8230;  &#8230;</p>
<p>END-PERFORM<br />
Q：怎么使用内嵌的PERFORM<br />
A：PERFORM &#8230;  &#8230;</p>
<p>END-PERFORM<br />
所谓内嵌也就是PERFORM被嵌在某些比如循环语句中担当执行主体，同时通过UNTIL来指定结束判定</p>
<p>Q24)	When would you use in-line perform?<br />
A24)	When the body of the perform will not be used in other paragraphs. If the body of the perform is a generic type of code<br />
(used from various other places in the program), it would be better to put the code in a separate Para and use<br />
PERFORM Para name rather than in-line perform.<br />
Q：什么时候使用内嵌式PERFORM<br />
A：当该段PERFORM的内容不被其他段用到，只在某些局部代码中（当然PERFORM的主体所用到的参数也都是局部的，例如循环）使用，如果PERFORM主体的代码是一般的（用到了别的程序段的变量），还是使用PERFORM Para name这样的形式比较好（也就是相对与内于PERFORM的外部PERFORM）。</p>
<p>Q25)	What is the difference between CONTINUE &amp; NEXT SENTENCE ?<br />
A25)	They appear to be similar, that is, the control goes to the next sentence in the paragraph. But, Next Sentence would<br />
take the control to the sentence after it finds a full stop (.). Check out by writing the following code example, one if<br />
sentence followed by 3 display statements (sorry they appear one line here because of formatting restrictions) If 1 &gt; 0<br />
then next sentence end if display &#8216;line 1&#8242; display &#8216;line 2&#8242;. display &#8216;line 3&#8242;. *** Note- there is a dot (.) only at the end of<br />
the last 2 statements, see the effect by replacing Next Sentence with Continue ***<br />
Q：CONTINUE 和 NEXT SENTENCE有什么不同<br />
A：两者比较相似，都是将程序控制权交给下一句，但是用NEXT SENTENCE的时候，只有当碰到句结束符（就是句末的‘.’）才会将执行下句<br />
这道题我用了2个例子测试了一下：<br />
1：IF TEST-NUMERIC &gt; 0<br />
THEN NEXT SENTENCE<br />
END-IF<br />
DISPLAY &#8216;LINE1&#8242; DISPLAY &#8216;LINE2&#8242;. DISPLAY &#8216;LINE3&#8242;.（请注意代码中的‘.’号）<br />
结果输出：LINE3<br />
2：IF TEST-NUMERIC &gt; 0<br />
THEN CONTINUE<br />
END-IF<br />
DISPLAY &#8216;LINE1&#8242; DISPLAY &#8216;LINE2&#8242;. DISPLAY &#8216;LINE3&#8242;.<br />
结果输出：LINE1<br />
LINE2<br />
LINE3<br />
相信已经区别已经比较明显了，NEXT SENTENCE是靠句末的结束符（也就是‘.‘）来判断下一句的，而CONTINUE是通过句头的保留字（这例中是DISPLAY）来判断下一句的<br />
Q26)	What does EXIT do ?<br />
A26)	Does nothing ! If used, must be the only sentence within a paragraph.<br />
Q：EXIT语句有什么作用<br />
A：什么都不做，如果用到的话，肯定是作为一段的唯一的一句话，注意：这里不是子程序中用的EXIT PROGRAME</p>
<p>（来源：<a href="http://www.newcoin.info">http://www.newcoin.info</a>）</p>
<p>Q27)	Can I redefine an X(100) field with a field of X(200)?<br />
A27)	Yes. Redefines just causes both fields to start at the same location. For example:</p>
<p>01 WS-TOP PIC X(1)<br />
01 WS-TOP-RED REDEFINES WS-TOP PIC X(2).<br />
If you MOVE &#8216;12&#8242; to WS-TOP-RED,<br />
DISPLAY WS-TOP will show 1 while<br />
DISPLAY WS-TOP-RED will show 12.<br />
Q：能不能把X（100）的区域重定义成X（200）<br />
A：可以，重定义只是相当于把两个区域的首地址放在一起，从上面这个例子也很好理解</p>
<p>A28)	Can I redefine an X(200) field with a field of X(100) ?<br />
Q31)1	Yes.<br />
Q：能不能把X（200）的区域重定义成X（100）<br />
A：可以，原因同上</p>
<p>Q31)2	What do you do to resolve SOC-7 error? &#8211; GS<br />
Q31)	Basically you need to correcting the offending data. Many times the reason for SOC7 is an un-initialized numeric item.<br />
Examine that possibility first. Many installations provide you a dump for run time abend’s ( it can be  generated also<br />
by calling some subroutines or OS services thru  assembly language).  These dumps provide the offset of the last<br />
instruction at which the abend occurred.  Examine the compilation output XREF listing to get the verb and the line<br />
number of the source  code at this offset.  Then you can look at the source code to find the  bug.  To get capture the<br />
runtime dumps,  you will have to define some  datasets (SYSABOUT etc ) in the JCL. If none of these are helpful,  use<br />
judgement and DISPLAY to localize  the source of error. Some installation might have batch program debugging<br />
tools.  Use them.<br />
Q：怎么解决SOC-7错误<br />
A：基本上你要看一下一些比较奇怪的数据，很多导致SOC7的原因都是因为数据项的初始化。<br />
首先检查所有的可能性。某些功能可能提供一个空间用来存贮那些运行时间ABEND，并且提供最近一次运行时间ABEND的偏移量的说明（也就是位于队列中的位置），检查编译器的输出XREF队列以获得一些关键字。然后你就能看下源代码找出BUG。为了捕获一些运行时间的信息，你需要在JCL中建一个DATASET（象SYSABOUT这样的），如果这些都没用，那么再审查一下ERROR出现的位置判断一下原因。有些软件安装了会提供批处理程序调试工具，那么可以就可以用这些工具了。<br />
PS：以上大意就是说SOC-7这个错误多半是因为数据项初始化造成的，然后你应该到运行后编译器的返回信息中去找这些ERROR出现的地方（我们常用的话应该就是走查LOG），查的时候多注意下数据项的初始化问题。</p>
<p>Q32)	How is sign stored in Packed Decimal fields and Zoned Decimal fields?<br />
Q32)	Packed Decimal fields:	Sign is stored as a hex value in the last nibble (4 bits ) of the storage.<br />
Zoned Decimal fields:	As a default, sign is over punched with the numeric value stored in the last bite.<br />
Q：在内部十进制区域和显示十进制区域符号是怎么存贮的<br />
A：内部十进制是一个数字占4位（半字节），内存中用16进制来存，最后在追加4位作为符号，如-4=01001101（末尾的1101表示负，1100表示正），而我们用于显示的十进制，符号并不占空间，只是在最后一位上标识一下</p>
<p>Q33)	How is sign stored in a comp-3 field? &#8211; GS<br />
Q33)	It is stored in the last nibble. For example if your number is +100, it stores hex 0C in the last byte, hex 1C if<br />
your number is 101, hex 2C if your number is 102, hex 1D if the number is -101, hex 2D if the number is -102 etc&#8230;<br />
Q：COMP-3区怎么存储符号<br />
A：COMP-3采用的是内部十进制的存储方式，所谓内部十进制就是压缩式的外部十进制存储方式，上题讲过外部十进制每个数值都用1个字节存储，但前4位是存符号的，这样比较浪费存储空间，所以内部十进制的存储方式就用半个字节（4位）存储一个数字，在最后增加4位作为符号（1100（C）为正，1101（D）为负）</p>
<p>Q34)	How is sign stored in a COMP field ? &#8211; GS<br />
Q34)	In the most significant bit.  Bit is ON if -ve, OFF if +ve.<br />
Q：COMP区怎么存储符号<br />
A：COMP是采用定点二进制的方式存储数据，也就是将一个十进制的数值转化成二进制再进行存储，因为机器存储的形式也是二进制，所以定点二进制的读取是最快速的，因为COMP型的数据是用做计算（也就是说不用再转化成十进制打印），使用定点二进制将会非常高效。这样的存储方式符号是保存在最高有效果位上，如：10=（00001010）₂，</p>
<p>-10=（00011010）₂</p>
<p>（来源：<a href="http://www.newcoin.info">http://www.newcoin.info</a>）</p>
<p>Q35)	What is the difference between COMP &amp; COMP-3  ?<br />
Q35)	COMP is a binary storage format while COMP-3 is packed decimal format.<br />
Q：COMP和COMP-3什么区别<br />
A：这之前讲过了，COMP采用定点二进制存储，COMP-3采用内部十进制存储</p>
<p>Q36)	What is COMP-1? COMP-2?<br />
Q36)	COMP-1  &#8211; Single precision floating point. Uses 4 bytes.<br />
COMP-2 &#8211; Double precision floating point. Uses 8 bytes.<br />
Q：COMP-1是什么？什么是COMP-2<br />
A：其实之所以定义计算型数据（COMP~COMP-3）以区别DISPLAY（能计算，但是要用于打印）是为了考虑效率，因为大家知道文件导入（也就是USER使用的数据）一般是十进制的，而机器存储都是二进制，那么当定义的数据光用来计算不用打印，处于效率考虑会把它定义成COMP型，当然就会衍生出几类COMP以适应不用的数据类型的存储。很明显，这里COMP-1就是采用内部短浮点（4个字节表示一个数，8位指数部分，24位表示数字部分），COMP-2用内部长浮点型（8个字节表示一个书，16位指数部分，48位表示数字部分）以适应浮点数据的存储，长浮点精确度更高.</p>
<p>Q37)	How do you define a variable of COMP-1?  COMP-2?<br />
Q37)	No picture clause to be given. Example 01 WS-VAR USAGE COMP-1.<br />
Q:怎么定义一个COMP-1型？COMP-2型<br />
A：不要用PICTURE描述，因为是确定分配多少内存的，直接用USAGE，如01 WS-VAR USAGE COMP-1</p>
<p>Q38)	How many bytes does a S9(7) COMP-3 field occupy ?<br />
Q38)	Will take 4 bytes. Sign is stored as hex value in the last nibble. General formula is INT((n/2) + 1)), where n=7 in this<br />
example.<br />
Q：一个S9（7）的COMP-3型占用多少字节？<br />
A：占用4字节。COMP-3用内部十进制存储，S9（7）中的S是要占空间的，符号占4位，7个数字，每个4位（半个字节），所以是（4+7*4）/8=4字节（字节和位的比例不要搞错了哦）</p>
<p>Q39)	How many bytes does a S9(7) SIGN TRAILING SEPARATE field occupy ?<br />
Q39)	Will occupy 8 bytes (one extra byte for sign).<br />
Q：一个S9(7) SIGN TRAILING SEPARATE区域占多少字节<br />
A：这里是每个符号单独分配空间（也就是没个数值用1个字节表示，就象最常用的DISPLAY型的分配方式），算上S的空间，所以是7+1=8字节。一般情况省略的SIGN子句都是隐含SIGN IS TRAILING的</p>
<p>Q40)	How many bytes will a S9(8) COMP field occupy ?<br />
Q40)	4 bytes.<br />
Q： 一个S9(8) COMP 区域占多少字节<br />
A：如果之前关于COMP的解释听懂了的话，那很显然就是4字节了（定点二进制用2字节存储1~4，4字节存储5~9，……类推，你可以自己推下），如果这块还不懂的可以问我或者查下书</p>
]]></content:encoded>
			<wfw:commentRss>http://www.newcoin.info/cobol%e7%bb%8f%e5%85%b8%e9%9d%a2%e8%af%95%e9%a2%98%e5%ba%93%ef%bc%88%e4%b8%ad%e8%8b%b1%e6%96%87%e7%89%88%ef%bc%89.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->