Re: Sort file by computed field
From: Robert Wagner (robert.deletethis_at_wagner.net)
Date: 06/13/04
- Next message: Donald Tees: "Re: [OT] The Language of... Files?"
- Previous message: Robert Wagner: "Re: Is it possible to use the value of the PROGRAM ID within the source code?"
- In reply to: Sally Pascoe: "Sort file by computed field"
- Next in thread: JerryMouse: "Re: Sort file by computed field"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 13 Jun 2004 10:19:13 GMT
Sally Pascoe <sallypascoe@hotmail.com> wrote:
>I want to sort records for a report in descending order of a computed
>field.
>
>How do I sort records in a file based on a computed field based on two
>fields in that file but the computed field is not in the file?
>
>Even a keyword for the command so I had something to look for would be
>a help.
You use the SORT verb. The INPUT PROCEDURE computes the sort key, which is in
the SD file. The OUTPUT PROCEDURE prints the report.
- Next message: Donald Tees: "Re: [OT] The Language of... Files?"
- Previous message: Robert Wagner: "Re: Is it possible to use the value of the PROGRAM ID within the source code?"
- In reply to: Sally Pascoe: "Sort file by computed field"
- Next in thread: JerryMouse: "Re: Sort file by computed field"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|