Is there any command to check wether the ps file is in
sorted order?
Answers were Sorted based on User's Feedback
Answer / muttaiah
I know like we can make a file sorted in either ascending
or desc based on a key. But i'm not sure how to check this
using a command.
Probably i guess there is no such command.
| Is This Answer Correct ? | 3 Yes | 1 No |
Answer / swapraneel
we can do one thing here just edit the file and give sort on
command line if the file is already sorted it says records
are in sorted order if not it will sort.
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / himap
I don't know of any command that can tell you if the file is in sorted order or not but you can write a REXX program for the same and use it in the command line.
| Is This Answer Correct ? | 0 Yes | 0 No |
can we bowse or edit the GDG dataset if it is a tape entry?
What is the purpose and meaning of the REGION keyword and what JCL statement is it associated with?
What is NOTCAT ?
What is the use of disp parameter?
How do you restart a PROC from a particular step?
whats the difference between empty and noempty of GDG?
what are the types of abends that occur on job failure? And explain the possible causes of these
Is their any limit for data sets?
what are the technical terms for // /* in jcl
can we give instream data in procedure
What does the keyword DCB mean and what are some of the keywords associated with it?
How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?