View previous topic :: View next topic
|
Author |
Message |
radhakrishnan82
Active User
Joined: 31 Mar 2005 Posts: 435 Location: chennai, India
|
|
|
|
Currently the programA is using vsam as its input file. The reqmt is to change the program to use flat file replacing vsam file KSDS.
The changes I made to the program are : 1. removed organisation is indexed, access mode in the select clause 2. removed START key usage in the procedure division during KSDS READ.
Please let me know whether any other changes I need to make to change the program to use flat file replacing vsam file KSDS. LRECL, layouts are same. Only aim is to replace vsam file with the flat file. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
If the logic of the code depends upon doing direct reads, you may have to rewrite the program from scratch. The mere fact the file layout is the same is so small a factor as to be almost insignificant. Without looking at the code, we will be unable to tell you what other changes would be needed. There are a number of people on this forum who would happily take on that assignment for their usual daily rate (expect to pay 500 to 1000 U.S. dollars per day if you go that route). |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
Euros not dollars!! |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Sorry, Dick, next time I'll say dollars or euros! |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
1.00 EUR = 1.43991 USD |
|
Back to top |
|
|
don.leahy
Active Member
Joined: 06 Jul 2010 Posts: 765 Location: Whitby, ON, Canada
|
|
|
|
I'd accept either one. |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
radhakrishnan82 wrote: |
Currently the programA is using vsam as its input file. The reqmt is to change the program to use flat file replacing vsam file KSDS.
The changes I made to the program are : 1. removed organisation is indexed, access mode in the select clause 2. removed START key usage in the procedure division during KSDS READ.
Please let me know whether any other changes I need to make to change the program to use flat file replacing vsam file KSDS. LRECL, layouts are same. Only aim is to replace vsam file with the flat file. |
Like Robert, I think you have more work ahead of you than this. You can't do a keyed read on a flat file. So, if you are reading your KSDS on a key (which it looks like) think some more.
Without knowing much more about what you are doing, we can't provide much of any use to you.
Why don't you want to use the KSDS?
How is the KSDS being used in the program at the moment? |
|
Back to top |
|
|
|