Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 IDCAMS RENAMING VSAM FILE ALONG WITH ... upendrasri JCL & VSAM 11 Tue Apr 17, 2018 10:42 pm
No new posts VSAM file NOT Found error while proce... SumaReva CICS 5 Wed Apr 11, 2018 9:54 pm
No new posts VSAM - Accessing beyond record size Benchwarmer JCL & VSAM 6 Wed Apr 11, 2018 9:20 pm
No new posts converting a mainframe file with ASA ... Lynne Schuler All Other Mainframe Topics 5 Wed Apr 04, 2018 9:44 am
No new posts VSAM File free space sancraig16 JCL & VSAM 13 Fri Mar 30, 2018 1:02 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us