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 how to recover an uncataloged VSAM da... archanamuthukrishnan All Other Mainframe Topics 3 Wed Jan 11, 2017 6:18 pm
No new posts Underlying DB2 VSAM LDS - SMF recording vasanthz All Other Mainframe Topics 6 Thu Jan 05, 2017 4:20 am
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm


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