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

Can anyone tell how can to open a VSAM file .


IBM Mainframe Forums -> COBOL Programming
Post new topic   This topic is locked: you cannot edit posts or make replies.
View previous topic :: View next topic  
Author Message
pretty
Currently Banned

New User


Joined: 13 Mar 2006
Posts: 6

PostPosted: Sat May 06, 2006 11:09 pm
Reply with quote

When I compile a COBOL program always one error is coming that is
in file section
fd <filename>

"fd recording mode of F is not found"

this error is always coming how can we rectify?

M.siva
Back to top
View user's profile Send private message
VENQUET

New User


Joined: 04 May 2006
Posts: 8

PostPosted: Sun May 07, 2006 1:20 am
Reply with quote

use like this in i-o section
file-control.
select filename assign to AS-DDNAME
IF U ARE USING esds file to need to define DDNAME IN JCL IT IS SUFFICIENT.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Mon Jul 09, 2007 2:44 am
Reply with quote

Hello,

Do you have your cobol OPEN problem resolved?

As this appears to be a topic about cobol/vsam, i'll move it to COBOL and you will probably get more responses there.

For starters, if you want to open the file and read it, your open will be like an OPEN for a qsam (PS) file.

If you post your SELECT, FD, and OPEN, as well as any diagnostic info from the compile, we will be able to offer suggestions. Please copy/paste and use the "Code" tab at the top of the reply panel. This will make your info much more easily readable.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   This topic is locked: you cannot edit posts or make replies. View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
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 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