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
 

 

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 Dump analysis of an assembler module monica1 PL/I & Assembler 4 Tue May 09, 2017 10:05 am
No new posts Check if any Detail records and extra... V S Amarendra Reddy SYNCSORT 19 Mon May 08, 2017 8:54 pm
No new posts Need help in triggering a PL1 module ... Varungv99 IMS DB/DC 0 Fri Apr 07, 2017 10:01 am
No new posts Join giving more records than expected Danielle.Filteau SYNCSORT 2 Thu Mar 09, 2017 3:28 am
No new posts TSO or command line utility to genera... kishpra JCL & VSAM 3 Thu Mar 09, 2017 1:11 am


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