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 |
Suppose I have seven jobs to do, but I want to hold one than how can I do this?
a input file contains 1000 records, how to move the first 500 record into one out put file and how to move to second 500 records to anothere output file
A chkpt is the parameter coded for multi-volume qsam datasets in a dd statement. When a chkpt is coded as chkpt=eov, a checkpoint is written to the dataset specified in the sysckeov statement at the end of each volume of the input/output multi-volume dataset. State whether true or false?
Suppose your program is reading a Sequential Vsam file. The file contains 10 records. How will you code the JCL to read only 2nd, 5th, 7th,and 10th record?
There are 2PROCS in a JCL. I want following conditions to be carried out 1) 1st PROC should be executed as such In second PROC 2) First 4steps should not be executed 3) 5th step should not be executed 4) 6th and 7th step should be executed The change should be done only in the JCL and PROC should be untouched ?
in production region 100 steps are running,but i need to run only step5 without changing code how can i do it?
wht r different types of sort fields in jcl ?
restart logic ?
I had Records in file Like this Company Code IBM 2 IBM 1 IBM 4 WIPRO 3 WIPRO 2 WIPRO 9 TCS 4 TCS 6 TCS 3 i want the record of every company with highest code How can i do that?
In my JCL 10 Steps Will Be there Now i want to execute step05 And step06. How to Give the Cond?
wht r different types of sorts ?
What is DYNAMBR in jcl?