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
What is the function of job statement in jcl?
what is use of space parameter in dd statement?
What do you understand by the term “keyword” with respect to jcl and what is the opposite of the term?
What methodology can be adapted to transfer data to a program that is coded using the exec statement?
How do you access an uncatalogued dataset in a jcl?
How to override a dsn that is contained in a proc called by another proc? I need to do the override in the calling jcl?
In job processing, what happens in execution stage?
IIN APITUDE THEY GAVE ONLY 10 QUESTIONS.. THEY ARE SIMPLE ONE FROM NUMBER SERIES,BOATS,TIME & DISTANCE,PROFIT &LOSS,FIND OUT THE NUMBER ? 9 25 4 36 81 64 49 AND surveillance SPELLINGS E.T.C
Which statement is used to identify the private libraries in job?
What is the motivation behind coding class parameter in job statement?
can any one plzzzzzz tell the jcl code for creating ps using idcams
I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?
What is the difference between run mode and addressing mode?
I have a job called careerride and some steps in it as step1,step2. But I want to execute step2 before step1 ? How do I do that?
Is it possible to define dd statements as you want?