Page 1 of 1

Eztrieve and IMS update

PostPosted: Tue Dec 01, 2009 10:46 pm
by denisejeffers
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?

Re: Eztrieve and IMS update

PostPosted: Wed Dec 02, 2009 7:07 am
by dick scherrer
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.

Re: Eztrieve and IMS update

PostPosted: Fri Oct 15, 2010 12:07 am
by dhs
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.