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

define cond parameter in jcl?

771


is there any way to execute more than one proc in the same exec statement at the same time..?

2107


Explain the function of the steplib dd statement?

641


What are the jcl procedures?

645


Are there any set of rules for the names of the steps used in a job?

634






Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?

668


What are the parameters that are used in creating a gdg?

737


What is the format of comment statement?

662


How jcl is used for testing batch programs?

718


Explain about LMQUERY�give a dialog information about a data set

898


My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.

1982


why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.

1945


What methodology can be adapted to transfer data to a program that is coded using the exec statement?

604


what operation is performed by job statement?

657


how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?

799