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 |
which utility is used to sort a file in jcl?
Explain the purpose of dd * statement in jcl?
how are instream data terminated?
What is the function of the steplib dd statement?
Does jcl support automatic restart?
WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99 VALUE 123.45. PROCEDURE DIVISION. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. compiler : IGYGR1080-S A "VALUE" clause literal was not compatible with the data category o subject data item. The "VALUE" clause was discarded. WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99. PROCEDURE DIVISION. MOVE 123.45 TO W-B. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. 2375
Can we create VSAM file by using IEBGENER?
What is the meaning of the EXEC statement keyword, COND? What is its syntax?
what's the significance of freespace(0 0) and freespace(100 100)
How to search strings in multiple dataset with conditions 'string1 & string2'?
What is GDG and what is the maximum limit of versions that can be created?
Is condition checking possible in jcl?