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
 

 

How to find out unused working storage variables???

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
teena joseph

New User


Joined: 29 Mar 2008
Posts: 1
Location: India

PostPosted: Sun Mar 30, 2008 3:22 pm    Post subject: How to find out unused working storage variables???
Reply with quote

Please help me to write a program for finding out the unused working storage variables declared in a COBOL/CICS program...
Back to top
View user's profile Send private message

gvsus

New User


Joined: 27 Mar 2008
Posts: 4
Location: USA

PostPosted: Sun Mar 30, 2008 7:20 pm    Post subject:
Reply with quote

You can find them in the Compile listing.

Cross-Reference : If you see Line numbers next to the field, its been referenced at that line. If the Line number is prefixed by M, then that field is modified in that line number.

I don't think these show elementary items as referenced if the group level is referenced.

Hope it helps.

Thanks
gvs
Back to top
View user's profile Send private message
sri_mf

Active User


Joined: 31 Aug 2006
Posts: 216
Location: India

PostPosted: Mon Mar 31, 2008 6:24 pm    Post subject: Re: How to find out unused working storage variables???
Reply with quote

teena joseph wrote:
Please help me to write a program for finding out the unused working storage variables declared in a COBOL/CICS program...


In my shop we use a comman called COBOLWS.i Think it is shop specific depending upon REXX utility they have written.

Pls correct me i am wrong.
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 find RACF group for access to spooled... jzhardy JCL & VSAM 1 Mon May 08, 2017 11:46 am
No new posts To find out size allocated to a seque... ashek15 JCL & VSAM 15 Thu Apr 27, 2017 9:42 am
No new posts SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm
No new posts GETMAIN / FREEMAIN versus STORAGE OBT... steve-myers PL/I & Assembler 8 Wed Feb 01, 2017 1:45 am
No new posts DB2 9.1.0 not move values to Host-Var... Miguel Fernandez DB2 8 Wed Jan 25, 2017 8:24 pm


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