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 statement not recognised during PGM compilation

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


Joined: 06 Jul 2005
Posts: 29
Topics: 20

PostPosted: Fri Jul 22, 2005 3:41 am    Post subject: CICS statement not recognised during PGM compilation Reply with quote

Hi,

I have a situation while executing a CICS COBOL program. The issue is I have few CICS statements which are in a copy book. This copybook is used in the program. When the Translation is happening the copy is not expanded and is expanded during compilation and it results in compilation error.

Is there any compiler or translator option to expand the copy book during translation.The version controller used is Changeman.
Kindly help.

Thanks.
Back to top
View user's profile Send private message
Brian
Beginner


Joined: 12 Aug 2003
Posts: 95
Topics: 6

PostPosted: Fri Jul 22, 2005 4:52 am    Post subject: Reply with quote

Chikdu,

The CICS translator will understand only EXEC CICS statements. If you hide your cics statements within a copy book then there is no way that they are understood. I am not sure but there is an advanced translator that does compilation and translation. You may need to talk to your system support people to understand if such an option exists.

Cheers
Brian
Back to top
View user's profile Send private message
chikdu
Beginner


Joined: 06 Jul 2005
Posts: 29
Topics: 20

PostPosted: Fri Jul 22, 2005 5:19 am    Post subject: Reply with quote

Actually this is an existing production program. The copybooks exist in production.We are migrating these to enterprise cobol. And its giving an error during compilation.

Kindly help.
Back to top
View user's profile Send private message
Manas Biswal
Intermediate


Joined: 29 Nov 2002
Posts: 382
Topics: 27
Location: Chennai, India

PostPosted: Tue Jul 26, 2005 4:51 pm    Post subject: Reply with quote

Are you sure that the copybooks are included in the program using a COBOL COPY. Or are there vendor specific includes like "++INCLUDE" for Panvalet.

Regards,
Manas
_________________
There is no path to peace. Peace is the path.
- Mahatma Gandhi (1869-1948)
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Dibakar
Advanced


Joined: 02 Dec 2002
Posts: 700
Topics: 63
Location: USA

PostPosted: Wed Jul 27, 2005 2:14 am    Post subject: Reply with quote

It is possible that production programs are first expanaded and then translated. Try to see if production compile jcl is any different or not.
Back to top
View user's profile Send private message Send e-mail
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