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

sample eazytrive program to read a vsam file


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
j_rymbei

New User


Joined: 22 Aug 2006
Posts: 17
Location: India Kolkata

PostPosted: Thu Feb 15, 2007 8:09 pm
Reply with quote

hi
I have two files File1 and File2 (vsam file ksds). I have to read from file1 and search it in file2. If the record is in file2 write the record with some details in an output file. Access mode of file2 will be dynamic, since it can have multiple records with same branch and account number, only serial number will be different for each occurance off same branch and account number.

File1.
Branch acc-no
1111 a1234
2222 b1234


File2.
Branch acc-no sr-no
1111 a1234 01
1111 a1234 02
2222 b1234 01


Can anyone send me sample eazytrive, like how to define files and what are read statements etc....


Thanks....IN ADVANCE
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Thu Feb 15, 2007 8:18 pm
Reply with quote

The EZT application guide has some good examples, have you checked there?
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 1
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 Using API Gateway from CICS program CICS 0
No new posts Error to read log with rexx CLIST & REXX 11
Search our Forums:

Back to Top