unused variables.
Select messages from
# through # FAQ
[/[Print]\]

MVSFORUMS.com -> Interview Q & A

#1: unused variables. Author: mf_user PostPosted: Mon Dec 03, 2007 8:08 am
    —
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.

#2:  Author: Terry_HeinzeLocation: Richfield, MN, USA PostPosted: Mon Dec 03, 2007 9:43 am
    —
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.

#3:  Author: mf_user PostPosted: Mon Dec 03, 2007 12:06 pm
    —
Terry Heinze, I will try it.

#4:  Author: kolusuLocation: San Jose PostPosted: Mon Dec 03, 2007 12:24 pm
    —
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

#5:  Author: mf_user PostPosted: Tue Dec 04, 2007 5:00 am
    —
Oh...God! The information given over there is very useful. I have used the option now and got the results.

Thanks Kolusu.



MVSFORUMS.com -> Interview Q & A


output generated using printer-friendly topic mod. All times are GMT - 5 Hours

Page 1 of 1

Powered by phpBB © 2001, 2005 phpBB Group