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

DUMMY records in VSAM file ?


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

New User


Joined: 23 Oct 2006
Posts: 13

PostPosted: Fri Jun 29, 2007 4:33 pm
Reply with quote

why shoould we copy a dummy record to VSAM before we use the same in COBOL program ? What is the mechanism behind it ?

Thanks,
Ramkumar M.
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Fri Jun 29, 2007 4:47 pm
Reply with quote

Ram,

Empty VSAM can't be opened in INPUT mode. It throws an error.
Back to top
View user's profile Send private message
ramvivek

New User


Joined: 23 Oct 2006
Posts: 13

PostPosted: Fri Jun 29, 2007 4:50 pm
Reply with quote

Murali,

But what makes the diff between a flat file and VSAM in this aspect . We dont have to create a dummy rec for flat file. Then why it is needed for a VSAM ?
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Fri Jun 29, 2007 5:38 pm
Reply with quote

Because VSAM is a totally different access method designed by IBM,
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 FTP VB File from Mainframe retaining ... JCL & VSAM 4
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 Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
Search our Forums:

Back to Top