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

Working Storage varaibles in Procedure Division


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
raj_mainframe08

New User


Joined: 11 Sep 2007
Posts: 65
Location: Gurgaon

PostPosted: Sat Jan 30, 2010 11:07 pm
Reply with quote

We use Endevor to compile the COBOL programs. Is there any way to know what are the variables in the working storage section that are used in the procedure division of cobol program and what variables are not used?
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Sat Jan 30, 2010 11:21 pm
Reply with quote

Compile the program using the OPT(FULL) option.

Are you using NOOPT?

OPT may not be an option that is approved to be used in your Production environment, so you need to verify this.

Bill
Back to top
View user's profile Send private message
raj_mainframe08

New User


Joined: 11 Sep 2007
Posts: 65
Location: Gurgaon

PostPosted: Sat Jan 30, 2010 11:32 pm
Reply with quote

Can you please help me how/where can i specify OPT(FULL) in Endevor?
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Sat Jan 30, 2010 11:38 pm
Reply with quote

I believe it's an option for the PARM associated with the compiler-name. NOOPT is the compile default and if it's not specified in the PARM list, then you can also specify OPT(FULL), by inserting a CBL card above the IDENTIFICATION DIVISION of the program, beginning in position 01 as -

Code:

CBL OPT(FULL)

Or, you can add OPT(FULL) to the PARM list itself.

Bill
Back to top
View user's profile Send private message
raj_mainframe08

New User


Joined: 11 Sep 2007
Posts: 65
Location: Gurgaon

PostPosted: Sun Jan 31, 2010 12:02 am
Reply with quote

Thanks Bill for the help. I will be able to check now what are the variables that are being used in the procedure division.
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 -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts PD not working for unsigned packed JO... DFSORT/ICETOOL 5
No new posts Def PD not working for unsigned packe... JCL & VSAM 3
No new posts CICS vs LE: STORAGE option CICS 0
No new posts Insufficient Storage ABENDS & Debugging 7
Search our Forums:

Back to Top