Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
How to set the DBCS option for the compiler

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
Pravin_mhaske

New User


Joined: 23 Feb 2007
Posts: 1
Location: Pune

PostPosted: Fri Feb 23, 2007 11:07 pm    Post subject: How to set the DBCS option for the compiler
Reply with quote

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
View user's profile Send private message

dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Sat Feb 24, 2007 1:46 am    Post subject:
Reply with quote

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
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Sat Feb 24, 2007 1:47 am    Post subject:
Reply with quote

Hmmmm.

You can have bold or you can have code, but you can't have bold code icon_smile.gif
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4650
Location: Raleigh, NC, USA

PostPosted: Sat Feb 24, 2007 2:08 am    Post subject: Re: How to set DBCS
Reply with quote

Nope. I usually suggest using an arrow, like

Code:

NODBCS <=== See This Line
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Sat Feb 24, 2007 2:14 am    Post subject:
Reply with quote

Good point icon_idea.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts pre-compiler for program in an HFS Pedro DB2 0 Fri Jun 23, 2017 11:13 pm
No new posts DFSORT - Overriding default option TU... Steve Ironmonger DFSORT/ICETOOL 3 Tue Apr 04, 2017 3:54 pm
No new posts Who can recomend or to know a PL1 com... Miguel Fernandez DB2 0 Tue Feb 14, 2017 1:42 pm
No new posts BWO option in VSAM blayek CICS 3 Sat Nov 05, 2016 10:47 am
No new posts Regarding COBOL Stored Procedure opti... selvamsrinivasan85 DB2 4 Fri Nov 04, 2016 8:57 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us