#1: unused variables. Author: mf_user, Posted: 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_Heinze, Location: Richfield, MN, USAPosted: 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, Posted: Mon Dec 03, 2007 12:06 pm Terry Heinze, I will try it.
#4: Author: kolusu, Location: San JosePosted: Mon Dec 03, 2007 12:24 pm mf_user,
Please search before posting. This topic has been discussed earlier. Check this link
#5: Author: mf_user, Posted: 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.