IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Fetching records from a segment


IBM Mainframe Forums -> IMS DB/DC
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Sandy Zimmer

Active Member


Joined: 13 Jun 2007
Posts: 826
Location: Wilmington, DE

PostPosted: Fri Aug 10, 2007 5:36 pm
Reply with quote

If you are using strictly transaction processing, once you send your first screen and come back into your program, anything you saved in your work areas is gone. The way that I always did it was hidden fields on the screen to let me know exactly where I was when I sent out that last message to the que. I would put those fields at the beginning of your message so that the message length will be shorter - and thus more efficient.
Back to top
View user's profile Send private message
alamelu1984

New User


Joined: 20 Apr 2007
Posts: 40
Location: bangalore

PostPosted: Mon Aug 13, 2007 10:14 am
Reply with quote

hi sandy,

i am not sure i got u there...
could u plzz elaborate on it and explain..
Back to top
View user's profile Send private message
Sandy Zimmer

Active Member


Joined: 13 Jun 2007
Posts: 826
Location: Wilmington, DE

PostPosted: Mon Aug 13, 2007 4:18 pm
Reply with quote

I am assuming that you mean coming back into your program? If so, when you do your get for your message, you will put code right after that for your multiple screen processing. You would not be doing anything differently than check your hidden areas on that screen for screen number and the key values in the data base where you were when you sent out your last screen. It is not as difficult as you may imagine.

It is 6:45am Monday morning here - I need some tea. Think this over. As I said before, get the first part working.
Back to top
View user's profile Send private message
alamelu1984

New User


Joined: 20 Apr 2007
Posts: 40
Location: bangalore

PostPosted: Tue Aug 14, 2007 4:53 pm
Reply with quote

hi sandy,

thanx so much for ur inputs.. icon_smile.gif
like u said,i`l get the first part up and running..

and then will think about the rest... icon_cool.gif
Back to top
View user's profile Send private message
Sandy Zimmer

Active Member


Joined: 13 Jun 2007
Posts: 826
Location: Wilmington, DE

PostPosted: Tue Aug 14, 2007 4:56 pm
Reply with quote

Nothing is too difficult if you do it in steps. icon_smile.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> IMS DB/DC

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts Compare 2 files(F1 & F2) and writ... JCL & VSAM 8
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts Pulling a fixed number of records fro... DB2 2
No new posts Join multiple records using splice DFSORT/ICETOOL 5
Search our Forums:

Back to Top