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

how do you access an uncataloged dataset in a jcl?

1735


a dd statement has 2 types of parameters. Name them?

1132


What is the function of the steplib dd statement?

1194


How does jcl specify the job to the operating system?

1237


What are the parameter we cannot use in procedure? How many instream we can write in single jcl?

1070


What is one line to pass PARM from JCL to COBOL?

4953


Explain the job statement in jcl?

1155


What do you understand by the term “keyword” with respect to jcl and what is the opposite of the term?

1141


what is DSN in JCL and what are the parameters to declare the DSN?

1190


Which dd parameters are required?

1182


Are there any set of rules for the names of the steps used in a job? What are they?

1069


which utility is used a dummy utility?

1462


What is job control language?

1086


When output dataset space is required, what quantity categories are used?

1357


Mainframes gets a text file that contains the name of the file. Now using JCL i want to locate that file name in the mainframe system and perform further processing. Please tell how to proceed

2558