View previous topic :: View next topic
|
Author |
Message |
theobribeiro
New User
Joined: 10 Sep 2007 Posts: 2 Location: Rio de Janeiro, Brazil
|
|
|
|
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 |
|
|
Devzee
Active Member
Joined: 20 Jan 2007 Posts: 684 Location: Hollywood
|
|
|
|
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 |
|
|
theobribeiro
New User
Joined: 10 Sep 2007 Posts: 2 Location: Rio de Janeiro, Brazil
|
|
|
|
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 |
|
|
Devzee
Active Member
Joined: 20 Jan 2007 Posts: 684 Location: Hollywood
|
|
|
|
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 |
|
|
|