View previous topic :: View next topic
|
Author |
Message |
Meenakshi Selvaraj
New User
Joined: 30 Oct 2009 Posts: 36 Location: Chennai
|
|
|
|
Hi,
In IDMS Commit we have logic for Auto-restart. For Local mode, how we can restart? |
|
Back to top |
|
|
Chinnadu
New User
Joined: 05 Mar 2009 Posts: 46 Location: Hyderabad
|
|
|
|
Hi Meenakshi,
Confused with your question,,, can you please let us know how the restart logic has been coded ? We can better understand the problem if you let us know this one. |
|
Back to top |
|
|
Meenakshi Selvaraj
New User
Joined: 30 Oct 2009 Posts: 36 Location: Chennai
|
|
|
|
Hi,
In general, an application runs faster when run in local mode, but IDMS/R provides no automatic restart and recovery facilities for local mode applications.
I heard that using journal files, we can restart manually an aborted run unit even applications run in local mode.
I want to confirm the above logic. Kindly let me if we have some other option to acheive the restart logic in Local mode. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
Is this still an issue if the idms environment is to be discontinued?
Have you talked with the idms dba? If not, suggest it is past time. . . |
|
Back to top |
|
|
Chinnadu
New User
Joined: 05 Mar 2009 Posts: 46 Location: Hyderabad
|
|
|
|
Hello,
What dicK said was correct,, in addition to that let me add some comments on IDMS local mode functionality.
If a step is running in local mode,,, there must be some step prior to that local mode step to vary off the areas so that remaining transactions can access the database only in retrieval mode. If the local mode job abends then based on the condition codes you can do rollback using journal files in the immediate step. Below sequence gives you an idea on how to handle thiis kind of request.
STEPX: EXEC PGM=IDMSVARY --------> VARY THE AREAS IN RTRIEVAL MODE
STEPY: EXEC PGM=LOCALMODEPROGRAM
IF STEPY.ABEND=TRUE THEN -------> ROLL BACK STEP
STEPZ EXEC PMG=ROLLBACK PROCESS
END-IF
In setting up STEPX and STEPZ your DBA can help you.
Make sure that once the local mode job is over, you need to put the database online so that remaining transaction can update the database.
In case of abend even after restoring the database using stepz, once again if you want to restart the job you need to restart from stepx not from stepy(This is very very improtant).
let me know if you have any queries. |
|
Back to top |
|
|
|