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 / asish

Yes Bramar is right.
The sort card should be like this
sort fields=(1,6,PD,A)

Is This Answer Correct ?    6 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the function of job statement in jcl?

1059


Explain the function of //jcllib statement?

1172


What are the utility programs in jcl?

1112


What do you understand by the term job time – out and how can you overcome that?

988


How to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?

2632


List the various advantages of using jcl language?

1408


How dummy is used in jcl?

1102


which utility is used to sort a file in jcl?

1185


How can an in-stream dataset be terminated?

1310


Brief description of inline procedure of jcl.

1203


What are some jcl statements that are not allowed in procedures?

1198


What are the 2 types of parameters in dd statement?

1119


Explain how can an in-stream dataset be terminated?

1276


How does jcl act on code(if you take a cobol program)?

1243


how would you create a temporary dataset? And where will you use them?

1336