Re: [U2] universe compiler -xref output
From: Buss, Troy I'd like to eliminate assigned but unused variables, so I'm looking for output that has single assignments only. I asked about this a couple days ago in the mvToolbox forum, and was told that product should be able to help with this. That's no surprise as it has a million other features, so why not this one? mvToolbox is one of the best products in this industry, but it's largely unknown and thus seriously under-appreciated. Get a 1-year (!?) free trial: http://www.mvtoolbox.com No, I have nothing to gain from recommending this software. I am not a developer, sales rep, nor providing related services. It's just good software that deserves an occasional mention. T ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] universe compiler -xref output
I saw this software many years ago at Spectrum conference. So I clicked on the link to see what's new. Most of the pages are dead and the ones that are not are hopeless out of date. See your comment from 2004 on http://www.mvtoolbox.com/Testimonials.1.html. I would be very worried that any product I get from them would not be well supported if they cannot get their web site in order. Doug On Wed, Feb 15, 2012 at 10:57 AM, Tony Gravagno 3xk547...@sneakemail.comwrote: From: Buss, Troy I'd like to eliminate assigned but unused variables, so I'm looking for output that has single assignments only. I asked about this a couple days ago in the mvToolbox forum, and was told that product should be able to help with this. That's no surprise as it has a million other features, so why not this one? mvToolbox is one of the best products in this industry, but it's largely unknown and thus seriously under-appreciated. Get a 1-year (!?) free trial: http://www.mvtoolbox.com No, I have nothing to gain from recommending this software. I am not a developer, sales rep, nor providing related services. It's just good software that deserves an occasional mention. T ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] universe compiler -xref output
If you have a real good editor you would be able to see your variables in an outline format. Within the outline you can break it down to see what line numbers this or that variable is used at. Check out this image at http://www.u2logic.com/images1/XLr8EditorOutline.jpg. This is a client's code with lots of GOTO's. Regards, Doug www.u2logic.com/tools.html Home of the real good editor On Fri, Feb 10, 2012 at 5:06 PM, Buss, Troy (Logitek Systems) troy.b...@nordsonasymtek.com wrote: The universe compiler (-xref) option is pretty useful for tracking down variable usage. Specifically, I'd like to eliminate assigned but unused variables, so I'm looking for output that has single assignments only. It looks like the raw compiler output from -X is from an intermediate file and then captured using retrieve. Does anyone know if the intermediate file is available for running my own reports? On d3 it was the BSYM file and you could write your own reports to find what you need. I'm looking for something similar on universe because scanning for these variable assignments from large programs is very tedious using the current data in the captured cross reference listing that comes out of the source.L file. Worst case, I guess I could write another program to scan that record for what I need. -Troy _ Scanned by IBM Email Security Management Services powered by MessageLabs. For more information please visit http://www.ers.ibm.com This email is intended only for the use of the party to which it is addressed and may contain information that is privileged, confidential, or protected by law. If you are not the intended recipient you are hereby notified that any dissemination, copying or distribution of the email or its contents is strictly prohibited. If you have received this message in error, please notify us immediately, by replying to the message and deleting it from your computer. WARNING: Internet communications are not assured to be secure or clear of inaccuracies as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Therefore, we do not accept responsibility for any errors or omissions that are present in this email, or any attachment, that have arisen as a result of e-mail transmission. _ ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] universe compiler -xref output
Hmm that jpg seems to be saying show me the BIT variable on line 1147, and yet that line (1147) only says ATT -Original Message- From: Doug Averch dave...@gmail.com To: U2 Users List u2-users@listserver.u2ug.org Sent: Sun, Feb 12, 2012 3:07 pm Subject: Re: [U2] universe compiler -xref output If you have a real good editor you would be able to see your variables in an outline format. Within the outline you can break it down to see what line numbers this or that variable is used at. Check out this image at http://www.u2logic.com/images1/XLr8EditorOutline.jpg. This is a client's code with lots of GOTO's. Regards, Doug www.u2logic.com/tools.html Home of the real good editor On Fri, Feb 10, 2012 at 5:06 PM, Buss, Troy (Logitek Systems) troy.b...@nordsonasymtek.com wrote: The universe compiler (-xref) option is pretty useful for tracking down variable usage. Specifically, I'd like to eliminate assigned but unused variables, so I'm looking for output that has single assignments only. It looks like the raw compiler output from -X is from an intermediate file and then captured using retrieve. Does anyone know if the intermediate file is available for running my own reports? On d3 it was the BSYM file and you could write your own reports to find what you need. I'm looking for something similar on universe because scanning for these variable assignments from large programs is very tedious using the current data in the captured cross reference listing that comes out of the source.L file. Worst case, I guess I could write another program to scan that record for what I need. -Troy _ Scanned by IBM Email Security Management Services powered by MessageLabs. For more information please visit http://www.ers.ibm.com This email is intended only for the use of the party to which it is addressed and may contain information that is privileged, confidential, or protected by law. If you are not the intended recipient you are hereby notified that any dissemination, copying or distribution of the email or its contents is strictly prohibited. If you have received this message in error, please notify us immediately, by replying to the message and deleting it from your computer. WARNING: Internet communications are not assured to be secure or clear of inaccuracies as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Therefore, we do not accept responsibility for any errors or omissions that are present in this email, or any attachment, that have arisen as a result of e-mail transmission. _ ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] universe compiler -xref output
Line 1147 assigns BIT = 1 and it shows on the outline in red under the BIT variable tree. I'm not sure what you are looking at, but I bet you a beer or two I'm right. On Sun, Feb 12, 2012 at 4:14 PM, Wjhonson wjhon...@aol.com wrote: Hmm that jpg seems to be saying show me the BIT variable on line 1147, and yet that line (1147) only says ATT -Original Message- From: Doug Averch dave...@gmail.com To: U2 Users List u2-users@listserver.u2ug.org Sent: Sun, Feb 12, 2012 3:07 pm Subject: Re: [U2] universe compiler -xref output If you have a real good editor you would be able to see your variables in an outline format. Within the outline you can break it down to see what line numbers this or that variable is used at. Check out this image at http://www.u2logic.com/images1/XLr8EditorOutline.jpg. This is a client's code with lots of GOTO's. Regards, Doug www.u2logic.com/tools.html Home of the real good editor On Fri, Feb 10, 2012 at 5:06 PM, Buss, Troy (Logitek Systems) troy.b...@nordsonasymtek.com wrote: The universe compiler (-xref) option is pretty useful for tracking down variable usage. Specifically, I'd like to eliminate assigned but unused variables, so I'm looking for output that has single assignments only. It looks like the raw compiler output from -X is from an intermediate file and then captured using retrieve. Does anyone know if the intermediate file is available for running my own reports? On d3 it was the BSYM file and you could write your own reports to find what you need. I'm looking for something similar on universe because scanning for these variable assignments from large programs is very tedious using the current data in the captured cross reference listing that comes out of the source.L file. Worst case, I guess I could write another program to scan that record for what I need. -Troy _ Scanned by IBM Email Security Management Services powered by MessageLabs. For more information please visit http://www.ers.ibm.com This email is intended only for the use of the party to which it is addressed and may contain information that is privileged, confidential, or protected by law. If you are not the intended recipient you are hereby notified that any dissemination, copying or distribution of the email or its contents is strictly prohibited. If you have received this message in error, please notify us immediately, by replying to the message and deleting it from your computer. WARNING: Internet communications are not assured to be secure or clear of inaccuracies as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Therefore, we do not accept responsibility for any errors or omissions that are present in this email, or any attachment, that have arisen as a result of e-mail transmission. _ ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users