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 / shailesh soni
Sort card for sorting Comp 3 field is
sort fields = (1,6,PD,A)
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the difference between the positional and keyword parameters? Give examples.
how can you check if a file is empty using jcl?
What is job control language?
which parameter is use to declare the name of dataset in dd statement?
Can I send output of job to my remote device careerride123?
Which statement is used to identify the private libraries in job?
Is there any command to check wether the ps file is in sorted order?
Explain the function of //jcllib statement?
why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.
which utility is used to run a cobol-db2 program?
What statement marks the beginning of a job step; assigns a name to the step; identifies the program or catalogued or in-stream procedure to be executed in the step?
Explain dfsort utility?
which utility is used a dummy utility?
Explain how can values be passed from the job stream to an executable program?
in ways data can be passed to a COBOL program from JCL?