[JCL Return Code]返回码SE37
今天干活,跑一条JCL,遇到了一个SE37的返回码。觉得这个返回码大家应该经常能遇到,所以就拿到这里来跟大家share一下。
问题描述:
出现问题的step那部分JCL功能很简单,就是把一个PDS中的member复制到另一个PDS中去。所以就不附加JCL了。我执行JCL之后,系统给的提示是:
12.50.28 JOB00348 -JOB Name STEP2 *SE37 71 .00 .00 .0 7095 1 0 0 0 0
在JOB LOG中,除了这个信息外,没有其他的信息。于是在IBM Library中查找返回码的信息,得到的结果是:
E37
Explanation: The error occurred when an output operation was requested. The data set was on a direct access or magnetic tape device. This system completion code is accompanied by message IEC032I. Refer to the explanation of message IEC032I for complete information about the task that was ended and for an explanation of the return code (rc in the message text) in register 15.
根据上面的解释,问题是输出文件用的PDS空间不够所导致的。
问题解决:
可以考虑重新建立一个空间更大的PDS,但是更简单的方式是对现有的PDS进行压缩。具体操作在ISPF 3.4中,如下图所示:
选择compress。压缩后,再次执行JCL,操作正常。
Comments
Tell me what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!



