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
How does jcl specify the job to the operating system?
When space is allocated for an output dataset, what units can be used?
What is the use of symbol // in jcl?
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
Suppose I have five jobs to do. But I want to hold one?
Step 1 RC 4 Step 2 Step 3 I want to know the COND parameter which can be coded in step 2 or 3. Step 2 should be executed based on Step 1 RC and Step 3 should not be executed based on step 1's RC
how do you access an uncataloged dataset in a jcl?
How can unused space allocation be returned to the system when a dataset is closed?
Name the statement which can be used to send data to another mvs jes3 node?
what is the compile process of cobol program expalin with code
What is the purpose of dd?
Brief description of inline procedure of jcl.
What is the function of job statement in jcl?
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?
define cond parameter in jcl?