Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Significance of APOST and XREF in PARM

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Significance of APOST and XREF in PARM
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: 8057
Location: East Dubuque, Illinois, USA

PostPosted: Fri Jan 18, 2013 5:15 pm    Post subject:
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    Post subject: Reply to: Significance of APOST and XREF in PARM
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Using 'parm' to vary SORTOUT record v... Sysaron DFSORT/ICETOOL 13 Wed Sep 07, 2016 9:24 pm
No new posts Copy a particular column based on PAR... brindhamohan DFSORT/ICETOOL 5 Wed May 11, 2016 8:49 am
No new posts Use of Parm in SORT Ambili S DFSORT/ICETOOL 2 Mon May 09, 2016 9:16 pm
No new posts symbolic parm - allocate dsn krrp JCL & VSAM 11 Sat Oct 31, 2015 8:27 pm
No new posts Assembler "global" XREF tool steve-myers PL/I & Assembler 6 Thu Jul 30, 2015 11:07 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us