Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to Write IMS RETRIEVE - SELECT statement in Easytrieve

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
View previous topic :: :: View next topic  
Author Message
Suryyogi

New User


Joined: 17 Jun 2006
Posts: 27

PostPosted: Wed Jan 31, 2007 8:52 am    Post subject: How to Write IMS RETRIEVE - SELECT statement in Easytrieve
Reply with quote

I want to write a report on IMS DB.
I have 4 segments as below :
key
LEVEL 1 (ROOT) Policy policy no
2 Account act no
3 Covrage date
3 Bill date

I want to retirive some info from pol,bill segment giving condition
on dates of coverage and bill also.

How should I write the RETRIEVE - SELECT statement in eztrieve for this?
Or if it is not possible then what is another easy way ?
Please help me to get efficient solution for this.....

Thank you
Yogesh
Back to top
View user's profile Send private message

William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Sat Feb 03, 2007 10:58 pm    Post subject:
Reply with quote

Yogesh,

I know nothing of IMS, but have you checked your EZT manual?

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

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Sat Feb 03, 2007 11:30 pm    Post subject:
Reply with quote

EZT is similar to any other mainframe programming language, it's possible to perform READ / UPDATE etc on IMS DB segments.
In EZT the programming is easier than COBOL.

There are two ways to read IMS DB in EZT.

1. Read all segments from Database sequentially. This will be handled in the JOB statement.

2. Use Qualified SSA's and read database segment.

Reply which approach you are looking for?
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 -> IMS DB/DC All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts READ A PACKED "NEGATIVE" FI... jdesouza CA Products 3 Tue May 02, 2017 11:43 pm
No new posts Write R1 and R2 to OP1 and R1 to OP2 bhaskar_kanteti DFSORT/ICETOOL 10 Fri Mar 03, 2017 11:18 am
No new posts Easytrieve report shalem CA Products 4 Sun Feb 26, 2017 9:08 am
No new posts Can you write 2 recs on SORTOUT when ... Sysaron DFSORT/ICETOOL 6 Thu Feb 23, 2017 12:07 am
No new posts ROUNDED Problem with COMPUTE statement shalem COBOL Programming 11 Thu Feb 09, 2017 8:16 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us