Is there any command to check wether the ps file is in
sorted order?

Answers were Sorted based on User's Feedback



Is there any command to check wether the ps file is in sorted order?..

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

Is there any command to check wether the ps file is in sorted order?..

Answer / fred

No.

Is This Answer Correct ?    3 Yes 2 No

Is there any command to check wether the ps file is in sorted order?..

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

Is there any command to check wether the ps file is in sorted order?..

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

Post New Answer

More JCL Interview Questions

which utility is used to sort a file in jcl?

0 Answers   IBM,


Explain the purpose of dd * statement in jcl?

0 Answers  


how are instream data terminated?

3 Answers   Tech Mahindra,


What is the function of the steplib dd statement?

0 Answers  


Does jcl support automatic restart?

0 Answers  






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

0 Answers  


Can we create VSAM file by using IEBGENER?

4 Answers   Principal Finance,


What is the meaning of the EXEC statement keyword, COND? What is its syntax?

2 Answers  


what's the significance of freespace(0 0) and freespace(100 100)

3 Answers  


How to search strings in multiple dataset with conditions 'string1 & string2'?

1 Answers   IBM,


What is GDG and what is the maximum limit of versions that can be created?

9 Answers   Convergys,


Is condition checking possible in jcl?

0 Answers  


Categories