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
Is automatic restart possible in jcl?
How to pass data to a program that is coded in an exec statement?
Explain how can values be passed from the job stream to an executable program?
What is the function of //jcllib statement?
is there any way to execute more than one proc in the same exec statement at the same time..?
Can I share my data with other jobs? How?
what is use of dcb parameter in dd statement?
what EXEC statement is and what is the syntax of EXEC statement used in JCL?
Brief description of inline procedure of jcl.
in ways data can be passed to a COBOL program from JCL?
Explain the function of the dd dcb keyword?
Why block size is multiple of lrecl in jcl?
What is the purpose of dd dummy statement?
What is the purpose of dd?
I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.