If we want to see the eliminated duplicate record thru
SORT, how its output file will be managed

Answer Posted / subramanyam reddy

//sysin dd *
sortfields=(1,3,ch,a)
sumfields=none,xsum
/*
//
where 1 is starting postion
3 is length
'ch' means charactor
'a' assending

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is it possible to left uncode disp?

701


Is condition checking possible in jcl?

704


I have many files which i am receiving from client everyday. I have one step for every file to check for empty or not. Here client gives 30 files i need to check for every file for empty or not and i need to perform 30 steps. Can I do it in single step. Dynamically i need to change the File name in my step.

724


What is concatenating?

624


How to run cobol program using jcl?

639






What is multithreading in jcl?

925


what sort card you will use to copy the data from one dataset to another dataset?

715


what is the difference between JES3 and JES2?

665


Does jcl support automatic restart?

742


What is NOTCAT ?

729


For what purpose steplib and joblib are used ?

678


I have a job called careerride and some steps in it as step1,step2. But I want to execute step2 before step1 ? How do I do that?

818


what is the compile process of cobol program expalin with code

1991


How jcl work to handle various input output file operations?

647


Explain in DD statement what is the use of DCB parameter?

641