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 / bramar
Hi Albert,
I have a small doubt in your answer
for S9(10)COMP-3 the size will be 6 bytes
So I think it may be
sort fields=(1,6,PD,A)
Confirme weather my answer is right or wrong
Thanks in advance
| Is This Answer Correct ? | 14 Yes | 2 No |
Post New Answer View All Answers
Explain the function of the dd dcb keyword?
hello friends ,i have exam in Hsbc,pls any on send me placement papers and technical questions on mainframes,thank u
How jcl work to handle various input output file operations?
What is the use of symbol // in jcl?
What are the parameter we cannot use in procedure? How many instream we can write in single jcl?
Is their any limit for data sets?
by using cond parameter maximum 8 cond can be coded in single cond means ?explain
What is the function of //jcllib statement?
What is the purpose of disp parameter?
which parameter is use to declare the name of dataset in dd statement?
what is the compile process of cobol program expalin with code
Define concatenating?
How does jcl act on code(if you take a cobol program)?
Describe the various parameters utilized in the creation of a gdg?
can any one plzzzzzz tell the jcl code for creating ps using idcams