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

We have to specify the sort card like below.

Sort fields=(1,5,PD,A) -> PD is packed decimal

Is This Answer Correct ?    12 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1305


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

1142


Matching Logic in Jcl not in cobol.Could any one please answer this question

4156


if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?

2296


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

1265


what EXEC statement is and what is the syntax of EXEC statement used in JCL?

1171


Describe the various parameters utilized in the creation of a gdg?

1159


how can a gdg base be created in a jcl. What is the difference between empty and scratch parameter while defining/altering gdg base?

1286


Why block size is multiple of lrecl in jcl?

1427


How would you understand error(execution phase)?

1257


A chkpt is the parameter coded for multi-volume qsam datasets in a dd statement. When a chkpt is coded as chkpt=eov, a checkpoint is written to the dataset specified in the sysckeov statement at the end of each volume of the input/output multi-volume dataset. State whether true or false?

1294


Explain how can the disposition of sysout datasets be set for an entire jobstream?

1093


Is their any limit for data sets?

1189


how can the same proc be re-used and called by many jobs?

1511


State the uses of syspring, sysin, sort fields, sum fields and dummy.

1090