IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Significance of APOST and XREF in PARM


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Kalyan Chakravarthi

New User


Joined: 18 Jan 2013
Posts: 2
Location: india

PostPosted: Fri Jan 18, 2013 5:06 pm
Reply with quote

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

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Fri Jan 18, 2013 5:15 pm
Reply with quote

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

New User


Joined: 18 Jan 2013
Posts: 2
Location: india

PostPosted: Fri Jan 18, 2013 5:27 pm
Reply with quote

Hi Robert,

Thanks for your reply. I got it now.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts JCL EXEC PARM data in C Java & MQSeries 2
No new posts Need to specify PARM='POSIX(ON) Java & MQSeries 4
No new posts How to pass the PARM value to my targ... COBOL Programming 8
No new posts Passing parm from JCL to Assembler, b... PL/I & Assembler 2
No new posts Using PARM=('JPn"&SYMBOL&quo... DFSORT/ICETOOL 2
Search our Forums:

Back to Top