Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Why do we rebind records after returning to the main module?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IDMS/ADSO
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    Post subject: Why do we rebind records after returning to the main module?
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    Post subject: Re: Why do we rebind records after returning to the main mod
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    Post subject: Re: Why do we rebind records after returning to the main mod
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    IBMMAINFRAMES.com Support Forums -> IDMS/ADSO All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Merging records, but not all the time prino DFSORT/ICETOOL 4 Sat Feb 17, 2018 4:20 pm
No new posts Need all records with high key kalidasvs SYNCSORT 13 Fri Feb 09, 2018 10:38 pm
No new posts SQLCODE 518 while executing DB2 module. abdulrafi DB2 8 Wed Feb 07, 2018 10:46 am
No new posts Why is SORT rearranging records that ... cschablow DFSORT/ICETOOL 4 Wed Jan 24, 2018 10:14 pm
No new posts Skip records depends on count lakshmiibmmainframes DFSORT/ICETOOL 5 Sun Dec 24, 2017 9:51 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us