View previous topic :: View next topic |
Author |
Message |
chikdu Beginner
Joined: 06 Jul 2005 Posts: 29 Topics: 20
|
Posted: Fri Jul 22, 2005 3:41 am Post subject: CICS statement not recognised during PGM compilation |
|
|
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 |
|
 |
Brian Beginner
Joined: 12 Aug 2003 Posts: 95 Topics: 6
|
Posted: Fri Jul 22, 2005 4:52 am Post subject: |
|
|
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 |
|
 |
chikdu Beginner
Joined: 06 Jul 2005 Posts: 29 Topics: 20
|
Posted: Fri Jul 22, 2005 5:19 am Post subject: |
|
|
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 |
|
 |
Manas Biswal Intermediate

Joined: 29 Nov 2002 Posts: 382 Topics: 27 Location: Chennai, India
|
Posted: Tue Jul 26, 2005 4:51 pm Post subject: |
|
|
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 |
|
 |
Dibakar Advanced

Joined: 02 Dec 2002 Posts: 700 Topics: 63 Location: USA
|
Posted: Wed Jul 27, 2005 2:14 am Post subject: |
|
|
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 |
|
 |
|
|