Eztrieve and IMS update



IBM's hierarchical database management system with a Database Manager (IMS DB) and a Transaction Manager(IMS DC)

Eztrieve and IMS update

Postby denisejeffers » Tue Dec 01, 2009 10:46 pm

Does anyone have an example of using Eztrieve to update a record (preferably DI21PART) that I can use as an example.
I have coded the program to read/list the database but now I an looking to expand and update the record.
Also, does anyone know if SMF records are recorded for the updates?
denisejeffers
 
Posts: 2
Joined: Tue Dec 01, 2009 10:42 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Eztrieve and IMS update

Postby dick scherrer » Wed Dec 02, 2009 7:07 am

Hello and welcome to the forum,

The DLI statement is used to update IMS from within Easytrieve. From the manual:
The DLI statement provides controlled input/output of an IMS/DLI database. You can use the DLI statement with (or independently of) the automatic input
associated with RETRIEVE. You can code the DLI statement at any place in a JOB
where you can code an input/output statement for any other file. This statement
provides complete control over the creation and maintenance of a database.

Suggest you look for specifics in the documentation for your release of the product.

Also, does anyone know if SMF records are recorded for the updates?
SMF records would be created the same as if this was a cobol process.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: Eztrieve and IMS update

Postby dhs » Fri Oct 15, 2010 12:07 am

Be careful when you say you are expanding the record. If this is not just adding data to a defined area (ie dbd segment has the extra space in it) then you need to restructure the data base.
dhs
 
Posts: 9
Joined: Thu Oct 14, 2010 10:43 pm
Has thanked: 0 time
Been thanked: 0 time


Return to IMS DB/DC

 


  • Related topics
    Replies
    Views
    Last post