MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

unused variables.

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Interview Q & A
View previous topic :: View next topic  
Author Message
mf_user
Intermediate


Joined: 01 Jun 2003
Posts: 366
Topics: 104

PostPosted: Mon Dec 03, 2007 8:08 am    Post subject: unused variables. Reply with quote

Hi,

I've written a COBOL-DB2-IMS/DB program for first time. The reviewer says that remove all unwanted working-storage variables and recompile it. The program is 20000 lines (expanded). I would like to know how to know the unwanted variables in the program?

Is it useful to look at Endevor listing to find the same? Or any other method?

Please help.

Thanks.
_________________
MF
==
Any training that does not include the emotions, mind and body is incomplete; knowledge fades without feeling.
==
Back to top
View user's profile Send private message Send e-mail
Terry_Heinze
Supermod


Joined: 31 May 2004
Posts: 375
Topics: 3
Location: Richfield, MN, USA

PostPosted: Mon Dec 03, 2007 9:43 am    Post subject: Reply with quote

Try looking at the data name cross reference list at the end of your compile listing. Unreferenced names can be seen there, but be careful which ones you remove.
_________________
....Terry
Back to top
View user's profile Send private message Send e-mail
mf_user
Intermediate


Joined: 01 Jun 2003
Posts: 366
Topics: 104

PostPosted: Mon Dec 03, 2007 12:06 pm    Post subject: Reply with quote

Terry Heinze, I will try it.
_________________
MF
==
Any training that does not include the emotions, mind and body is incomplete; knowledge fades without feeling.
==
Back to top
View user's profile Send private message Send e-mail
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 11834
Topics: 74
Location: San Jose

PostPosted: Mon Dec 03, 2007 12:24 pm    Post subject: Reply with quote

mf_user,

Please search before posting. This topic has been discussed earlier. Check this link

http://www.mvsforums.com/helpboards/viewtopic.php?t=197&highlight=unused

Hope this helps...

Cheers
_________________
Kolusu - DFSORT Development Team (IBM)
DFSORT is on the Web at:
www.ibm.com/storage/dfsort
Back to top
View user's profile Send private message Send e-mail Visit poster's website
mf_user
Intermediate


Joined: 01 Jun 2003
Posts: 366
Topics: 104

PostPosted: Tue Dec 04, 2007 5:00 am    Post subject: Reply with quote

Oh...God! The information given over there is very useful. I have used the option now and got the results.

Thanks Kolusu.
_________________
MF
==
Any training that does not include the emotions, mind and body is incomplete; knowledge fades without feeling.
==
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Interview Q & A All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group