Read R:PM65cmtlit.PDF text version

MacKinney Systems, Inc.

CICS/CEMT from Batch

You can do any of the following from batch JCL:

r r r r r r r r r r r

Submit any CEMT SET command OPEN or CLOSE CICS files automatically Initiate a CICS program or task Send a message to a CICS terminal (interfaces with CICS/MESSAGE) Delay a batch job for X minutes Allocate/Unallocate files (MVS only) OPEN or CLOSE CA/DatacomDB files START or Stop DL1 on line processing Turn DL1 MPS on or off for batch updating Do NEWCOPYs on programs after a production compile Initiate CICS shutdown

How CICS/CEMT can help your shop:

Streamline your operations. Eliminate PAUSE statements asking operators to OPEN/CLOSE CICS files. Cut down on abends from batch jobs trying to update files in use by CICS. Automatically inform users when their files are closed and when they are re-opened. Enable or disable transactions, files, or programs. Minimize the time files are closed to CICS for batch updating.

Telephone: (417) 882-8012

Fax: (417) 882-7569

Email: [email protected]

www.mackinney.com

Sample MVS job stream for CICS/CEMT

In this example, a message is sent to terminal T77A warning them that transaction TRAN will be disabled in 2 minutes. Then the batch job waits for 2 minutes, disables TRAN, closes MASTFIL and TRANFIL and the update program runs. When it finishes, the files are opened, the transaction enabled, and the user is notified. All this takes place with no operator intervention. If CICS is down when the job runs, the commands are automatically bypassed.

//MTPBATCHJOB (ACCT),'NAME',NOTIFY=tsoid,MSGCLASS=X,CLASS=A //STEP01 EXEC PGM=MTPBATCH //STEPLIB DD DSN=your.CMT.loadlib,DISP=SHR //SYSLST DD SYSOUT=* //BATCNTL DD DSN=CEMT.FROM.BATCH.CONTROL,DISP=SHR //BATSTAT DD DSN=CEMT.BATSTAT,DISP=SHR //SYSUDUMP DD SYSOUT=* //SYSIPT DD * MESG T77A TRAN WILL BE DISABLED IN 2 MINUTES WAIT 2 CEMT SET TRANSACTION (TRAN) DISABLED CLOS MASTFIL CLOS TRANFIL MESG T77A TRAN DISABLED FOR NEXT 5 MINUTES /* Invoke user program that rebuilds or // EXEC PGM=USERPROG updates files now closed to CICS. //* //* //STEP02 EXEC PGM=MTPBATCH //STEPLIB DD DSN=your.CMT.loadlib,DISP=SHR //SYSLST DD SYSOUT=* //BATCNTL DD DSN=CEMT.FROM.BATCH.CONTROL,DISP=SHR //BATSTAT DD DSN=CEMT.BATSTAT,DISP=SHR //SYSUDUMP DD SYSOUT=* //SYSIPT DD * OPEN MASTFIL OPEN TRANFIL CEMT SET TRANSACTION (TRAN) ENABLED MESG T77A YOU MAY USE TRAN NOW /*

Other features of CICS/CEMT

r Return codes may be set when a command can not be processed by CICS so subsequent steps can automatically be bypassed. r Commands may be sent to all CICS systems or a single CICS system. r Up to 99 CICS systems may be defined to CICS/CEMT. r Multiple CPU support. r Any non-zero return codes from DFHEMTA (the internal processor for CEMT commands) are displayed on the console with the appropriate error message for operator response. r File groups (lists) may be defined so a group of files can be opened or closed with a single command. r CICS files can be changed to OPEN for INQUIRY ONLY allowing batch jobs to update the files while CICS users can still do look up functions. r Online Command Processor allows commands to be entered on a CICS screen. r An audit trail is printed (sent to CSMT Transient Data Queue) for each command pro cessed. Commands also display on the console and print on the system printer. These audit trails can be turned off. r A user task can be initiated and data passed to it via either a START or LINK command. r Command level assembler source code is provided. r The MESG command will automatically attempt to use our CICS/MESSAGE product. If CICS/MESSAGE is not installed, CICS/CEMT from Batch will use the program shipped with CICS/CEMT (MTPMESG). This is a rudimentary program which overlays 60 bytes on the top or bottom line of the user's screen with the message. Messages can be sent to one terminal at a time and from MTPBATCH only.

Telephone: (417) 882-8012

Fax: (417) 882-7569

Email: [email protected]

www.mackinney.com

Additional MVS features

r Files may be Allocated or Unallocated from a batch job stream. r Groups of files can be allocated or unallocated with a single command.

Online Command Processor

CICS/CEMT from Batch commands can also be executed from a CICS screen using its Online Command Processor.

MTPMOCP CICS/CEMT From Batch Online Command Processor

Enter a command on the following input line. It must begin in column 1. CLOS @ACCTLST -------------------------------------------------------+----1-----+----2----+----3----+----4----+----5----+----6----+----7----+----8 CICS/CEMT From Batch commands which can be executed from this screen: OPEN CLOS ENAB INQY UPDT CEMT SET LINK STAR DBLC ALOC (MVS only) UNAL (MVS only) Enter-Process the command PF1-Help PF3-End Commands must begin in column one. Pressing Enter processes the command. Feedback is given on this screen to indicate whether or not the command was successful. Available online commands are listed on the screen.

CICS/CEMT requires CICS release 1.7 or higher. It runs on VSE, MVS, and VM. All CICS releases after 1.7 are supported. Installation takes less than one hour. Over 2800 satisfied users have simplified their operations and avoided unnecessary delays by using CICS/CEMT. Additional products offered by MacKinney Systems to work with CICS/CEMT are listed on the next page. For more information on these or any other products and a FREE 30 day trial, please give us a call.

Telephone: (417) 882-8012

Fax: (417) 882-7569

Email: [email protected]

www.mackinney.com

Two additonal products from MacKinney Systems

CICS/CEMT from Batch File Status Tracking

Preserves file status across CICS shutdowns and startups

Problem

CICS is started while a batch job stream is running which requires files that CICS uses. CICS opens the files and the next step in the batch job tries to open one of the files and abends.

Solution

CICS/CEMT from Batch File Status Tracking keeps track of each command processed through the batch component of CICS/CEMT from Batch, even if CICS is down. When CICS is brought up, it resets each file to its correct status. Your batch jobs finish processing, then CICS/CEMT from Batch opens the files for CICS. If a CICS shutdown occurs while files are in a modified state due to commands issued through MTPBATCH, File Status Tracking ensures that the status of each file is the same at the next CICS start-up. It also restores the status of transactions, etc. that have been enabled or disabled by CICS/CEMT from Batch. Even if CICS is down when CICS/CEMT from Batch attempts to change the status of a CICS file or transaction, File Status Tracking will keep track of the attempted change and ensure that the status is preserved if CICS is brought up before CICS/ CEMT attempts to change the status back.

CICS/MESSAGE

will do the following: r Display your message, wait for a response, and restore your screen, COMMAREA, and next-tranid. r Send messages from a terminal, operator console, and application program, or the CICS/CEMT from Batch product. r Send messages to a terminal (by terminal id or netname) or a terminal operator (OPID or USERID), a generic group of terminals or operators, a user defined list of terminals and/or operators, the operator console, or all terminals.

Technical requirements

One new file and one new program must be installed. The file stores the latest commands issued by CICS/CEMT from Batch and the new program ensures the files are correctly set when CICS is brought up.

Call for more information or a free 30 day trial on these or any MacKinney Systems' product. Telephone: (417) 882-8012 FaxFax: (417) 882-7569 EEmail: [email protected] Wwww.mackinney.com

Information

R:PM65cmtlit.PDF

4 pages

Report File (DMCA)

Our content is added by our users. We aim to remove reported files within 1 working day. Please use this link to notify us:

Report this file as copyright or inappropriate

665104


You might also be interested in

BETA
Apple Qmaster 3 and Compressor 3 Distributed Processing Setup
Advanced Bash-Scripting Guide
A Short Course in Photoshop Elements 2.0
AVB511 Manual
SQR User's Guide, version 4.3.2