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

MODE IS IDMS-DC statement in IDMS


IBM Mainframe Forums -> IDMS/ADSO
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
vineetjoshi01

New User


Joined: 06 Nov 2009
Posts: 14
Location: Singapore

PostPosted: Fri May 20, 2011 10:02 am
Reply with quote

Hi All,

Could you please help to let me know what the below statement signifies in an IDMS cobol program:

PROTOCOL. MODE IS IDMS-DC DEBUG
IDMS-RECORDS MANUAL.

As per my understanding:
DEBUG signifies that the program will get the DMLC sequence displayed in the logs.
IDMS-RECORDS MANUAL will signify that all the records to be used in the programs will have to be copied in the working storage of the program using COPY IDMS <RECORD-NAME>.
But I am not sure about the MODE IS IDMS-DC, could someone please suggest on this.

Please also suggest how is it different from
MODE IS BATCH-AUTOSTATUS DEBUG

Thanks in advance....
Vineet
Back to top
View user's profile Send private message
Pjoe

New User


Joined: 22 Jul 2005
Posts: 17

PostPosted: Fri May 20, 2011 2:09 pm
Reply with quote

Hello,

Mode is IDMS-DC is used for DC online programs.

DC online programs are generally called from an ADSO dialog or it can be tied to a queue .
For example,

If we have an IDMS system which is communicating to a Unix box through MQ series, we can attach an IDMS-DC program to process the transaction received from unix system.

As you know mode is batch autostatus can be run only in a batch environment.The IDMS-DC program can be called from an ADSO dialog or can be used for activities similar to ATI in CICS

Hope this helps.

- Joe
Back to top
View user's profile Send private message
Meenakshi Selvaraj

New User


Joined: 30 Oct 2009
Posts: 36
Location: Chennai

PostPosted: Tue May 24, 2011 11:38 am
Reply with quote

Hi,

In addition to the above information, see the differences between IDMS-DC and BATCH-AUTOSTATUS below.

IDMS-STATUS is a module stored on the IDMS data dictionary. Use the command DIS ALL MODULE WHERE NAME = IDMS-STATUS to identify all the IDMS-STATUS modules. There will be one for each MODE, such as BATCH-AUTOSTATUS, IDMS-DC, DCBATCH,etc…

Integrated Database Management System - Data Communications. IDMS-DC, often referred to as DC, is a general referring to the functional role of data communications and a TP (teleprocessing) monitor, as opposed to the data base manager (IDMS-DB). The major functions provided by IDMS-DC are: conversational mode, pseudo-conversational mode, transaction mode, scratch files, queue files, log file, UCF, DCMT, run-time statistics and reports, error handling, full screen or line-at-a-time 1/0, program management, memory management and task management. There is one CV for each IDMS-DC environment.

IDMS-DC communications block -- The IDMS-DC communications block is used when the operating mode is either IDMS-DC or DC-BATCH.

IDMS communications block -- The IDMS communications block is used when the operating mode is either BATCH or BATCH-AUTOSTATUS.

Logical-record request control (LRC) block -- The LRC block is used when the subschema usage mode is either LR or MIXED. The LRC block is copied in with either the IDMS communications block (operating mode of BATCH or BATCH-AUTOSTATUS) or the IDMS-DC communications block (operating mode of IDMS-DC or DC-BATCH).
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 HILITE on Browse mode? TSO/ISPF 2
No new posts Calling Java method from batch COBOL ... COBOL Programming 5
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
No new posts Difference when accessing dataset in ... JCL & VSAM 7
No new posts JOIN STATEMENT PERFORMANCE. DFSORT/ICETOOL 12
Search our Forums:

Back to Top