View previous topic :: View next topic
|
Author |
Message |
Time2Live
New User
Joined: 27 Apr 2005 Posts: 43 Location: United States
|
|
|
|
Hi COBOL Specialists!
I would like to use a COBOL compile parameter to produce a COBOL cross listing that is NOT sorted alphabetically.
I used to be able to do this with old version of COBOL by using XREF instead of SXFER, but now both ways sort the cross reference listing.
The reason that I would like to see the XREF displayed (unsorted) in the same order that it is presented in the COBOL program, is so that I can easily remove the fields that aren't being referenced. I can take them out in blocks instead of looking high and low for each field from a sorted XFER.
If some one has a good idea on how to produce a non-sorted XFER, please advise.
Thank you so much for your time.
~Sharon |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
|
|
Quote: |
If some one has a good idea on how to produce a non-sorted XFER, please advise. |
if it is possible "if it is"... the manuals of Your cobol will certainly tell !
Have Manual — Will Travel (*)
www-03.ibm.com/systems/z/os/zos/bkserv/index.html
(*) You asked for it, I just went along |
|
Back to top |
|
|
Time2Live
New User
Joined: 27 Apr 2005 Posts: 43 Location: United States
|
|
|
|
Geeee THANKS enrico !!!!!! |
|
Back to top |
|
|
Time2Live
New User
Joined: 27 Apr 2005 Posts: 43 Location: United States
|
|
|
|
HI all you technical genius' out there!!!
Does anyone have a "more humane" answer please?
Thanks so much for you time.
SRf |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
The manual does not indicate any way to get a non-sorted cross reference. You might be able to use the MAP output, but if it is not suitable you'll have to clean up your code by doing the work yourself. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
If some one has a good idea on how to produce a non-sorted XFER, please advise. |
One easy way to get what you want is to write the output from the compile to dasd and then use this file as input to a process you code to select/sort/write the output you want. . .
Quote: |
in IT the only human answers are those that You can get from the manuals! |
Well, usually. . .
Once upon a time there were not so many manuals and if you wanted something not covered in the manuals you had to "roll your own" or do without. . . Most of us who have been around for a long time have written many things we wanted/needed that were not a "feature" of some product. . . That it wasn't provided for us was not an acceptable reason to not get the work done. |
|
Back to top |
|
|
|