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

Compiler options in Cobol


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Mane Sagar

New User


Joined: 12 Jul 2005
Posts: 41
Location: mumbai

PostPosted: Fri Mar 10, 2006 8:10 pm
Reply with quote

Hi,

I read in a session that the compiler option of a program can be changed by coding it in the program above the IDENTIFICATION DIVISION.Can anyone give me the Syntax for that.

Compiler options like DYNAM, NODYNAM, SSRANGE,NOSSRANGE.DATA(24) and DATA(31). AWO, NOAWO
I would also like to get some more information on the above compiler options.

Any downloadable material will be more helpful.

Thanks & Regards,
Sagar.
Back to top
View user's profile Send private message
martin9

Active User


Joined: 01 Mar 2006
Posts: 290
Location: Basel, Switzerland

PostPosted: Fri Mar 10, 2006 9:11 pm
Reply with quote

hy Mane,

insert at the top of the program (before identification division)
CBL options....
IDENTIFICATION DIVISION.

you code all existing options.

you can also pass these options directly in your compiler step.

1. Installation Defaults
2. Overrides by JCL
3. Overrides by CBL

more questions...?

martin9
Back to top
View user's profile Send private message
Mane Sagar

New User


Joined: 12 Jul 2005
Posts: 41
Location: mumbai

PostPosted: Fri Mar 10, 2006 9:37 pm
Reply with quote

Hi Martin9,

Can you please provide the complete syntax and if possible also please put some lights on the use of this.

Thanks,
Sagar.
Back to top
View user's profile Send private message
martin9

Active User


Joined: 01 Mar 2006
Posts: 290
Location: Basel, Switzerland

PostPosted: Fri Mar 10, 2006 9:41 pm
Reply with quote

hy Mane,

i cannot give you all the cobol options and
explain them to you. pls refer to the ibm manual,
all options will be explained there...

in the portal on the left side (frame),

there is a link to IBM Manuals...
or refer to the ibm public boulder library...

martin9
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Sat Mar 11, 2006 5:10 am
Reply with quote

Hi Sagar,

As Martin says, you code it like this: CBL AWO,NOOFF,LIST,ETC

The COBOL Pgmr's Guide for the compiler you're using will have the info you need re. OPTIONS.

Just go to the top left side of the panel and click "manuals", then scroll down to the manual you want.

If you experience problems, tell us what you did and we'll try to help.
Back to top
View user's profile Send private message
Mane Sagar

New User


Joined: 12 Jul 2005
Posts: 41
Location: mumbai

PostPosted: Sat Mar 11, 2006 3:19 pm
Reply with quote

Hi,

Great help from Martin9 and mmwife.
Thanks a lot.

Regards,
Sagar Mane.
Back to top
View user's profile Send private message
rohit jaiswal
Warnings : 2

New User


Joined: 09 Mar 2006
Posts: 36
Location: hyderabad,A.P

PostPosted: Mon Mar 13, 2006 12:25 pm
Reply with quote

hi sagar

can u please send me the link

thank you

regards
rohit
Back to top
View user's profile Send private message
martin9

Active User


Joined: 01 Mar 2006
Posts: 290
Location: Basel, Switzerland

PostPosted: Tue Mar 14, 2006 4:34 pm
Reply with quote

hy rohit,

pls, go to the top of this page,
there you will find:

Portal | Manuals | Downloads | References | InfoZone | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD

click on Manuals, there are all the manuals you need,
try it, there is much more than only cobol...

martin9
Back to top
View user's profile Send private message
rohit jaiswal
Warnings : 2

New User


Joined: 09 Mar 2006
Posts: 36
Location: hyderabad,A.P

PostPosted: Tue Mar 14, 2006 4:40 pm
Reply with quote

thnks martin
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 -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts How I Found a Bug in a FORTRAN Compiler All Other Mainframe Topics 4
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
Search our Forums:

Back to Top