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
 
IDMS - commit logic

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IDMS/ADSO
View previous topic :: :: View next topic  
Author Message
Meenakshi Selvaraj

New User


Joined: 30 Oct 2009
Posts: 36
Location: Chennai

PostPosted: Tue Nov 03, 2009 6:26 pm    Post subject: IDMS - commit logic
Reply with quote

Hi,

In IDMS Commit we have logic for Auto-restart. For Local mode, how we can restart?
Back to top
View user's profile Send private message

Chinnadu

New User


Joined: 05 Mar 2009
Posts: 42
Location: Hyderabad

PostPosted: Wed Nov 04, 2009 9:07 am    Post subject: Reply to: IDMS - commit logic
Reply with quote

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
View user's profile Send private message
Meenakshi Selvaraj

New User


Joined: 30 Oct 2009
Posts: 36
Location: Chennai

PostPosted: Wed Nov 04, 2009 9:37 am    Post subject: Reply to: IDMS - commit logic
Reply with quote

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
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Wed Nov 04, 2009 9:44 am    Post subject:
Reply with quote

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
View user's profile Send private message
Chinnadu

New User


Joined: 05 Mar 2009
Posts: 42
Location: Hyderabad

PostPosted: Wed Nov 04, 2009 11:58 am    Post subject: Reply to: IDMS - commit logic
Reply with quote

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
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 IDMS DC027007 T58 TASK:ADS2 PROG:ADSO... gpowell382 IDMS/ADSO 2 Fri Jun 30, 2017 11:52 pm
No new posts Need help in building a logic Benchwarmer All Other Mainframe Topics 4 Wed Feb 22, 2017 2:49 am
No new posts IDMS/DC-COBOL program - SNAP error wh... rakeshsekar1987 IDMS/ADSO 5 Tue Sep 13, 2016 8:28 pm
No new posts Wildcard logic in COBOL dudenithy COBOL Programming 13 Thu Sep 01, 2016 7:36 pm
No new posts ADS 3270 Batch simulator for IDMS rel... gpowell382 IDMS/ADSO 1 Thu May 05, 2016 8:02 pm

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