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

yes bramar ur s correct...

s9(10) comp-3 allocate 6 bytes..so sort fields will be

sort fields=(1,6,pd,a)

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is multithreading in jcl?

1468


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

1143


Which statement is used to identify the private libraries in job?

1188


What do you understand by the term notcat 2 – gs?

1243


what is the difference between JES3 and JES2?

1132


What happens if both JOBLIB & STEPLIB is specified ?

1146


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

1234


For what purpose steplib and joblib are used ?

1140


Name a few IBM utility programs, and explain its function.

4976


how JCL works?

1268


If a (+1) generation dataset is created in the first step of a job, how can it be referenced in later steps of the same job for input?

1308


Explain the purpose of dd dummy statement?

1221


I have mainpgm(abc) this is the only cobol pgm(non-db2).And this pgm calling subpgm name "acd" this also only cobol(non- Db)and this pgm calling some other subpgm this pgm has cobol-db2 pgm. 1) IF you calling static mode how to run and how to compile? 2) IF you calling dynamic mode how to run and how to compile? plz suggestion me.

2618


Can we call instream to catalog and catalog to instream?

1145


Is it possible to define dd statements as you want?

1115