Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
change program to use flat file instead a KSDS file

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
radhakrishnan82

Active User


Joined: 31 Mar 2005
Posts: 436
Location: chennai, India

PostPosted: Mon May 09, 2011 4:58 pm    Post subject: change program to use flat file instead a KSDS file
Reply with quote

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
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8201
Location: Dubuque, Iowa, USA

PostPosted: Mon May 09, 2011 5:04 pm    Post subject:
Reply with quote

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
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6970
Location: porcelain throne

PostPosted: Mon May 09, 2011 5:09 pm    Post subject:
Reply with quote

Euros not dollars!!
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8201
Location: Dubuque, Iowa, USA

PostPosted: Mon May 09, 2011 5:16 pm    Post subject:
Reply with quote

Sorry, Dick, next time I'll say dollars or euros!
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6970
Location: porcelain throne

PostPosted: Mon May 09, 2011 5:30 pm    Post subject:
Reply with quote

1.00 EUR = 1.43991 USD
Back to top
View user's profile Send private message
don.leahy

Active Member


Joined: 06 Jul 2010
Posts: 659
Location: Whitby, ON, Canada

PostPosted: Mon May 09, 2011 5:47 pm    Post subject:
Reply with quote

I'd accept either one. icon_biggrin.gif
Back to top
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7314

PostPosted: Mon May 09, 2011 9:56 pm    Post subject: Re: change program to use flat file instead a KSDS file
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Change NULL indicator in UNLOAD utility Khadhar Basha DB2 1 Fri Dec 15, 2017 3:01 pm
No new posts ISSUE IN copying Sequential file reco... thesumitk JCL & VSAM 2 Wed Dec 13, 2017 3:07 pm
No new posts The same REXX program doesnt work for... jackzhang75 CLIST & REXX 5 Wed Dec 06, 2017 2:51 am
No new posts File Tailoring -- Temporary dataset i... samzee71 CLIST & REXX 3 Fri Dec 01, 2017 3:12 am
No new posts Rexx - File tailoring samzee71 CLIST & REXX 10 Thu Nov 30, 2017 10:47 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us