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

IDMS - commit logic


IBM Mainframe Forums -> IDMS/ADSO
Post new topic   Reply to topic
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
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: 46
Location: Hyderabad

PostPosted: Wed Nov 04, 2009 9:07 am
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
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

Moderator Emeritus


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

PostPosted: Wed Nov 04, 2009 9:44 am
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: 46
Location: Hyderabad

PostPosted: Wed Nov 04, 2009 11:58 am
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> IDMS/ADSO

 


Similar Topics
Topic Forum Replies
No new posts Finding faulty logic Subscript out of... COBOL Programming 5
This topic is locked: you cannot edit posts or make replies. Need assistance in job scheduling logic. Mainframe Interview Questions 2
No new posts Rexx Logic error while adding seperat... CLIST & REXX 3
No new posts PL/1 Callback address logic in z/OS C... PL/I & Assembler 1
No new posts Sync logic between VSAM files and DB2... COBOL Programming 9
Search our Forums:

Back to Top