What is use of DMBATCH utility



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

What is use of DMBATCH utility

Postby venkatck » Tue May 13, 2008 5:20 pm

What is use of DMBATCH utility? Why we are going for that?
venkatck
 
Posts: 3
Joined: Tue Jan 29, 2008 12:31 pm
Has thanked: 0 time
Been thanked: 0 time

Re: DMBATCH

Postby MrSpock » Tue May 13, 2008 6:23 pm

You request CONNECT:Direct services in the batch environment through the
Batch Interface program DMBATCH. When you submit a job that contains
the CONNECT:Direct commands as SYSIN input, DMBATCH reads the
input stream and processes the requested functions.
DMBATCH supports all CONNECT:Direct commands.

Your Batch Interface job must meet the following requirements:

- You can't use process statements instream. Use the SUBMIT command with
a pre-existing process that contains the process statements.

- DMBATCH processing of the SUBMIT is asynchronous; the batch job is notified of a
successful SUBMIT, but not whether the COPY itself is executed.

- The first command in the instream must be a SIGNON command.

- Each new CONNECT:Direct command must start on a seperate line. You can
split a command across more than one line using the continuation mark.

Sample job Stream to run the Batch Interface:

//DMBATCH  EXEC PGM=DMBATCH,PARM='YYSLYNN'                 
//STEPLIB  DD   DISP=SHR,DSN=CD.LINKLIB     
//DMPUBLIB DD   DISP=SHR,DSN=CD.PROCESS       
//DMMSGFIL DD   DISP=SHR,DSN=CD.MSG       
//DMNETMAP DD   DISP=SHR,DSN=CD.NETMAP   
//NDMCMDS  DD   SYSOUT=* <= This is optional
//DMPRINT  DD   SYSOUT=*                             
//SYSIN    DD   DATA                                       
  SIGNON USERID=(USERID,PASSWORD)
  SUBMIT PROC=PROCESS MAXDELAY=UNLIMITED                 
  SIGNOFF                                                 
/*                                                         


CONNECT:Direct is a peer-to-peer file-based integration middleware optimized for
assured delivery, high-volume and secure data exchange between enterprises. It moves
files containing any type of data across multiple platforms, multiple file systems, and
different media types.

The major components of CONNECT:Direct OS/390 are:

- Data Transmission Facility (DTF), which executes user commands and processes.

- Application Program Interface (API), which enables user interfaces to communicate
with the DTF.

- User interfaces, such as the Interactive User Interface (IUI), browser end
user interface (EUI), the batch interface (DMBATCH), and the CICS interface.

- Transmission Control Queue (TCQ), which is a VSAM RRDS dataset that stores
processes that are executing, queued for execution, held for retry, or held
for future execution.

The CONNECT:Direct process can include many automation options. Some of the
typical ones are:

- RUN JOB. The RUN JOB statement allows a job to be submitted through the JES
Internal Reader. The job must reside in a dataset that is on the node that will
be executing the statement.

- RUN TASK. The RUN TASK statement allows a user program to be executed on the
specified node. The RUN TASK statement is designed so that the process waits until
the task completes before the next process step executes.

- sUBMIT. The SUBMIT statement allows another process to be submitted to either
node.

For more information, please refer to the following documents:

- CONNECT:Direct OS/390 Administration Guide.
- CONNECT:Direct Process Statements Guide.
- CONNECT:Direct OS/390 User's Guide.

all of which are available for licensed customers online at http://www.stercomm.com, under Customer Support, Support on Demand.
User avatar
MrSpock
Global moderator
 
Posts: 807
Joined: Wed Jun 06, 2007 9:37 pm
Location: Raleigh NC USA
Has thanked: 0 time
Been thanked: 4 times

Re: DMBATCH

Postby venkatck » Tue May 13, 2008 6:26 pm

how the files in the following statement are created?
//DMPUBLIB DD DISP=SHR,DSN=CD.PROCESS
//DMMSGFIL DD DISP=SHR,DSN=CD.MSG
//DMNETMAP DD DISP=SHR,DSN=CD.NETMAP
venkatck
 
Posts: 3
Joined: Tue Jan 29, 2008 12:31 pm
Has thanked: 0 time
Been thanked: 0 time


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post