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
 

 

How to open a FLAT file in Easytrieve

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
View previous topic :: :: View next topic  
Author Message
dp33770

New User


Joined: 04 Jul 2007
Posts: 92
Location: Hyderabad

PostPosted: Thu Dec 18, 2008 12:42 pm    Post subject: How to open a FLAT file in Easytrieve
Reply with quote

Dear All,
Do we have separate OPEN for VSAM and Flat file in Easytrieve.
I have a program which reads a VSAM file.
When I copied the VSAM file to a flat file and used the same easytrive prog with my new Flat file
its giving an error A011 VSAM - OPEN ERROR- CODE 188(BC)

Can anyone help me in this... How shall I open a FLAT file.
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: Thu Dec 18, 2008 2:16 pm    Post subject:
Reply with quote

Hello,

Just as in COBOL, you cannot use a vsam file definition for a flat file.

If you change the easytrieve file definition to match the flat file, it should work.
Back to top
View user's profile Send private message
hikaps14

Active User


Joined: 02 Sep 2005
Posts: 189
Location: Noida

PostPosted: Thu Dec 18, 2008 2:21 pm    Post subject: Reply to: How to open a FLAT file in Easytrieve
Reply with quote

Hi,

Did you check reference manuls ?

Incase of sequential files we need to use FB instead VS - File declaration

To access those sequential dataset, we have 2 approaches
1) Use JOB (INPUT) for auto read statement
2) You can use GET statement to manually read recs

Try reading manuals, you will get proper syntax for these.

Thanks,
-Kapil.
Back to top
View user's profile Send private message
dp33770

New User


Joined: 04 Jul 2007
Posts: 92
Location: Hyderabad

PostPosted: Mon Dec 22, 2008 3:29 pm    Post subject:
Reply with quote

Thanks all ........
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
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
No new posts How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm


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