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

In sms datasets, what is the function of the dd mgmtclas keyword?

1428


i want to store 20 digits . how will u do it in cobol ?

1486


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

1481


How to do automated restart when a job abend?

1467


What is multithreading in jcl?

1526


How do you submit a job for execution?

1157


Which dd parameters are required?

1242


what is the difference between JES3 and JES2?

1190


How is the record format of an output dataset specified?

1200


How can the attributes of one sms dataset be copied to another dataset?

1473


How gdg are concatenated?

1166


Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?

1279


Is it possible to code instream data in a PROC?

1391


How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?

2316


How can a jobs execution priority be modified?

1338