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 All times are GMT + 6 Hours
Forum Index -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts Trouble using REXX SDSF interface to ... CLIST & REXX 3
No new posts IGYPG3178-I when compiling a pgm read... COBOL Programming 6
No new posts FileAid move data from two files to o... Compuware & Other Tools 5
No new posts Sorting date into YYYYMMDD, and creat... DFSORT/ICETOOL 13
No new posts To Sort detail records in a file with... SYNCSORT 5
Search our Forums:


Back to Top