What is the different types of sort in JCL and What is the intrensic function of COBOL

Showing Answers 1 - 3 of 3 Answers

swati

  • Apr 19th, 2007
 

There are two types of SORT, one is DFSORT and other is SYNCSORT . The basic cmds in both the products are same.
ICETOOL provides a lot more than what SORT can offer and it comes with DFSORT product. SYNCTOOL comes with SYNCSORT product.

PGM=SORT can point to DFSORT.
DFSORT is an IBM product & needs SORTIN(input dataset), SORTOUT(output Dataset), SYSIN( control card) and SYSOUT ( Message dataset).

Options available with DFSORT are:
SORT FIELD = (Strarting Position, Length, Type, ASC/DESC)
Type can be - Ch,Bi(Binary), ZD,PD,FS

We can user COND, OMIT, INREC ,OUTREC, SKIPREC, STOPAFT.

SUM FIELDS=NONE avoids the duplicates.

Hope you are satisfied with this.
Thanks

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions