What is SORT ? How do we eliminate duplicate records ? How
do I select some records using SORT ?
Answer Posted / jagan
# 1 ---sort is a sorting of records either in asc/ des
order,
---sort field(6,10,A,CH) or sort field(6,10,A,CH),equal
sum field none
---sort field(6,10,A,CH) 6 is the starting position
10 record length
ch for alpnum (X)
A order of sorting
| Is This Answer Correct ? | 1 Yes | 9 No |
Post New Answer View All Answers
What is the maximum length of a single line of jcl?
what is DD statement is used in JCL?
What are the difference between jcl and jes?
We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?
How to submit a jcl from cics?
Name what parameter directs the output of the job log dataset?
1) SORT FIELDS=(20,4,CH,D,10,3,CH,D) OUTREC FIELDS=(7:20,4,C' FUTURE ',20,2,10,3,1Z,1,9,13,7, 24,57,TRAN=LTOU,6X'FF') This example illustrates how a fixed-length input data set can be sorted and reformatted for output. The SORTIN LRECL is 80 bytes. The reformatted output records are fixed length with a record size of 103 bytes. SOLRF (the IBM-supplied default) is in effect, so unless the SORTOUT LRECL is specified or available, it will automatically be set to the reformatted record length of 103. in the above example i have some doubts that a) sort fields=(20,4,CH,D,10,3,CH,D) -what exactly it does and this fields related to output record fields or input record fields b)outrec used to refprmat the records after sorting that means could please reply me as soon as possible Thanks. Venkat
What is concatenating?
What is jcl in mainframe?
How can the submitting users racf authority be overridden in a job stream?
how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?
How jcl is used for testing batch programs?
A dd statement consists of 4 fields. Name them?
what is JCL?
Is it possible to left uncode disp? If yes, how?