[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Re: How to sort file contents ?



Yeah. I think there's no sort in SQR. What we did was to sort the file
first (VAX/VMS Sort, yes our OS is VAX/VMS), store this in a temp
file and pass this to the SQR program.

All of this can be done in a simple script file.

:)

---------------------------------------------------------------


     Hi,

     I need to read a file and sort its contents based on one of the fields and
     print them. I dont think there's any command in SQR which would help me do
     this(like we have internal sort in Cobol). Can anyone tell me how it can be
     done?

     TIA
     Tuhina.