IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Editing a VSAM file through a COBOL program


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Paul1983

New User


Joined: 08 Jul 2008
Posts: 37
Location: bangy

PostPosted: Sat Aug 16, 2008 4:53 pm
Reply with quote

Hi,

I want to edit a VSAM file through a COBOL program.Please let me know what all I need to mention in the FILE-CONTROL and also in the FILE SECTION.

Thanks,
Paul
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Sat Aug 16, 2008 4:54 pm
Reply with quote

Is it a KSDS, ESDS, RRDS, VRRDS, or linear VSAM dataset ?

Acces the data by key or sequentially
Back to top
View user's profile Send private message
Paul1983

New User


Joined: 08 Jul 2008
Posts: 37
Location: bangy

PostPosted: Sat Aug 16, 2008 4:59 pm
Reply with quote

It is a KSDS
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Sat Aug 16, 2008 8:40 pm
Reply with quote

Try looking at Coding input and output statements for VSAM files in the ENTERPRISE COBOL Programming Guide and the ENTERPRISE COBOL Language Reference.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Replace each space in cobol string wi... COBOL Programming 3
Search our Forums:

Back to Top