How to find the number of duplicates in a file using Sort?
Answer Posted / sudha
//
//
//
//sysin dd *
sort fields=(1,4,ch,a)
sum fields=none/all
/*
for avoiding duplicates
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
How can the attributes of one sms dataset be copied to another dataset?
How to pass the parameter in parm using linkage section ? (syntax)?
What is the format of comment statement?
Explain how can values be passed from the job stream to an executable program?
What are the parameter we cannot use in procedure? How many instream we can write in single jcl?
How gdg are concatenated?
Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?
I have mainpgm(abc) this is the only cobol pgm(non-db2).And this pgm calling subpgm name "acd" this also only cobol(non- Db)and this pgm calling some other subpgm this pgm has cobol-db2 pgm. 1) IF you calling static mode how to run and how to compile? 2) IF you calling dynamic mode how to run and how to compile? plz suggestion me.
Is their any set of rules for dd? Explain.
what are JCLLIB and STEPLIB in JCL?
Explain the purpose of dd * statement in jcl?
Mention the types of job control statements?
Is automatic restart possible in jcl? If yes, how?
I HAVE A VB BLOCK WHICH IS USED AS INPUT IN COBOL CONATINING SOME RECORDS CAN I CHANGE THE FILE FROM VB TO FB?
What do you understand by jcl?