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 |
If the COND parameter is specified in both the JOB and EXEC statements, which one will take precedence? If JOB takes priority and if all the conditions evaluate to false, then will the conditions on the EXEC step be evaluated next?
what is the use of JCL?
How to search strings in multiple dataset with conditions 'string1 & string2'?
i have 5 steps to execute in that i want to skip 3nd step and start execute from forth step how can u do this.
What is the motivation behind coding class parameter in job statement?
IF we are calling a PROC from Jcl...This Proc have 3 steps in it and we want to execute only the second step using the JCL, How to do it?? Please give the answer ASAP:)
How many JOB statements a JCL can have ? If there are more than one JOB statements in a JCL, are they submitted in succession or in parallel ?
How to identify where file is empty or not? How many ways are there to identifying?
How to overide the symbol parameter in the jcl ?
which utility is used to run a cobol-db2 program?
Explain about LMPUT-
How to execute step2,step5,step7 of a proc of 10 steps? You are not allowed to change in JCL.