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 / jegadeesan ramu
sort fields=(1,6,a),format=bi
| Is This Answer Correct ? | 6 Yes | 5 No |
Post New Answer View All Answers
How would you understand error(execution phase)?
what is 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?
what is SOC4 error?
How to pass data to a program that is coded in an exec statement?
What is concatenating?
What are the 2 types of parameters in dd statement?
Explain how can the submitting users racf authority be overridden in a job stream?
Must tape dataset definitions include vol=ser specifications?
Can anybody tell what is tool used to generate the list of PROCS used in JCL to generate a PROCTREE
Can I share my data with other jobs? How?
What is use of restart and how to use it?
How to submit jcl through a cobol program?
How does jcl specify the job to the operating system?