Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. jgcarter56

    Need to move SORT statements from main procedure to subroutine(s)

    Crox, Sounds like you are saying that you could code a subprogram that takes a parameter which tells it to RELEASE, SORT and/or RETURN. And then the calling program could do all of the other assorted logic that gets you to the point of doing a RELEASE, RETURN or SORT. Is that correct? But...
  2. jgcarter56

    Need to move SORT statements from main procedure to subroutine(s)

    What I'm really trying to accomplish is to move off of hand-coded COBOL to a model driven development system which generates COBOL but does not support the SORT statement. I know that I will still have to maintain hand-written COBOL but I want the amount of that COBOL to be as small as...
  3. jgcarter56

    Need to move SORT statements from main procedure to subroutine(s)

    Webrabbit, that is correct; the RELEASE returns control back to the sort so that it can place the data into the sort work area and the RETURN returns control back to the sort so that the sort work area data can be retrieved. Does that sound correct? So what it comes down to is that I will need...
  4. jgcarter56

    Need to move SORT statements from main procedure to subroutine(s)

    Thanx, Frederico, for the info. I was kind of afraid of that but perhaps someone else can provide some more info.
  5. jgcarter56

    Need to move SORT statements from main procedure to subroutine(s)

    I need to move SORT statements from the main procedure of my code into one or more separate subroutines. I also need to remove the use of RETURN and RELEASE statements from the main procedure as well. How do I go about doing this? Should I create temporary files that contain the data that...

Part and Inventory Search

Back
Top