Re: Unused variables

2013-09-23 Thread Binyamin Dissen
Adjacent 01 levels have been used to allocate storage larger than the maximum allowed by COBOL. On Sat, 21 Sep 2013 20:18:53 -0300 Clark Morris cfmpub...@ns.sympatico.ca wrote: :On 20 Sep 2013 08:12:42 -0700, in bit.listserv.ibm-main John Gilmore :wrote: : :The idea of eliminating unreferenced

Re: Unused variables

2013-09-23 Thread Farley, Peter x23353
Subject: Re: Unused variables Binyamin Dissen makes a very important point with begin extract Adjacent 01 levels have been used to allocate storage larger than the maximum allowed by COBOL. end extract/ I have recently been accused of being a pedant. Let me therefore act the part

Re: Very large tables/ records in COBOL was Re: Unused variables

2013-09-23 Thread Steve Comstock
On 9/23/2013 10:55 AM, Clark Morris wrote: On 23 Sep 2013 06:09:02 -0700, in bit.listserv.ibm-main you wrote: Adjacent 01 levels have been used to allocate storage larger than the maximum allowed by COBOL. With the more recent versions of COBOL is the practice still necessary or can the

Very large tables/ records in COBOL was Re: Unused variables

2013-09-23 Thread Clark Morris
On 23 Sep 2013 06:09:02 -0700, in bit.listserv.ibm-main you wrote: Adjacent 01 levels have been used to allocate storage larger than the maximum allowed by COBOL. With the more recent versions of COBOL is the practice still necessary or can the tables be large enough? Given the existence of

Re: Unused variables

2013-09-22 Thread Ron Thomas
Scott, Can you please send me that PPT? Thanks, Ron T -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Re: Unused variables

2013-09-21 Thread Clark Morris
On 20 Sep 2013 08:12:42 -0700, in bit.listserv.ibm-main John Gilmore wrote: The idea of eliminating unreferenced variables in COBOL record declarations is of course absurd, and fulminations against it are at best otiose. It is always possible to construct quietist arguments against change, any

Re: Unused variables

2013-09-21 Thread efinnell15
Yeah, might have to go back and read some of those old backups for legal or otherwise unplanned situations. Probably be on the bottom of a 'to do' list as we covert to JAVA. In a message dated 09/21/13 18:18:57 Central Daylight Time, cfmpub...@ns.sympatico.ca writes: This may also apply to

Re: Unused variables

2013-09-20 Thread Staller, Allan
Check out the compiler option XREF snip Hello. We have cobol programs where we are seeing lots of unused variables. Is there a way we get all the unused variables from the program? /snip -- For IBM-MAIN subscribe / signoff /

Re: Unused variables

2013-09-20 Thread Elardus Engelbrecht
Ron Thomas wrote: Hello. We have cobol programs where we are seeing lots of unused variables. Is there a way we get all the unused variables from the program? Beside eating up valuable storage during execution, is this a problem? You need to use Two Tools: XREF(FULL) and your eyes. But, be

Re: Unused variables

2013-09-20 Thread Steve Comstock
On 9/20/2013 7:05 AM, Staller, Allan wrote: Check out the compiler option XREF snip Hello. We have cobol programs where we are seeing lots of unused variables. Is there a way we get all the unused variables from the program? /snip If you are using current COBOL, the compile option

Re: Unused variables

2013-09-20 Thread Joel C. Ewing
On 09/20/2013 08:13 AM, Elardus Engelbrecht wrote: Ron Thomas wrote: Hello. We have cobol programs where we are seeing lots of unused variables. Is there a way we get all the unused variables from the program? Beside eating up valuable storage during execution, is this a problem? You

Re: Unused variables

2013-09-20 Thread Paul Gilmartin
On Fri, 20 Sep 2013 09:00:08 -0500, Joel C. Ewing wrote: It is a common and good practice to use Copy Books to define identical record layouts for record structures that are accessed by multiple programs, even if some of the programs only need to access a single field in the record or just

Re: Unused variables

2013-09-20 Thread AbsKerneels
Hi, I agree.. anybody that thinks they need to remove unused variables in a Cobol program should rather RETIRE or vote for TED CRUZ. Kerneels On 9/20/2013 9:12 AM, John Gilmore wrote: The idea of eliminating unreferenced variables in COBOL record declarations is of course absurd, and

Re: Unused variables

2013-09-20 Thread John Gilmore
The idea of eliminating unreferenced variables in COBOL record declarations is of course absurd, and fulminations against it are at best otiose. It is always possible to construct quietist arguments against change, any and all change; but this straw man is too obviously so to very useful to

Re: Unused variables

2013-09-20 Thread Pommier, Rex
Kerneels, keep your political commentary out of this, please. Rex -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of AbsKerneels Sent: Friday, September 20, 2013 10:17 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Unused variables Hi

Re: Unused variables

2013-09-20 Thread Scott Ford
Ron, See Tom Ross's Share presentation slide 21 ...SR1541TR.ppt..it's a simple way opt(full) + map look for BL=X Hth Regards Scott ford www.identityforge.com from my IPAD 'Infinite wisdom through infinite means' On Sep 20, 2013, at 8:54 AM, Ron Thomas ron5...@gmail.com wrote: