Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Can anyone tell how can to open a VSAM file .

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: Can anyone tell how can to open a VSAM file .
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    Post subject:
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

Site Director


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

PostPosted: Mon Jul 09, 2007 2:44 am    Post subject:
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.    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 Changing of LRECL of a file abdulrafi DFSORT/ICETOOL 2 Fri Mar 24, 2017 3:25 pm
No new posts splitting a file abdulrafi DFSORT/ICETOOL 3 Fri Mar 24, 2017 11:51 am
No new posts Receive a file using PCOMM macro Harald.v.K IBM Tools 0 Thu Mar 23, 2017 6:50 pm
No new posts Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm
No new posts Formatting VB File Learncoholic DFSORT/ICETOOL 3 Mon Mar 20, 2017 12:29 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us