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

how to compare two datasets without using superce because output is limited to 133 bytes

2103


How is a type of file defined in the jcl that executes the cobol program?

1188


What is the purpose of dd * statement in jcl?

1285


Can we call instream to catalog and catalog to instream?

1142


when does a dataset go uncataloged?

1302


What is the function of the dd dcb keyword?

1334


in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?

2707


what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?

1294


if the submitter of a job wants to inform another user about the job completion, how can it be done?

1245


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

1219


How do you create a temporary dataset?

1177


What are the rules employed while naming the steps in a job?

1139


What is the maximum length of a single line of jcl?

1350


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

2671


How does the jcl specify the job to os?

1149