View previous topic :: View next topic
|
Author |
Message |
Pravin_mhaske
New User
Joined: 23 Feb 2007 Posts: 1 Location: Pune
|
|
|
|
Hi, I want to process some DBCS (KANJI) charcters, but getting error that the NODBCS option is in effect. How to set the DBCS option for the compiler? |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Look in your compile JCL and you will find something like this
Code: |
COBMVS EXEC PGM=IGYCRCTL,REGION=4096K,
PARM=('OUTDD(SYSOU1)',NOLIST,LIB,MAP,RENT,XREF,ADV)
|
In the compile output, at the top there will be something like
Code: |
PP 5655-G53 IBM ENTERPRISE COBOL FOR Z/OS
INVOCATION PARAMETERS:
OUTDD(SYSOU1),NOLIST,LIB,MAP,RENT,XREF,ADV
OPTIONS IN EFFECT:
NOADATA
ADV
QUOTE
ARITH(COMPAT)
NOAWO
BUFSIZE(4096)
NOCICS
CODEPAGE(1140)
NOCOMPILE(S)
NOCURRENCY
DATA(31)
NODATEPROC
NODBCS <=== See This Line
NODECK
.
.
.
|
Notice that the parameters from the execute statement are reflected in the INVOCATION PARAMETERS. Farther down is the parameter controlling DBCS (in this example it is NODBCS). Include DBCS in the parameters on your EXEC statement and you should be good to go. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hmmmm.
You can have bold or you can have code, but you can't have bold code |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
Nope. I usually suggest using an arrow, like
Code: |
NODBCS <=== See This Line
|
|
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Good point |
|
Back to top |
|
|
|