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

Why do we rebind records after returning to the main module?


IBM Mainframe Forums -> IDMS/ADSO
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Vedam

New User


Joined: 24 Apr 2007
Posts: 23
Location: India

PostPosted: Tue May 01, 2007 9:35 pm
Reply with quote

Hi,

I have passed record pointers from my main module to a sub-module. After returning to the main module, it is required that the records are bound again. Can anyone please let me know the reason for this?
Back to top
View user's profile Send private message
pjeevankumar

New User


Joined: 21 Jan 2006
Posts: 1

PostPosted: Tue May 08, 2007 3:14 am
Reply with quote

Hi,
The CURRENCY will be still at the database record(s) processed by routine, even after return to main module.

So if main program and routine process same database records, the currency will not be in sync before and after calling a routine. The program may or may not fail in this case, and results will be unpredictable.

So it is always advisable to rebind the records after return to main module, if same database records processed by a routine too.

Hope the answer is clear.
Back to top
View user's profile Send private message
Vedam

New User


Joined: 24 Apr 2007
Posts: 23
Location: India

PostPosted: Tue May 08, 2007 4:29 pm
Reply with quote

hi,

if it is only currency related, then anyways we will be regaining currency by obtaining 'CALC' on the records again on the main module. How will rebind help?
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 -> IDMS/ADSO

 


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