Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

if you have big pgm. during compilation is abends with (soc7)how do you know which line has soc 7 error.

4 Answers   IBM,


Please go thru the below points and let me know how to code this. 1. Sort the input dataset for the condition : Starting position is 37,length of the field is 13 based on character and in the ascending order , starting from position 25 length of 12 ,character and in the ascending order. Use a temporary dataset to hold the sorted file. 2. Use the temporary file created in the above step as the input for the next step. The next step is to execute a program and produce an output file. Use the temporary file created in the above as work file 1 and the output of the file to be created in this step work file 2.Also, pass a parameter to the program that is to be executed in this step. The parameter should have the current date in YYYYMMDD format. For the sake of convenience, you can use the below Job Name : Sample1 Input DSN : PCABDT11.CABD.TEST.INPUT Temporary DSN : Sort1 Output DSN : PCABDT11.CABD.TEST.OUTPUT Program Name : SAMPLE Thanks in Advance for your response.

2 Answers  


What it does If we specify TYPRUN=P & it is not substituted by SCAN 0r HOLD in VALUE SET.

0 Answers  


What is DSNDB06 ?

1 Answers  


Is there GOTO and SWITCH-CASE available in JCL ? Is IF-THEN-ELSE available in JCL also just like it is available for VSAM datasets under Model Commands category ?

1 Answers   IBM,


how do you access an uncataloged dataset in a jcl?

0 Answers   IBM,


What is Backward Referencing ?

3 Answers   HSBC,


what sort card you will use to copy the data from one dataset to another dataset?

0 Answers   IBM,


What are s0c1, s0c4, s0c5, s0c7 and socb?

0 Answers  


What is a Dummy Utility and what it does ?

3 Answers  


I need to compare two VSAm files. In input VSAM file some fields are updating and the updated feilds are coming into the output file. now i need to compare these two files with respect to a perticular field. Please suggest a suitable JCL code me.

2 Answers   Cognizant, Wipro,


I have two input SORTIN files and We need to create one SORTOUT file which contains data of both input files. What is the SortCard for this?. Suppose the length of the both files are different, then How we do it? Please reply ASAP

4 Answers   CSC,


Categories