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

Easytrieve and filemanager JOB.


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

New User


Joined: 10 Sep 2007
Posts: 2
Location: Rio de Janeiro, Brazil

PostPosted: Mon Nov 12, 2007 8:22 pm
Reply with quote

Hi all,

First time posting here, would really appreciate your help.
I'm fairly new to Mainframes so I'm having some troubles.

I want to write a JOB that reads some keys from an input file, runs FileManager to dump the IMS DB for each of these keys and look for some entries on them.
What's the best way to do this? I thought of using EZTRV to read that input file and then process it. But I can't call FileManager from EZTRV, can I? How about EZTRV submitting a JCL, is that possible?
Really stuck here, don't know what to do... Any advices?
Back to top
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Tue Nov 13, 2007 8:41 pm
Reply with quote

You can write Easytrieve program that uses the input file and read IMS DB using DLI calls to read and dump your IMS DB segments.
Back to top
View user's profile Send private message
theobribeiro

New User


Joined: 10 Sep 2007
Posts: 2
Location: Rio de Janeiro, Brazil

PostPosted: Wed Nov 14, 2007 12:10 am
Reply with quote

Thanks for your reply!

But how do I do this?
I tried to look at the documentation for FILE, RECORD, RETRIEVE and DLI statements, but couldn't find nothing helpful enough.
Can anyone give me an example of how to use these statements? The syntax is very vague, (or I'm just pretty dumb =).

TIA,

Theo
Back to top
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Wed Nov 14, 2007 1:16 pm
Reply with quote

There are two types of read of IMS db in the easytrieve, either give use JOB statement or use RETRIEVE.

If you are familiar with COBOL then you can read IMS db.
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 Count the number of characters in a f... CA Products 1
No new posts File matching functionality in Easytr... DFSORT/ICETOOL 14
No new posts Easytrieve EZABX007 with error code 0... CA Products 7
No new posts Converting SAS code to Cobol or Easyt... All Other Mainframe Topics 6
No new posts Easytrieve with SQL CA Products 1
Search our Forums:

Back to Top