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
Explain the function of job statement in jcl?
Matching Logic in Jcl not in cobol.Could any one please answer this question
how do you access an uncataloged dataset in a jcl?
Is condition checking possible in jcl? If yes, how?
What are steplib and joblib?
How to resolve the error "WER488A JOIN CAPACITY EXCEEDED" I am using SYNCSORT with JOINKEYS to compare 2 files. I am Getting error - > WER488A JOIN CAPACITY EXCEEDED There are 2 files to be compared with about 2 million records each. LRECL is 3665. Can somebody give a pointer as to how to resolve this problem? I am using SYNCSORT with JOINKEYS to compare 2 files. I am Getting error - > WER488A JOIN CAPACITY EXCEEDED There are 2 files to be compared with about 2 million records each. LRECL is 3665. Can somebody give a pointer as to how to resolve this problem?
What is the use of disp parameter?
How can values be passed from the job stream to an executable program?
what are the statements that are not valid to be included in an include statement?
is there any way to execute more than one proc in the same exec statement at the same time..?
Explain how can an in-stream dataset be terminated?
Are there any set of rules for the names of the steps used in a job?
Suppose I have five jobs to do. But I want to hold one?
what is use of dcb parameter in dd statement?
Explain how can a stopped job be started again?