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
 

 

Compiler options in Cobol

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: Compiler options in Cobol
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: 287
Location: Basel, Switzerland

PostPosted: Fri Mar 10, 2006 9:11 pm    Post subject:
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    Post subject: Re: Compiler options in Cobol
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: 287
Location: Basel, Switzerland

PostPosted: Fri Mar 10, 2006 9:41 pm    Post subject:
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    Post subject:
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    Post subject:
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    Post subject:
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: 287
Location: Basel, Switzerland

PostPosted: Tue Mar 14, 2006 4:34 pm    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm
No new posts Execute TSO ACF commands from COBOL-I... supreethi.srid TSO/ISPF 0 Tue Feb 21, 2017 5:19 pm
No new posts Who can recomend or to know a PL1 com... Miguel Fernandez DB2 0 Tue Feb 14, 2017 1:42 pm
No new posts Mainframe Interview Questions CICS,CO... akshathan Mainframe Interview Questions 6 Thu Feb 09, 2017 6:38 pm
No new posts Submit job from Cobol with input data abdulrafi COBOL Programming 4 Wed Feb 01, 2017 12:41 pm


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