If we want to see the eliminated duplicate record thru
SORT, how its output file will be managed
Answer Posted / mahaveer
//SORTXSUM DD DSN=datasetname,
// DISP=(NEW,CATLG,DELETE),UNIT=SYSDA,
// SPACE=(CYL,(1,4),RLSE),
// DCB=(RECFM=FBM,LERCL=80,BLKSIZE=800)
.
.
//SYSIN DD *
SORT FIELDS=(1,3,CH,A)
SUM FIELDS=NONE,XSUM
/*
We can see the eliminated duplicate records in sortxsum
Is This Answer Correct ? | 16 Yes | 1 No |
Post New Answer View All Answers
Which dd parameters are required?
What is the function of job statement in jcl?
if the submitter of a job wants to inform another user about the job completion, how can it be done?
How does jcl act on a cobol code?
How to override loadlib?
how to do automated restart when a job abends?
whats the diff bw the evaluate also and and?
What is use of restart and how to use it?
how you can access an uncataloged dataset in a JCL?
Define concatenating?
Describe the various parameters utilized in the creation of a gdg?
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.
How jcl is used for testing batch programs?
a dd statement has 2 types of parameters. Name them?
have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records... run a loop from record one to 10 evaluate i/3 if comes even then skip else write to output file