Page 3 of 4

Re: 2-file match/merge sample code

PostPosted: Sat Feb 05, 2011 4:24 pm
by vijaykri
Hi All I am new to the Forum .... Just now Logged

I am trying to get the code which is attached... Really i Am not sure how to get

Please let me know In detail .. I m need of program for before EOD

Re: 2-file match/merge sample code

PostPosted: Sun Feb 06, 2011 12:21 am
by dick scherrer
Hello,

Right-click on the text file and "SaveAs" to your pc. Then upload to the mainframe, modify for your specifics, and compile/test.

Re: 2-file match/merge sample code

PostPosted: Sat Mar 19, 2011 6:23 pm
by Myname
Hi ,
I need to write a cobol code that match/merge inputfile -1(will have all detailsof account except countrycode value) with inpufile-2 ( 4 char countrycode value) and produces a consolidated 3 rd file.Processing will incorporate mapping of country code from 4 char to 2char format using table ccode.input file 2 holds records for over balance accounts.these over balance acconts can be identified on the bal file by ' overbalance flag - O' means overbalance account,space means KK.KK should have the countrycode defaulted to 'gg'.
Please help me i'm a begginer.........
Thanks in advance ..

Regards,

Myname

Re: 2-file match/merge sample code

PostPosted: Sat Mar 19, 2011 8:28 pm
by NicC
First - you should have started a new topic - this topic is for reference.

You say you are a beginner but you are trying to do a not-beginner's program so how much experience have you?

Have you been on a COBOL course? If you have then you take the sample code from this topic, study it, and bit by bit make the changes that you require.

If you have not studied COBOL then I would suggest you start by going on a course or get a reasonable book - 'COBOL for Dummies' is reasonable for starters - and do the exercises. When you have finished you should be competent enough to do the program changes you need to carry out the task described.

When you come up against problems at this point then ask your questions on the forum. We will not teach you COBOL but we will help you to overcome specific problems.

Re: 2-file match/merge sample code

PostPosted: Tue Nov 15, 2011 10:09 pm
by Chandu S
Do I need to post atleast once to view the attachments?

Re: 2-file match/merge sample code

PostPosted: Tue Nov 15, 2011 10:11 pm
by BillyBoyo
Now you can answer the question yourself.

Re: 2-file match/merge sample code

PostPosted: Tue Nov 15, 2011 10:13 pm
by Chandu S
The Answer is YES :)

Re: 2-file match/merge sample code

PostPosted: Tue Nov 29, 2011 9:57 pm
by Devangee
I cnt see any file to download! : :(

Re: 2-file match/merge sample code

PostPosted: Tue Nov 29, 2011 10:03 pm
by Devangee
Now I can ;)

Re: 2-file match/merge sample code

PostPosted: Wed Jan 04, 2012 3:50 pm
by kumarajv
Hi,

This is working for sorted files only rt? but i dont have sorted files can u please tell me for unsorted files