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

What 3 guidelines do we have to follow when concatenating DD statements?

3 Answers  


Where & How Do You Code Identifier In Jcl?

0 Answers   IBM,


For what purpose steplib and joblib are used ?

0 Answers  


What is the function of the steplib dd statement?

0 Answers  


JCL Example: // //RUNJCL JOB CLASS=5,MSGCLASS=6,NOTIFY=&SYSUID //STEP01 EXEC PGM=IEFBR14 // .. .. If this JCL will run or it'll throw the ERROR?

4 Answers   HCL,






how do u see jobs submitted before ur job ?

1 Answers  


Which dd parameters are required?

0 Answers  


We have an output dataset in job with disp parameter as SHR. Can we write data in that file dataset?

2 Answers   CTS, IBM,


how to purge 50 initiators continuously?? console commands??

4 Answers   IBM, ups,


Step 1 RC 4 Step 2 Step 3 I want to know the COND parameter which can be coded in step 2 or 3. Step 2 should be executed based on Step 1 RC and Step 3 should not be executed based on step 1's RC

0 Answers  


Suppose there r 10 steps . Out fo which i want to execute 10th, 9th and 8th in reverse order without using IEBEDIT. How can i do that..???

5 Answers   IBM, UST,


if we are specifing joblib as well as steplib in job then at the time of execution how the process will complete

4 Answers  


Categories