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...

If a field is declared as a comp-3 field and if we want to
sort a dataset based on this field, then how will the sort
card be???

e.g- if we want to sort by a field which is defined as a
PIC X(5) then we will mention - sort fields=(1,5,ch,a).
Likewise if a field is defined as PIC S9(10)COMP-3 then in
this case how will the sort field be defined (because in
this case a sign is also involved)???

Answer Posted / shailesh soni

Sort card for sorting Comp 3 field is
sort fields = (1,6,PD,A)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between the positional and keyword parameters? Give examples.

1187


how can you check if a file is empty using jcl?

1344


What is job control language?

1033


which parameter is use to declare the name of dataset in dd statement?

1194


Can I send output of job to my remote device careerride123?

1081


Which statement is used to identify the private libraries in job?

1126


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

2828


Explain the function of //jcllib statement?

1154


why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.

2398


which utility is used to run a cobol-db2 program?

1302


What statement marks the beginning of a job step; assigns a name to the step; identifies the program or catalogued or in-stream procedure to be executed in the step?

1058


Explain dfsort utility?

1282


which utility is used a dummy utility?

1393


Explain how can values be passed from the job stream to an executable program?

1128


in ways data can be passed to a COBOL program from JCL?

1141