Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Easytrieve and filemanager JOB.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
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    Post subject: Easytrieve and filemanager JOB.
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    Post subject:
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    Post subject:
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    Post subject:
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    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 Working with hex values in Filemanage... Emile Straker IBM Tools 0 Tue Sep 12, 2017 1:42 am
No new posts UNIT=AFF for Easytrieve code gandikk JCL & VSAM 7 Wed Jul 12, 2017 11:42 pm
No new posts READ A PACKED "NEGATIVE" FI... jdesouza CA Products 3 Tue May 02, 2017 11:43 pm
No new posts Easytrieve report shalem CA Products 4 Sun Feb 26, 2017 9:08 am
No new posts Easytrieve - Report writing - Only 1 ... Abhi Nature CA Products 2 Wed Sep 14, 2016 11:40 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us