Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Working Storage varaibles in Procedure Division

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
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    Post subject: Working Storage varaibles in Procedure Division
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: 2504
Location: Atlanta, Georgia, USA

PostPosted: Sat Jan 30, 2010 11:21 pm    Post subject: Reply to: Working Storage varaibles in Procedure Division
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    Post subject:
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: 2504
Location: Atlanta, Georgia, USA

PostPosted: Sat Jan 30, 2010 11:38 pm    Post subject: Reply to: Working Storage varaibles in Procedure Division
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CA Products All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts sharing PLI storage Pedro PL/I & Assembler 2 Mon Oct 16, 2017 10:11 pm
No new posts Extend the decimal values in DIVISION Balaryan DFSORT/ICETOOL 3 Thu Oct 05, 2017 4:05 pm
No new posts Create procedure issues -628 when add... chandraBE DB2 1 Mon Sep 18, 2017 12:16 pm
No new posts LIBDEF not working in called proc packerm CLIST & REXX 0 Fri Sep 15, 2017 7:22 pm
No new posts Working with hex values in Filemanage... Emile Straker IBM Tools 0 Tue Sep 12, 2017 1:42 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us