View previous topic :: View next topic
|
Author |
Message |
Kalyan Chakravarthi
New User
Joined: 18 Jan 2013 Posts: 2 Location: india
|
|
|
|
Hello,
When I am trying to compile a cics db2 program, I am getting bind error.
As a trail and error i changed the PARM parameter that I was using in my pre compilation step.
I have changed from
PARM='HOST(IBMCOB),QUOTE,SOURCE'
TO
PARM='HOST(IBMCOB),QUOTE,APOST,SOURCE,XREF'.
I really dont know the significance of APOST and XREF. I know these are compiler options, but still trying to know how the code got compiled by using the above options.
Kindly help me in this regard.
Thank you.[/img][/code] |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
XREF tells the COBOL compiler to generate a cross-reference and would have no impact upon your program. However, APOST / QUOTE determine whether quote marks (") or tic marks (') are used in your code. Using the wrong option would cause the compile to fail, since the alphanumeric literals will not be recognized if the wrong option is used. |
|
Back to top |
|
|
Kalyan Chakravarthi
New User
Joined: 18 Jan 2013 Posts: 2 Location: india
|
|
|
|
Hi Robert,
Thanks for your reply. I got it now. |
|
Back to top |
|
|
|