vineetjoshi01
New User
Joined: 06 Nov 2009 Posts: 14 Location: Singapore
|
|
|
|
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 |
|
Pjoe
New User
Joined: 22 Jul 2005 Posts: 17
|
|
|
|
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 |
|
Meenakshi Selvaraj
New User
Joined: 30 Oct 2009 Posts: 36 Location: Chennai
|
|
|
|
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). |
|