MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

cics compile problem

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware
View previous topic :: View next topic  
Author Message
ravinan
Beginner


Joined: 30 Mar 2005
Posts: 4
Topics: 2

PostPosted: Mon May 02, 2005 7:41 am    Post subject: cics compile problem Reply with quote

Hi,
As per program standards of the client, we are using quote(") in the cobol program. So whenever we needed of character type fields,we use quotes("). But in my cics program when i'm translating and compiling, the below fields are added by the COBOL/VSE compiler, where some fields(DFHLDVER, DFHEICB....) value are in single quotes('). becaz of this i'm getting compilation error.
How can i make it into double quotes. is there any option available or how to handle this?

01 DFHLDVER PIC X(22) VALUE 'LD TABLE DFHEITAB 411.'.

01 DFHEID0 PICTURE S9(7) COMPUTATIONAL-3 VALUE ZERO.

01 DFHEIB0 PICTURE S9(4) COMPUTATIONAL VALUE ZERO.

01 DFHEICB PICTURE X(8) VALUE IS ' '.

01 DFHEIV16 COMP PIC S9(01 DFHLDVER PIC X(22) VALUE 'LD TABLE DFHEITAB 411.'.
01 DFHEID0 PICTURE S9(07) COMPUTATIONAL-3 VALUE ZERO.

01 DFHEIB0 PICTURE S9(04) COMPUTATIONAL VALUE ZERO.

01 DFHEICB PICTURE X(08) VALUE IS ' '.

01 DFHEIV16 COMP PIC S9(08).
01 DFHB0041 COMP PIC S9(08).
01 DFHB0042 COMP PIC S9(08).
01 DFHB0043 COMP PIC S9(08).
01 DFHB0044 COMP PIC S9(08).
01 DFHB0045 COMP PIC S9(08).
01 DFHB0046 COMP PIC S9(08).
01 DFHB0047 COMP PIC S9(08).
01 DFHB0048 COMP PIC S9(08).
01 DFHB0049 COMP PIC S9(08).
01 DFHB004A COMP PIC S9(08).
01 DFHEIV11 COMP PIC S9(04).
01 DFHEIV12 COMP PIC S9(04).
.....................
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Mon May 02, 2005 9:32 am    Post subject: Reply with quote

ravinan,

can you post your error messages?

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ravinan
Beginner


Joined: 30 Mar 2005
Posts: 4
Topics: 2

PostPosted: Tue May 03, 2005 7:42 am    Post subject: Reply with quote

IGYDS0008-E A QUOTE OR AN APOSTROPHE WAS USED AS A CHARACTER STRING DELIMITER.
IT WAS NOT THE DELIMITER OPTION IN EFFECT. THE USE WAS ACCEPTED.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Tue May 03, 2005 7:57 am    Post subject: Reply with quote

ravinan,

Add the following line at the beginning of your program i.e before ID division

Code:

CBL QUOTE


Hope this helps...

Cheers

kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
warp5
Intermediate


Joined: 02 Dec 2002
Posts: 429
Topics: 18
Location: Germany

PostPosted: Wed May 04, 2005 1:13 am    Post subject: Reply with quote

I do not think that will solve the problem. I copied the IBM copy books and changed the Apost to Quotes - but be careful, there are hex values in there that are shown on the screen as Apost. The copy books are in a library concatenated before the IBM copy books.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group