问题描述
情况如下.我有PARM参数:
The situation is the following.I have PARM parameters:
CSQ1 - Queue manager name
CARD.PAYMENTS - Request queue name
CCD3050.REPLY - Reply queue name
CCD3050 - Contestant user ID
400.05 - Payment amount
"MY PAYMENT" - Payment description
在我的JCL中,我这样写:
In my JCL I wrote this so:
//PAYMENT EXEC PGM=PAYMENT,REGION=1024K,
// PARM='CSQ1,CARD.PAYMENTS,CCD3050.REPLY,CCD3050,
// 400.05,"MY PAYMENT"'
我遇到了麻烦.我写道:
I had a trouble. I wrote:
// PARM=('CSQ1,CARD.PAYMENTS,CCD3050.REPLY,CCD3050',
// '400.05,MY PAYMENT')
也遇到了麻烦.然后我写道:
And had a trouble too.Then I wrote:
PARM=(CSQ1,CARD.PAYMENTS,CCD3050.REPLY,CCD3050,400.05,MY PAYMENT)
- 然后!!!有这个: 2 IEFC624I在制药领域中的使用期限不正确这是什么意思?以及在JCL中正确使用句点的方式是什么?我在任何地方都找不到此信息...请帮忙!
- and!!!had this:2 IEFC624I INCORRECT USE OF PERIOD IN THE PARM FIELDWhat does it mean?AND HOW IS CORRECT TO USE PERIODS IN JCL? I haven't found this info anywhere...Help please!
推荐答案
如果您有.
,=
,,
'
(
)
(可能还有更多, (不是试图消除)作为PARM的 value 的一部分,那么您需要确保转换器/解释器不会解释它们.
If you have .
, =
, ,
'
(
)
(there may be more, I'm not trying to be exhastive) as part of the value of the PARM, then you need to ensure they don't get interpreted by the converter/interpreter.
您可以通过用单引号或括号将内容括起来来进行操作,也可以将它们组合使用,但是如果您的PARM 值包含此类内容,则必须加以保护(就像其他操作系统,语言中的内容.
You do this by bounding things with single quotes, or parenthesis, or you can have combinations of those, but if your PARM values contain such things you have to protect them (as you would escape
something in other OSs, languages).
这里是JCL语言参考的链接.您可以点击页面内的链接来全面浏览本手册,或下载本手册的PDF. http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/handheld/Connected/BOOKS/iea2b690/16.8.1?SHELF=&DT=20090526233806&CASE=
Here is a link a JCL Language Reference. You can follow the links inside the page to completely explore the manual, or download a PDF of it. http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/handheld/Connected/BOOKS/iea2b690/16.8.1?SHELF=&DT=20090526233806&CASE=
关于您的另一个问题,我已经向您展示了一个可以包含所有这些值的PARM.
On another question of yours I have already shown you a PARM that can contain all those values.
// PARM=('CSQ1,CARD.PAYMENTS,CCD3050.REPLY,CCD3050,400.05,MY PAYMENT')
或
// PARM='CSQ1,CARD.PAYMENTS,CCD3050.REPLY,CCD3050,400.05,MY PAYMENT'
就JCL而言,将可以工作.
Will work, as far as the JCL is concerned.
您可以通过许多不同的方式保护.
.
You can protect the .
s in many different ways.
这些PARM都可以放在一行上.它们将很难维护.将它们放在括号中,每行一个元素:
Those PARMs both fit on one line. They will be difficult to maintain. Put them in parenthesis, one element per line:
// PARM=(CSQ1,
// 'CARD.PAYMENTS',
// 'CCD3050.REPLY',
// CCD3050,
// '400.05',
// 'MY PAYMENT')
这篇关于如何在PARM参数(JCL)中使用句点?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!