Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is the sortcard for comparing two files with a field key
and get the duplicates in onefile and noduplicates in another
file

Answer Posted / vinodh

Refining the above sort card statement after executing it

SORT FIELDS=COPY
JOINKEYS FILES=F1,FIELDS=(1,10,A)
JOINKEYS FILES=F2,FIELDS=(1,10,A)
JOIN UNPAIRED,F1,F2
REFORMAT FIELDS=(F1:1,10,F2:1,10)
INREC IFTHEN=(WHEN(1,10,CH,NE,11,10,CH),OVERLAY=(22:C'N'))
OUTFIL FNAMES=MATCH,INCLUDE=(22,1,CH,EQ,C' ')
OUTFIL FNAMES=UNMATCH,INCLUDE=(22,1,CH,EQ,C'N')

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is DD statement is used in JCL?

1173


a dd statement has 2 types of parameters. Name them?

1116


What is the purpose of dd dummy statement?

1440


Explain dfsort utility?

1321


how you will the direct the data to spool using sysout option?

2408


by using cond parameter maximum 8 cond can be coded in single cond means ?explain

1436


Explain how can values be passed from the job stream to an executable program?

1194


How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?

1240


I want to JCL sort for Non-COMP and COMP-3 fields SORT FIELDS=(1,5,A,6,11,A,12,11,A,19,1,A,20,1,A),FORMAT=BI,EQUALS Length of comp bytes is 11 bytes which start at 6byte and 12 byte considering 11 bytes in comp-3 is 6 bytes. Can anyone tell if the above sort work SORT FIELDS=(1,5,A,6,6,A,12,6,A,19,1,A,20,1,A),FORMAT=BI,EQUALS does not works OK

1921


How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length ----TRY

1355


what are the various stages of job processing?

1269


How can a fb file convert to vb file using sort program?

1312


what is the compile process of cobol program expalin with code

2558


which utility is used to run a cobol-db2 program?

1365


What are s0c1, s0c4, s0c5, s0c7 and socb?

1154